On 05:59 Fri 03 Mar , Cl?udio Henrique wrote: > hi, there, > > I am trying to emerge -e system, but glibc does not want to emerge. > > here is the error output: > > (echo '#include <sysdep-cancel.h>'; \ > echo 'PSEUDO (__libc_pause, pause, 0)'; \ > echo ' ret'; \ > echo 'PSEUDO_END(__libc_pause)'; \ > echo 'libc_hidden_def (__libc_pause)'; \ > echo 'weak_alias (__libc_pause, pause)'; \ > echo 'libc_hidden_weak (pause)'; \ > ) | i686-pc-linux-gnu-gcc -c -I../include -I. > -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix > -I.. -I../libio -I../nptl > -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-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/i686-pc-linux-gnu/3.4.5/include -isystem /usr/include > -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h > -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -Wa,--noexecstack -x > assembler-with-cpp -o > /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/pause.o > - > .././scripts/mkinstalldirs > /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix > (echo '#include <sysdep-cancel.h>'; \ > echo 'PSEUDO (__libc_nanosleep, nanosleep, 2)'; \ > echo ' ret'; \ > echo 'PSEUDO_END(__libc_nanosleep)'; \ > echo 'libc_hidden_def (__libc_nanosleep)'; \ > echo 'weak_alias (__libc_nanosleep, __nanosleep)'; \ > echo 'libc_hidden_weak (__nanosleep)'; \ > echo 'weak_alias (__libc_nanosleep, nanosleep)'; \ > echo 'libc_hidden_weak (nanosleep)'; \ > ) | i686-pc-linux-gnu-gcc -c -I../include -I. > -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix > -I.. -I../libio -I../nptl > -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-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/i686-pc-linux-gnu/3.4.5/include -isystem /usr/include > -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h > -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -Wa,--noexecstack -x > assembler-with-cpp -o > /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/nanosleep.o > - > i686-pc-linux-gnu-gcc ../nptl/sysdeps/unix/sysv/linux/i386/fork.c -c > -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings > -fPIC -march=athlon-xp -mtune=athlon-xp -pipe > -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer > -D__USE_STRING_INLINES -D_IO_MTSAFE_IO -I../include -I. > -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix > -I.. -I../libio -I../nptl > -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-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/i686-pc-linux-gnu/3.4.5/include -isystem /usr/include > -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h > -o > /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o > -MD -MP -MF > /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o.dt > -MT > /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o > ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c: In function `__libc_fork': > ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:203: error: can't find > a register in class `BREG' while reloading `asm' > make[2]: *** > [/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o] > Error 1 > make[2]: Leaving directory > `/mnt/hda/portage/glibc-2.3.5-r2/work/glibc-2.3.5/posix' > make[1]: *** [posix/subdir_lib] Error 2 > make[1]: Leaving directory `/mnt/hda/portage/glibc-2.3.5-r2/work/glibc-2.3.5' > make: *** [all] Error 2 > > !!! ERROR: sys-libs/glibc-2.3.5-r2 failed. > !!! Function toolchain-glibc_src_compile, Line 233, Exitcode 2 > !!! (no error message) > !!! If you need support, post the topmost build error, NOT this status > message. > > and my system info: > > Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, > 2.6.14-gentoo-r5 i686) > ================================================================= > System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2400+ > Gentoo Base System version 1.6.14 > ccache version 2.3 [enabled] > dev-lang/python: 2.3.4-r1, 2.4.2 > sys-apps/sandbox: 1.2.12 > sys-devel/autoconf: 2.13, 2.59-r6 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 > sys-devel/binutils: 2.16.1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer > -fPIC" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env > /usr/kde/3.4/share/config /usr/kde/3.4/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/splash /etc/terminfo /etc/env.d" > CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe > -fomit-frame-pointer -fPIC -fvisibility-inlines-hidden" > DISTDIR="/mnt/hdb/distfiles" > FEATURES="autoconfig ccache distlocks sandbox sfperms strict" > GENTOO_MIRRORS="http://distfiles.gentoo.org > http://distro.ibiblio.org/pub/linux/distributions/gentoo" > LANG="pt_BR" > LC_ALL="pt_BR" > LINGUAS="pt_BR" > PKGDIR="/mnt/hda/packages" > PORTAGE_TMPDIR="/mnt/hda" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 3dnow X alsa apm arts audiofile avi bash-completion berkdb > bitmap-fonts bzip2 cdr crypt curl dga directfb dvdr eds emboss encode > esd exif expat fam fbcon ffmpeg foomaticdb fortran gdbm gif glut gpm > gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg jpeg2k kde > kdeenablefinal kdexdeltas lcms libg++ libwww mad mikmod mmx mng motif > mozilla mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl pam pcre > pda pdflib perl pic png python qt quicktime readline sdl spell sse > sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts > udev usb vim-with-x vorbis xine xml2 xmms xv xvid zlib > video_cards_-i128 video_cards_-mga video_cards_-savage > video_cards_-apm video_cards_-ark video_cards_-ati* video_cards_-chips > video_cards_-cirrus video_cards_-cyrix video_cards_-dummy > video_cards_fbdev video_cards_-fglrx% video_cards_-glint > video_cards_-i740 video_cards_-i810 video_cards_-imstt > video_cards_-neomagic video_cards_-newport video_cards_-nsc > video_cards_-nv video_cards_nvidia% video_cards_-rendition > video_cards_-s3 video_cards_-s3virge video_cards_-siliconmotion > video_cards_-sis video_cards_-sisusb video_cards_-sunbw2 > video_cards_-suncg14 video_cards_-suncg3 video_cards_-suncg6 > video_cards_-sunffb video_cards_-sunleo video_cards_-suntcx > video_cards_-tdfx video_cards_-tga video_cards_-trident > video_cards_-tseng video_cards_-v4l video_cards_vesa video_cards_-vga > video_cards_-via video_cards_-vmware video_cards_-voodoo > input_devices_keyboard input_devices_mouse input_devices_-acecad > input_devices_-aiptek input_devices_-calcomp input_devices_-citron > input_devices_-digitaledge input_devices_-dmc input_devices_-dynapro > input_devices_-elo2300 input_devices_-elographics input_devices_evdev > input_devices_-fpit input_devices_-hyperpen input_devices_-jamstudio > input_devices_-joystick input_devices_-magellan > input_devices_-magictouch input_devices_-microtouch > input_devices_-mutouch input_devices_-palmax input_devices_-penmount > input_devices_-spaceorb input_devices_-summa input_devices_-synaptics% > input_devices_-tek4957 input_devices_-ur98 input_devices_-vmmouse > input_devices_-void linguas_pt_BR userland_GNU kernel_linux > elibc_glibc" > Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS > > > thanks in advance, > cl?udio. >
Set your CFLAGS to "-O2 -march=athlon-xp -pipe" and then try re-emerging.. -- gentoo-user@gentoo.org mailing list