Gentoo Archives: gentoo-user

From: Jarry <jarry@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] updating glibc-2.3.5-r2: segmentation fault... (part 2)
Date: Wed, 15 Feb 2006 19:23:11
Message-Id: 43F37DFA.6060602@gmx.net
In Reply to: [gentoo-user] updating glibc-2.3.5-r2: segmentation fault... by Jarry
1 Jarry wrote:
2
3 > I changed my USE flags (added "hardened hardenedphp lm_sensors)
4 > and tried "emerge --update --deep --newuse world". Emerge wanted
5 > to recompile 8 packages, but crushed during the second one
6 > (glibc) with segmentation fault:
7 > __________________________________________________________
8 > /work/build-default-i686-pc-linux-gnu-linuxthreads/libc.so
9 > /var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-linuxthreads/libc_nonshared.a
10 > collect2: ld terminated with signal 11 [Segmentation fault]
11 > /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: BFD
12 > 2.16.1 assertion fail
13 > /var/tmp/portage/binutils-2.16.1/work/binutils-2.16.1/bfd/elflink.c:2322
14 > make[2]: ***
15 > [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-linuxthreads/iconvdata/IBM891.so]
16 > Error 1
17 > make[2]: *** Waiting for unfinished jobs....
18 > make[2]: Leaving directory
19 > `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/iconvdata'
20 > make[1]: *** [iconvdata/others] Error 2
21 > make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
22 > make: *** [all] Error 2
23 >
24 > !!! ERROR: sys-libs/glibc-2.3.5-r2 failed.
25 > !!! Function toolchain-glibc_src_compile, Line 226, Exitcode 2
26 > !!! (no error message)
27 > ______________________________________________________________
28
29
30 Show must go on. I removed those use-flags (hardened, hardenedphp
31 and lm_sensors), and tried to put my system to previous clean state
32 with "emerge --update --deep --newuse world". Now only 1 package has
33 to be recompiled: gcc-3.4.4-r1, but it fails with following error:
34 ___________________________________________________________________
35 /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/libiberty/strsignal.c: In function
36 `psignal':
37 /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/libiberty/strsignal.c:563: error:
38 argument "signo" doesn't match prototype
39 /usr/include/signal.h:141: error: prototype declaration
40 /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/libiberty/strsignal.c:563: error:
41 argument "message" doesn't match prototype
42 /usr/include/signal.h:141: error: prototype declaration
43 /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/libiberty/strsignal.c:568: warning:
44 comparison between signed and unsigned
45 make[1]: *** [strsignal.o] Error 1
46 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/libiberty'
47 make: *** [all-libiberty] Error 2
48
49 !!! ERROR: sys-devel/gcc-3.4.4-r1 failed.
50 !!! Function gcc_do_make, Line 1339, Exitcode 2
51 !!! emake failed with profiledbootstrap
52 ____________________________________________________________________
53
54 Frankly, I really have no idea what to do now. If I include those flags
55 (hardened, hardenedphp and lm_sensors), compilation of glibc-2.3.5-r2
56 fails because of some segmentation error.
57
58 If I remove those use-flags, compilation of gcc-3.4.4-r1 fails because
59 of some other error. Does anybody have any idea how to get out of this
60 "circulus vitiosus"? Any tips would be really appreciated and welcomed...
61
62 Jarry
63
64 --
65 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] updating glibc-2.3.5-r2: segmentation fault... (part 2) Rumen Yotov <rumen@××××××.org>