Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error when trying to update glibc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
talaus
n00b
n00b


Joined: 25 Mar 2005
Posts: 3

PostPosted: Fri Mar 25, 2005 10:43 pm    Post subject: Error when trying to update glibc Reply with quote

When I try to update glibc (after syncing) I'm getting this error:

Code:
./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.5/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
i386-pc-linux-gnu-gcc textdomain.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -finline-limit=2000 -mcpu=athlon -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.5/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/textdomain.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/textdomain.os.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/textdomain.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.


Thanks
Back to top
View user's profile Send private message
Optimus509
n00b
n00b


Joined: 30 Mar 2004
Posts: 7

PostPosted: Fri Mar 25, 2005 11:31 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-313589-highlight-glibc.html
Back to top
View user's profile Send private message
talaus
n00b
n00b


Joined: 25 Mar 2005
Posts: 3

PostPosted: Fri Mar 25, 2005 11:44 pm    Post subject: Reply with quote

mmm its not the same error
Back to top
View user's profile Send private message
talaus
n00b
n00b


Joined: 25 Mar 2005
Posts: 3

PostPosted: Sat Mar 26, 2005 12:37 pm    Post subject: Reply with quote

anybody? :/
Back to top
View user's profile Send private message
harpomaxx
n00b
n00b


Joined: 26 Mar 2005
Posts: 1

PostPosted: Sat Mar 26, 2005 6:19 pm    Post subject: Reply with quote

I have the same problem right now. I have to masked the package until i have the time to take a deep look to the problem :(
Back to top
View user's profile Send private message
pencechp
n00b
n00b


Joined: 16 Jan 2005
Posts: 39
Location: Princeton, NJ

PostPosted: Mon Mar 28, 2005 2:53 am    Post subject: Reply with quote

These kinds of errors about registers are frequently (in my experience) due to CFLAGS--try rebuilding with an absolutely minimal set of CFLAGS and see if it makes it through.
_________________
"This seems plainly absurd; but whoever wishes to become a philosopher must learn not to be frightened by absurdities." - Bertrand Russell, Problems of Philosophy
Back to top
View user's profile Send private message
erol.ozcan
n00b
n00b


Joined: 02 Apr 2005
Posts: 4
Location: Istanbul / Turkey

PostPosted: Sat Apr 02, 2005 11:09 am    Post subject: can't find a register in class `GENERAL_REGS' problem Reply with quote

Hi,

I had very similiar problem while compiling libsdl. I solved my problem with removing "-fomit-frame-pointer" flag at CFLAGS while compiling. I did use the following code to emerge libsdl :

Code:
CFLAGS="-O3 -march=athlon-xp -pipe" emerge libsdl


I hope this help.

Erol Ozcan
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sat Apr 02, 2005 11:17 am    Post subject: Re: can't find a register in class `GENERAL_REGS' problem Reply with quote

erol.ozcan wrote:
Hi,

I had very similiar problem while compiling libsdl. I solved my problem with removing "-fomit-frame-pointer" flag at CFLAGS while compiling. I did use the following code to emerge libsdl :

Code:
CFLAGS="-O3 -march=athlon-xp -pipe" emerge libsdl


I hope this help.

Erol Ozcan


I gentoo's glibc the cflag -fomit-frame-pointer turns on the --enable-omitfp configure option to build a more optimized glibc. So taking that flag out might help.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Apr 21, 2005 10:40 pm    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-309625.html

Moved from Portage & Programming.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum