sys-libs/glibc-2.3.4.20041102 -build -debug +erandom -hardened (-multilib)* +nls -nomalloccheck +nptl +nptlonly +pic +userlocales gcc version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7) Reproducible: Always Steps to Reproduce: 1. emerge glibc Actual Results: x86_64-pc-linux-gnu-gcc gconv_dl.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fPIC -freorder-blocks -march=athlon64-pipe -mpreferred-stack-boundary=2 -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-nptl/iconv -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-nptl/iconv/gconv_dl.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-nptl/iconv/gconv_dl.o.dt -MT /var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-nptl/iconv/gconv_dl.o gconv_cache.c: In function `__gconv_load_cache': gconv_cache.c:75: error: invalid `asm': operand number out of range gconv_cache.c:75: error: invalid `asm': operand number out of range gconv_cache.c:112: error: invalid `asm': operand number out of range gconv_cache.c:112: error: invalid `asm': operand number out of range {standard input}: Assembler messages: {standard input}:100: Error: non-constant expression in ".if" statement {standard input}:131: Error: non-constant expression in ".if" statement make[2]: *** [/var/tmp/portage/glibc-2.3.4.20041102/work/build-x86-i686-pc-linux-gnu-nptl/iconv/gconv_cache.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3/iconv' make[1]: *** [iconv/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.4.20041102 failed. !!! Function src_compile, Line 736, Exitcode 2 Portage 2.0.51-r14 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck4 x86_64) ================================================================= System uname: 2.6.10-ck4 x86_64 AMD Athlon(tm) 64 Processor 4000+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4,dev-lang/python-2.4 [2.4 (#1, Dec 21 2004, 21:22:23)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4, 2.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r2, 1.6.3, 1.4_p6, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2, 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon64 -pipe -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks moo sandbox" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://gentoo.risq.qc.ca/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage"
*** This bug has been marked as a duplicate of 78666 ***
Happens with 3.4.3-r1, too. Is that version crashy too?
do you have a good reason for the -fPIC in your CFLAGS ?
Yes, please don't put -fPIC in your cflags. if there is a package that's broken(not any that I know of), then file a bug and we'll fix it. feel free to reopen if removing -fPIC doesn't help.
I had -fPIC in CFLAGS because i wanted to see if it affects 78720 and forgot to remove it. Compiling glibc 2.3.4.20041102 works without it. My fault. Sorry for the inconvenience.