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]

Re: question about hppa - parisc support


Hi Mike,
Mike Frysinger wrote,

> On 15 Feb 2015 09:32, Waldemar Brodkorb wrote:
> > is there any special thing todo, to build a parisc toolchain?
> 
> you should always build with --disable-werror.  the error you show below has 
> been fixed in git (see ba7d2c543f7d69883ece7eab39bf6c5cd5dc3081), but is a 
> harmless warning otherwise.

Thanks, I have added --disable-werror, but 2.21 and git still
failing here:
/home/wbx/hppa/toolchain_toolchain-hppa_glibc_hppa/usr/bin/hppa-openadk-linux-gnu-gcc
gethstbynm.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline
-Wundef
 -Wwrite-strings -fhonour-copts -fmerge-all-constants
-fno-asynchronous-unwind-tables -fno-ident -fno-unwind-tables
-frounding-math -fwrapv -g3 -pipe -Wstr
ict-prototypes  -fomit-frame-pointer -fPIC -fexceptions
-I../include
-I/home/wbx/hppa/toolchain_build_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-
2.21-final/inet
-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../sysdep
s/hppa/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl
-I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/uni
x/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix
-I../sysdeps/posix  -I../sysdeps/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../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I.
-nostdinc -isystem /ho
me/wbx/hppa/toolchain_toolchain-hppa_glibc_hppa/usr/lib/gcc/hppa-openadk-linux-gnu/4.9.2/include
-isystem /home/wbx/hppa/toolchain_toolchain-hppa_glibc_hpp
a/usr/lib/gcc/hppa-openadk-linux-gnu/4.9.2/include-fixed -isystem
/home/wbx/hppa/target_toolchain-hppa_glibc_hppa/usr/include
-D_LIBC_REENTRANT -include /
home/wbx/hppa/toolchain_build_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-2.21-final/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.
h  -DPIC -DSHARED     -o
/home/wbx/hppa/toolchain_build_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-2.21-final/inet/gethstbynm.os
-MD -MP -MF /home/wbx/
hppa/toolchain_build_toolchain-hppa_glibc_hppa/w-glibc-2.21-1/glibc-2.21-final/inet/gethstbynm.os.dt
-MT /home/wbx/hppa/toolchain_build_toolchain-hppa_glib
c_hppa/w-glibc-2.21-1/glibc-2.21-final/inet/gethstbynm.os
In file included from ../include/atomic.h:50:0,
                 from
../sysdeps/unix/sysv/linux/hppa/lowlevellock.h:25,
                 from ../nptl/descr.h:30,
                 from ../sysdeps/hppa/nptl/tls.h:57,
                 from ../include/link.h:44,
                 from ../include/dlfcn.h:4,
                 from ../nss/nsswitch.h:28,
                 from ../include/nsswitch.h:1,
                 from ../inet/netgroup.h:22,
                 from ../include/netdb.h:193,
                 from gethstbyad.c:19:
../nss/getXXbyYY.c: In function 'gethostbyaddr':
../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: can't
find a register in class 'R1_REGS' while reloading 'asm'
      asm volatile(       \
      ^
../sysdeps/unix/sysv/linux/hppa/lowlevellock.h:209:13: note: in
expansion of macro 'atomic_compare_and_exchange_val_acq'
   int val = atomic_compare_and_exchange_val_acq (futex, 1, 0);
             ^
../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: can't
find a register in class 'R1_REGS' while reloading 'asm'
      asm volatile(       \
      ^
../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:100:12: note: in
expansion of macro 'atomic_compare_and_exchange_val_acq'
      ret = atomic_compare_and_exchange_val_acq(mem, newval,
oldval); \

But may be I should switch to libc-help, have read the description
to the mailinglists and recognized build errors are not belonging ti
libc-alpha.

best regards
 Waldemar


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