View previous topic :: View next topic |
Author |
Message |
ba l33t
Joined: 25 May 2003 Posts: 804
|
Posted: Mon Nov 17, 2003 12:59 pm Post subject: problem emerging glibc with propolice |
|
|
I have been trying to emerge sys-libs/glibc-2.3.2-r1 with propolice and got error:
Code: |
CPP='gcc -E -x c-header' /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/linuxthreads /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/rpcsvc/bootparam_prot.T
touch /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.stmp
CPP='gcc -E -x c-header' /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/linuxthreads /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/rpcgen -Y ../scripts -c rpcsvc/nlm_prot.x -o /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xnlm_prot.T
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/rpcsvc/bootparam_prot.stmp] Segmentation fault
make[2]: *** Waiting for unfinished jobs....
stdout: Broken pipe
/bin/sh ../scripts/move-if-change /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xnlm_prot.T /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xnlm_prot.c
make[2]: *** Waiting for unfinished jobs....
touch /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xnlm_prot.stmp
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.2-r1 failed.
!!! Function src_compile, Line 419, Exitcode 2
!!! (no error message)
|
My CFLAGS="-mcpu=ultrasparc -O2 -pipe -fstack-protector". I tryed to emerge it several times and sometimes I got Bus error insted of segfault(in the same place). Without -fstack-protector it compiles nicely. |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
|
Back to top |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Tue Nov 18, 2003 1:38 pm Post subject: Can't emerge glibc |
|
|
I am confused as to what is going on. I've looked at the bug
reports, and read the news on propolice [url ]http://dev.gentoo.org/~method/propolice.html[/url]
but I don't understand the picture.
First of all, I never asked for propolice, and the above web page
says it isn't for production yet, so why is it on my systems?
Secondly, why is my x86 box showing glibc2.3.2-r1 is installed
and no updates are available in emerge -up system, while my sparc
box is running glibc2.3.2-r1 and wants to upgrade to r3 with
emerge -up system?
Thirdly, if the web page above is correct, and emerging the glibc
with propolice will automatically include the -fstack-protector flag
and thus break sandbox and future use of emerge, why isn't that being
prevented by changing the default ebuild flags for glibc? I can't
see how having a broken emerge can be a feature, since future
use of gentoo depends on it.
Can someone shed some light on what I'm sure is a misunderstanding
and some dated information. (No date provided on the propolice
web page)? |
|
Back to top |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
|
Back to top |
|
|
|