> I'm getting an error with sys-libs/glibc-2.3.4.20050125-r1:
> 
> #ifdef ERROR_MESS
> 
> i386-pc-linux-gnu-gcc localealias.c -c -std=gnu99 -O2 -Wall -Winline
> -Wstrict-prototypes -Wwrite-strings -mcpu=i686
> -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/i386-pc-linux-gnu/3.4.3-20050110/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
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> 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 237, Exitcode 2
> 
> #endif
> 
> I define
> $ARCH='~x86'
> 
> What product do I select when reporting this bug on Gentoo bugzilla?
> Should I just send an email directly to the glibc maintainer?

You should not do either of these things.  First you should fix your CFLAGS
to remove the -mcpu flag and replace with the appropriate -march value.

Secondly, since you're using -mcpu=686 yet gcc appears to be i386 based, I
would guess that your system setup from the ground up is poorly set up.

If you're still in the early stages of the system build, I'd suggest
starting over with valid CFLAGS; trust me, having a solid foundation ensures
that you'll end up with a stable gentoo box when you're done.

If the system has been operational for awhile, then I think you should count
yourself lucky, not emerge the glibc update, and keep your misconfigured box
running as it is.


--
gentoo-user@gentoo.org mailing list

Reply via email to