When upgrading a crossdev HPPA toolchain from glibc-2.19 to glibc-2.19-r1, the following error occur : # emerge -uva1t =cross-hppa-unknown-linux-gnu/glibc-2.19-r1 (..) [ebuild U ] cross-hppa-unknown-linux-gnu/glibc-2.19-r1:2.2::x-portage [2.19:2.2::x-portage] USE="-debug -gd -hardened -multilib -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 kB (..) hppa-unknown-linux-gnu-gcc gethstbyad.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -pipe -Wstrict-prototypes -fPIC -fexceptions -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl/inet -I/var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl -I../ports/sysdeps/unix/sysv/linux/hppa/nptl -I../ports/sysdeps/unix/sysv/linux/hppa -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../ports/sysdeps/hppa/fpu -I../ports/sysdeps/hppa/nptl -I../ports/sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/hppa-unknown-linux-gnu/4.8.3/include -isystem /usr/lib/gcc/hppa-unknown-linux-gnu/4.8.3/include-fixed -isystem /usr/hppa-unknown-linux-gnu/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -o /var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl/inet/gethstbyad.os -MD -MP -MF /var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl/inet/gethstbyad.os.dt -MT /var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl/inet/gethstbyad.os In file included from ../include/atomic.h:50:0, from ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:25, from ../nptl/descr.h:30, from ../ports/sysdeps/hppa/nptl/tls.h:56, 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': ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: can't find a register in class 'R1_REGS' while reloading 'asm' asm volatile( \ ^ ^ ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:219:13: note: in expansion of macro 'atomic_compare_and_exchange_val_acq' int val = atomic_compare_and_exchange_val_acq (futex, 1, 0); ^ ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: can't find a register in class 'R1_REGS' while reloading 'asm' asm volatile( \ ^ ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:97:12: note: in expansion of macro 'atomic_compare_and_exchange_val_acq' ret = atomic_compare_and_exchange_val_acq(mem, newval, oldval); \ ^ ../include/atomic.h:189:7: note: in expansion of macro 'atomic_compare_and_exchange_bool_acq' (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ ^ ../include/atomic.h:196:45: note: in expansion of macro 'atomic_exchange_acq' # define atomic_exchange_rel(mem, newvalue) atomic_exchange_acq (mem, newvalue) ^ ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:293:16: note: in expansion of macro 'atomic_exchange_rel' ({ int val = atomic_exchange_rel (futex, 0); \ ^ ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:297:36: note: in expansion of macro '__lll_unlock' #define lll_unlock(futex, private) __lll_unlock(&(futex), private) ^ ../nptl/sysdeps/pthread/bits/libc-lockP.h:203:3: note: in expansion of macro 'lll_unlock' lll_unlock (NAME, LLL_PRIVATE) ^ ../nss/getXXbyYY.c:144:3: note: in expansion of macro '__libc_lock_unlock' __libc_lock_unlock (lock); ^ ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: 'asm' operand has impossible constraints asm volatile( \ ^ ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:219:13: note: in expansion of macro 'atomic_compare_and_exchange_val_acq' int val = atomic_compare_and_exchange_val_acq (futex, 1, 0); ^ ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: 'asm' operand has impossible constraints asm volatile( \ ^ ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:97:12: note: in expansion of macro 'atomic_compare_and_exchange_val_acq' ret = atomic_compare_and_exchange_val_acq(mem, newval, oldval); \ ^ ../include/atomic.h:189:7: note: in expansion of macro 'atomic_compare_and_exchange_bool_acq' (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ ^ ../include/atomic.h:196:45: note: in expansion of macro 'atomic_exchange_acq' # define atomic_exchange_rel(mem, newvalue) atomic_exchange_acq (mem, newvalue) ^ ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:293:16: note: in expansion of macro 'atomic_exchange_rel' ({ int val = atomic_exchange_rel (futex, 0); \ ^ ../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:297:36: note: in expansion of macro '__lll_unlock' #define lll_unlock(futex, private) __lll_unlock(&(futex), private) ^ ../nptl/sysdeps/pthread/bits/libc-lockP.h:203:3: note: in expansion of macro 'lll_unlock' lll_unlock (NAME, LLL_PRIVATE) ^ ../nss/getXXbyYY.c:144:3: note: in expansion of macro '__libc_lock_unlock' __libc_lock_unlock (lock); ^ ../o-iterator.mk:9: recipe for target '/var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl/inet/gethstbyad.os' failed make[2]: *** [/var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/build-default-hppa-unknown-linux-gnu-nptl/inet/gethstbyad.os] Error 1 make[2]: Leaving directory '/var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/glibc-2.19/inet' Makefile:214: recipe for target 'inet/subdir_lib' failed make[1]: *** [inet/subdir_lib] Error 2 make[1]: Leaving directory '/var/tmp/portage/cross-hppa-unknown-linux-gnu/glibc-2.19-r1/work/glibc-2.19' Makefile:9: recipe for target 'all' failed make: *** [all] Error 2 emake failed Full log attached and emerge --info Reproducible: Always
Created attachment 379250 [details] build.log.xz
Created attachment 379252 [details] emerge --info
should be fixed in latest 2.19-r1 patchset
(In reply to SpanKY from comment #3) > should be fixed in latest 2.19-r1 patchset ACK. Thanks