Summary: | cannot build glibc-2.3.4.20050125-r1 w/-fPIC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jairo O. Pineros <pinerosj> |
Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | luke, me, stian, x11term |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jairo O. Pineros
2005-03-19 18:17:22 UTC
This is a more complete log of where the build bombs: ________________________________________________________________________ i386-pc-linux-gnu-gcc localealias.c -c -std=gnu99 -O2 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -finline-limit=2000 -march=athlon-xp -pipe -mpreferred-stack-boundary=2 -fPIC -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/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/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-lib/i386-pc-linux-gnu/3.3.4/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -D'LOCALEDIR="/usr/share/locale"' -D'LOCALE_ALIAS_PATH="/usr/share/locale"' -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/localealias.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/localealias.os.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/localealias.os loadmsgcat.c: In function `_nl_init_domain_conv': ../sysdeps/i386/bits/string.h:655: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[2]: *** [/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/loadmsgcat.os] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4/intl' make[1]: *** [intl/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.4.20050125-r1 failed. !!! Function toolchain-glibc_src_compile, Line 234, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. take the -fPIC crap out of your CFLAGS and it should work just fine I removed -fPIC from CFLAGS, but still no compile. 1111338666: Started emerge on: Mar 20, 2005 09:11:06 1111338666: *** emerge --ask --verbose --deep --update world 1111338682: >>> emerge (1 of 9) sys-libs/glibc-2.3.4.20050125-r1 to / 1111338682: === (1 of 9) Cleaning (sys-libs/glibc-2.3.4.20050125-r1::/usr/portage/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuil d) 1111338695: === (1 of 9) Compiling/Merging (sys-libs/glibc-2.3.4.20050125-r1::/usr/portage/sys-libs/glibc/glibc-2.3.4.20050125 -r1.ebuild) 1111339120: *** terminating. emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 07:04:19)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/ ftp://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d alsa apm arts avi berkdb bitmap-fonts bootsplash bzlib cdr crypt cups curl dvd emboss encode esd fam font-server foomaticdb fortran gdbm gif gnome gpm gssapi gstreamer gtk gtk2 imlib ipv6 jpeg kde kerberos libg++ libwww mad mikmod motif mp3mpeg ncurses nls nptl oggvorbis opengl oss pam pcmcia pdflib perl png python qt qtk quicktime readline real samba sdl shared slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb x86 xml2 xmms xprint xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY ok i'm not going to bother with this one ... you have your CHOST set to i386-* but your CFLAGS imply a i686+ requirement ... that's just bound to break badly *** Bug 86027 has been marked as a duplicate of this bug. *** You are correct I did change CHOST, I was trying different things. I did change CHOST to i686-pc-linux-gnu and compiled glibc ONLY, and it worked. grep CHOST make.conf CHOST="i386-pc-linux-gnu" # CHOST="i686-pc-linux-gnu" I changed it back and now, and I am compiling 8 other programs to bring the system to the latest. Thanks *** Bug 86324 has been marked as a duplicate of this bug. *** *** Bug 137229 has been marked as a duplicate of this bug. *** *** Bug 157495 has been marked as a duplicate of this bug. *** *** Bug 437252 has been marked as a duplicate of this bug. *** |