View previous topic :: View next topic |
Author |
Message |
Scan-C n00b
Joined: 10 Jun 2003 Posts: 70
|
Posted: Mon Sep 06, 2004 9:01 am Post subject: glibc fails to compile |
|
|
regardless if i use the bootstrap script or try to compile it myself, glibc always fails. i tried all 2.3.x ebuilds that are there and get the following error.
Quote: | ortage/glibc-2.3.4.20040808/work/build/time/stamp.os
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.4.20040808/work/build/timeecho 'time/offtime.o time/asctime.o time/clock.o time/ctime.o time/ctime_r.o time/difftime.o time/gmtime.o time/localtime.o time/mktime.o time/time.o time/gettimeofday.o time/settimeofday.o time/adjtime.o time/tzset.o time/tzfile.o time/getitimer.o time/setitimer.o time/stime.o time/dysize.o time/timegm.o time/ftime.o time/getdate.o time/strptime.o time/strptime_l.o time/strftime.o time/wcsftime.o time/strftime_l.o time/wcsftime_l.o time/era.o time/alt_digit.o time/lc-time-cleanup.o time/ntp_gettime.o' > /var/tmp/portage/glibc-2.3.4.20040808/work/build/time/stamp.oT
mv -f /var/tmp/portage/glibc-2.3.4.20040808/work/build/time/stamp.oT /var/tmp/portage/glibc-2.3.4.20040808/work/build/time/stamp.o
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/time'
make[1]: *** [time/subdir_lib] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.4.20040808 failed.
!!! Function src_compile, Line 559, Exitcode 2
!!! (no error message)
|
edit: i even lowered my c flags to -O2 -mcpu=i386 |
|
Back to top |
|
|
Dreq Tux's lil' helper
Joined: 15 Feb 2004 Posts: 111
|
Posted: Mon Sep 06, 2004 10:00 am Post subject: |
|
|
You followed the install guide fully right? Including the env-update and crap.. I had some weird glibc errors because I accidently skipped one of the lines I had to type in. |
|
Back to top |
|
|
mike4148 l33t
Joined: 09 Sep 2003 Posts: 641
|
Posted: Mon Sep 06, 2004 3:12 pm Post subject: |
|
|
Try again. If it fails at the exact same spot, try again. If it ever fails with the same error at a different spot, then you're probably seeing a hardware problem. Search for 'gcc signal 11' for more info. |
|
Back to top |
|
|
Scan-C n00b
Joined: 10 Jun 2003 Posts: 70
|
Posted: Mon Sep 06, 2004 4:08 pm Post subject: |
|
|
i normally don't use env-update because gentoo always isntalled fine without it but after the 5th try i used it and the same happens.
and yes it's always the same spot. i don't think it's my hardware. if i install fedora core 2 and try to compile glibc there it works. |
|
Back to top |
|
|
black hole sun Apprentice
Joined: 14 Aug 2004 Posts: 245
|
Posted: Mon Sep 06, 2004 4:24 pm Post subject: |
|
|
What are your C-FLAGS? |
|
Back to top |
|
|
Scan-C n00b
Joined: 10 Jun 2003 Posts: 70
|
Posted: Mon Sep 06, 2004 4:30 pm Post subject: |
|
|
as i've written above -O2 -mcpu=i386 |
|
Back to top |
|
|
vickyshres n00b
Joined: 01 Sep 2004 Posts: 1 Location: Kathmadu Nepal
|
Posted: Thu Oct 07, 2004 11:23 am Post subject: glibc fails to compile |
|
|
gcc strftime_l.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium4 -pipe -mpreferred-stack-boundary=2 -I../include -I. -I/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time -I.. -I../libio -I/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere -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/i686 -I../linuxthreads/sysdeps/i386 -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../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/i686-pc-linux-gnu/3.3.4/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time/strftime_l.o -MD -MP -MF /var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time/strftime_l.o.dt
strptime_l.c: In function `__strptime_internal':
strptime_l.c:1046: internal compiler error: in verify_local_live_at_start, at flow.c:575
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
gcc wcsftime_l.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium4 -pipe -mpreferred-stack-boundary=2 -I../include -I. -I/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time -I.. -I../libio -I/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere -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/i686 -I../linuxthreads/sysdeps/i386 -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../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/i686-pc-linux-gnu/3.3.4/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time/wcsftime_l.o -MD -MP -MF /var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time/wcsftime_l.o.dt
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/buildhere/time/strptime_l.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2/time'
make[1]: *** [time/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r1/work/glibc-2.3.2'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.3.20040420-r1 failed.
!!! Function src_compile, Line 589, Exitcode 2
!!! (no error message) |
|
Back to top |
|
|
iblizzard n00b
Joined: 21 Oct 2004 Posts: 1
|
Posted: Thu Oct 21, 2004 7:36 pm Post subject: |
|
|
I get this same error.
I installed from stage 3 (stage3-x86-2004.2.tar.bz2) and when I did my first emerge -u world it started emerging glibc, and it gave that same error.. so i tried a bunch of other ebuilds and they all stopped at the same spot. |
|
Back to top |
|
|
b00gieman n00b
Joined: 06 Jan 2005 Posts: 16 Location: Here, it would seem.
|
Posted: Fri Jan 28, 2005 3:06 pm Post subject: GCY (glibc consistantly yoinks) |
|
|
Hi all,
Hate to compound a problem with another problem, but I'm seeing some weirdness with glibc as well. I'm doing two simultaneous gentoo installs, one on an athlon-tbird and another on a P4. Both consistantly fail with an exitcode of 2 on glibc as I'm bootstrapping from stage1 to stage2, at the the same line (although that line differs for each architecture).
On the P4 I gave up and did a straight-up stage 2 install, after which everything seems to be working fine, but the problem remains and now it's a personal challange. I am not using the nptl use flag. Has anybody else run into this?
Brian _________________ Clothes make the man. Naked people have little or no influence on society.
- Mark Twain |
|
Back to top |
|
|
|