This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

question about hppa - parisc support


Hi libc hackers,

is there any special thing todo, to build a parisc toolchain?
Tried Linux 3.19, gcc 4.9.2 and binutils 2.25, but it fails with glibc
2.20/2.21/git.

Error for 2.21:
/home/wbx/hppa/toolchain_toolchain-hppa_glibc_hppa/usr/bin/hppa-openadk-linux-gnu-gcc
vfwscanf.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Werror -Wi
nline -Wno-error=undef -Wundef -Wwrite-strings -fhonour-copts
-fmerge-all-constants -fno-asynchronous-unwind-tables -fno-ident
-fno-unwind-tables -f
rounding-math -fwrapv -g3 -pipe -Wstrict-prototypes
-fomit-frame-pointer -fPIC -fexceptions       -I../include
-I/home/wbx/hppa/toolchain_build_too
lchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-2.21-final/stdio-common
-I/home/wbx/hppa/toolchain_build_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc
-2.21-final  -I../sysdeps/unix/sysv/linux/hppa
-I../sysdeps/hppa/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysd
eps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu
-I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix
-I../sysdeps/posix  -I../sysdep
s/hppa/hppa1.1  -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754/dbl-64
-I../sysdeps/hppa/fpu  -I../sysdeps/hppa  -I../s
ysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc
-isystem
/home/wbx/hppa/toolchain_toolchain-hppa_glibc_hppa/usr/lib/gcc/hppa-ope
nadk-linux-gnu/4.9.2/include -isystem
/home/wbx/hppa/toolchain_toolchain-hppa_glibc_hppa/usr/lib/gcc/hppa-openadk-linux-gnu/4.9.2/include-fixed
-isy
stem /home/wbx/hppa/target_toolchain-hppa_glibc_hppa/usr/include
-D_LIBC_REENTRANT -include
/home/wbx/hppa/toolchain_build_toolchain-hppa_glibc_hpp
a/w-glibc-2.21-1/glibc-2.21-final/libc-modules.h -DMODULE_NAME=libc
-include ../include/libc-symbols.h  -DPIC -DSHARED
-D_IO_MTSAFE_IO -o /home/
wbx/hppa/toolchain_build_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-2.21-final/stdio-common/vfwscanf.os
-MD -MP -MF /home/wbx/hppa/toolchain_bui
ld_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-2.21-final/stdio-common/vfwscanf.os.dt
-MT /home/wbx/hppa/toolchain_build_toolchain-hppa_glibc_hpp
a/w-glibc-2.21-1/glibc-2.21-final/stdio-common/vfwscanf.os
In file included from ../stdlib/stdlib.h:492:0,
                 from ../include/stdlib.h:10,
                 from ../include/atomic.h:48,
                 from
../sysdeps/unix/sysv/linux/hppa/lowlevellock.h:25,
                 from ../nptl/descr.h:30,
                 from ../sysdeps/hppa/nptl/tls.h:57,
                 from ../include/errno.h:27,
                 from vfscanf.c:19,
                 from vfwscanf.c:2:
vfscanf.c: In function '_IO_vfwscanf':
../include/alloca.h:40:23: error: initialization from incompatible
pointer type [-Werror]
         char *__buf = (buf);          \
                       ^
vfscanf.c:296:24: note: in expansion of macro 'extend_alloca'
        wp = (CHAR_T *) extend_alloca (wp, s, newsize);      \
                        ^
vfscanf.c:1377:8: note: in expansion of macro 'ADDW'
        ADDW (c);
        ^
../include/alloca.h:40:23: error: initialization from incompatible
pointer type [-Werror]
         char *__buf = (buf);          \

Complete log with toolchain components:
http://www.openadk.org/hppa/make.log

Anything I can do?
The error for git is another one.

The README says, not possible without patches, but where can I find
these patches?

best regards
 Waldemar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]