From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84500 invoked by alias); 7 Aug 2015 17:16:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 84455 invoked by uid 48); 7 Aug 2015 17:16:09 -0000 From: "danglin at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug ports/18787] New: sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error:=?UTF-8?Q?=20can=E2=80=99t=20find=20a=20register=20in=20class=20=E2=80=98R1=5FREGS=E2=80=99=20while=20reloading=20=E2=80=98asm=E2=80=99?= Date: Fri, 07 Aug 2015 17:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: ports X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00228.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D18787 Bug ID: 18787 Summary: sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: can=E2=80=99t find a register in class =E2=80=98= R1_REGS=E2=80=99 while reloading =E2=80=98asm=E2=80=99 Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ports Assignee: unassigned at sourceware dot org Reporter: danglin at gcc dot gnu.org CC: carlos at redhat dot com, roland at gnu dot org Target Milestone: --- Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu hppa-linux-gnu-gcc-4.8 gethstbyad.c -c -std=3Dgnu99 -fgnu89-inline -O2 -Wa= ll -Wer ror -Wno-error=3Dundef -Wundef -Wwrite-strings -fmerge-all-constants -frounding-ma th -g -Wstrict-prototypes -fPIC -fexceptions -ftls-model=3Dinitial-exec= =20=20=20=20=20 -I ../include -I/home/dave/gnu/glibc/objdir1/inet -I/home/dave/gnu/glibc/objd= ir1=20=20 -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/hppa/nptl=20 -I../sysdeps/unix/sys v/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl=20 -I../sysdeps/pt hread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv=20 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/hppa/hppa1.1=20 -I../sysdeps/wordsize -32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64=20 -I../sysdeps/hppa /fpu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../l ibio -I. -nostdinc -isystem /usr/lib/gcc/hppa-linux-gnu/4.8/include -isystem /us r/lib/gcc/hppa-linux-gnu/4.8/include-fixed -isystem /usr/include=20 -D_LIBC_REENTR ANT -include /home/dave/gnu/glibc/objdir1/libc-modules.h -DMODULE_NAME=3Dli= bc -inc lude ../include/libc-symbols.h -DPIC -DSHARED -o /home/dave/gnu/glibc/objdir1/inet/gethstbyad.os -MD -MP -MF /home/dave/gnu/glibc/objdir1/inet/gethstbyad.o s.dt -MT /home/dave/gnu/glibc/objdir1/inet/gethstbyad.os In file included from ../include/sys/cdefs.h:3:0, from ../include/features.h:365, from ../resolv/netdb.h:25, from ../include/netdb.h:2, from gethstbyad.c:19: ../nss/getXXbyYY.c: In function =E2=80=98gethostbyaddr=E2=80=99: ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: can=E2=80=99t fi= nd a register in class =E2=80=98R1_REGS=E2=80=99 while reloading =E2=80=98asm=E2= =80=99 asm volatile( \ ^ ../misc/sys/cdefs.h:385:52: note: in definition of macro =E2=80=98__glibc_u= nlikely=E2=80=99 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) ^ ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:100:12: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_val_acq=E2=80=99 ret =3D atomic_compare_and_exchange_val_acq(mem, newval, oldval); \ ^ ../sysdeps/nptl/lowlevellock.h:94:11: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_bool_acq=E2=80=99 (atomic_compare_and_exchange_bool_acq (__futex, 1, 0))) \ ^ ../sysdeps/nptl/lowlevellock.h:103:3: note: in expansion of macro =E2=80=98= __lll_lock=E2=80=99 __lll_lock (&(futex), private) ^ ../sysdeps/nptl/bits/libc-lockP.h:176:6: note: in expansion of macro =E2=80= =98lll_lock=E2=80=99 ({ lll_lock (NAME, LLL_PRIVATE); 0; }) ^ ../nss/getXXbyYY.c:97:3: note: in expansion of macro =E2=80=98__libc_lock_l= ock=E2=80=99 __libc_lock_lock (lock); ^ In file included from ../include/atomic.h:50:0, from ../sysdeps/nptl/lowlevellock.h:22, from ../nptl/descr.h:30, from ../sysdeps/hppa/nptl/tls.h:57, from ../include/link.h:45, 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: ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: can=E2=80=99t fi= nd a register in class =E2=80=98R1_REGS=E2=80=99 while reloading =E2=80=98asm=E2= =80=99 asm volatile( \ ^ ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:100:12: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_val_acq=E2=80=99 ret =3D atomic_compare_and_exchange_val_acq(mem, newval, oldval); \ ^ ../include/atomic.h:189:7: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_bool_acq=E2=80=99 (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ ^ ../include/atomic.h:196:45: note: in expansion of macro =E2=80=98atomic_exc= hange_acq=E2=80=99 # define atomic_exchange_rel(mem, newvalue) atomic_exchange_acq (mem, newvalue) ^ ../sysdeps/nptl/lowlevellock.h:199:21: note: in expansion of macro =E2=80=98atomic_exchange_rel=E2=80=99 int __oldval =3D atomic_exchange_rel (__futex, 0); \ ^ ../sysdeps/nptl/lowlevellock.h:204:3: note: in expansion of macro =E2=80=98__lll_unlock=E2=80=99 __lll_unlock (&(futex), private) ^ ../sysdeps/nptl/bits/libc-lockP.h:210:3: note: in expansion of macro =E2=80=98lll_unlock=E2=80=99 lll_unlock (NAME, LLL_PRIVATE) ^ ../nss/getXXbyYY.c:144:3: note: in expansion of macro =E2=80=98__libc_lock_= unlock=E2=80=99 __libc_lock_unlock (lock); ^ In file included from ../include/sys/cdefs.h:3:0, from ../include/features.h:365, from ../resolv/netdb.h:25, from ../include/netdb.h:2, from gethstbyad.c:19: ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: =E2=80=98asm=E2= =80=99 operand has impossible constraints asm volatile( \ ^ ../misc/sys/cdefs.h:385:52: note: in definition of macro =E2=80=98__glibc_u= nlikely=E2=80=99 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) ^ ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:100:12: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_val_acq=E2=80=99 ret =3D atomic_compare_and_exchange_val_acq(mem, newval, oldval); \ ^ ../sysdeps/nptl/lowlevellock.h:94:11: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_bool_acq=E2=80=99 (atomic_compare_and_exchange_bool_acq (__futex, 1, 0))) \ ^ ../sysdeps/nptl/lowlevellock.h:103:3: note: in expansion of macro =E2=80=98= __lll_lock=E2=80=99 __lll_lock (&(futex), private) ^ ../sysdeps/nptl/bits/libc-lockP.h:176:6: note: in expansion of macro =E2=80= =98lll_lock=E2=80=99 ({ lll_lock (NAME, LLL_PRIVATE); 0; }) ^ ../nss/getXXbyYY.c:97:3: note: in expansion of macro =E2=80=98__libc_lock_l= ock=E2=80=99 __libc_lock_lock (lock); ^ In file included from ../include/atomic.h:50:0, from ../sysdeps/nptl/lowlevellock.h:22, from ../nptl/descr.h:30, from ../sysdeps/hppa/nptl/tls.h:57, from ../include/link.h:45, 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: ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6: error: =E2=80=98asm=E2= =80=99 operand has impossible constraints asm volatile( \ ^ ../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:100:12: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_val_acq=E2=80=99 ret =3D atomic_compare_and_exchange_val_acq(mem, newval, oldval); \ ^ ../include/atomic.h:189:7: note: in expansion of macro =E2=80=98atomic_compare_and_exchange_bool_acq=E2=80=99 (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \ ^ ../include/atomic.h:196:45: note: in expansion of macro =E2=80=98atomic_exc= hange_acq=E2=80=99 # define atomic_exchange_rel(mem, newvalue) atomic_exchange_acq (mem, newvalue) ^ ../sysdeps/nptl/lowlevellock.h:199:21: note: in expansion of macro =E2=80=98atomic_exchange_rel=E2=80=99 int __oldval =3D atomic_exchange_rel (__futex, 0); \ ^ ../sysdeps/nptl/lowlevellock.h:204:3: note: in expansion of macro =E2=80=98__lll_unlock=E2=80=99 __lll_unlock (&(futex), private) ^ ../sysdeps/nptl/bits/libc-lockP.h:210:3: note: in expansion of macro =E2=80=98lll_unlock=E2=80=99 lll_unlock (NAME, LLL_PRIVATE) ^ ../nss/getXXbyYY.c:144:3: note: in expansion of macro =E2=80=98__libc_lock_= unlock=E2=80=99 __libc_lock_unlock (lock); ^ ../o-iterator.mk:9: recipe for target '/home/dave/gnu/glibc/objdir1/inet/gethstbyad.os' failed make[2]: *** [/home/dave/gnu/glibc/objdir1/inet/gethstbyad.os] Error 1 make[2]: Leaving directory '/home/dave/gnu/glibc/glibc/inet' Makefile:213: recipe for target 'inet/subdir_lib' failed make[1]: *** [inet/subdir_lib] Error 2 make[1]: Leaving directory '/home/dave/gnu/glibc/glibc' Makefile:9: recipe for target 'all' failed make: *** [all] Error 2 The asm clobbers register %r1. When generating PIC code, register %r1 is needed to reload an operand from static memory. The operand needs to be copied first to a register as is done on arm. --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-29189-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Aug 07 17:54:13 2015 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 81931 invoked by alias); 7 Aug 2015 17:54:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 81265 invoked by uid 48); 7 Aug 2015 17:54:09 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/18674] [i386] trunk/sysdeps/i386/tst-auditmod3b.c:84: possible missing break ? Date: Fri, 07 Aug 2015 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc component cf_gcchost short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00229.txt.bz2 Content-length: 912 https://sourceware.org/bugzilla/show_bug.cgi?id=18674 Joseph Myers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |drepper.fsp at gmail dot com Component|ports |libc Host| |i?86-*-* Summary|trunk/sysdeps/i386/tst-audi |[i386] |tmod3b.c:84: possible |trunk/sysdeps/i386/tst-audi |missing break ? |tmod3b.c:84: possible | |missing break ? --- Comment #1 from Joseph Myers --- The ports component is obsolete and only for closed bugs, not new ones. -- You are receiving this mail because: You are on the CC list for the bug.