View previous topic :: View next topic |
Author |
Message |
kardal n00b
Joined: 24 Dec 2003 Posts: 34 Location: Sykkylven, Norway
|
Posted: Sun Oct 09, 2005 5:44 pm Post subject: bootstrap crashes while compiling glibc |
|
|
/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/crtn.o(.fini+0xf):/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/crtn.S:38: undefined reference to `.LC3'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-linuxthreads/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
make: *** [all] Error 2
USE="-X -gtk -gnome -alsa -qt -kde -arts hardened pic nptl nptlonly"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fstack-protector-all"
maybe my useflags or is it something else?
My apologies if this have been asked before. _________________ What! I'm using a computer? |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Mon Oct 10, 2005 8:19 am Post subject: |
|
|
Hm, I think it's the -fstack-protector. Try it without it. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
kardal n00b
Joined: 24 Dec 2003 Posts: 34 Location: Sykkylven, Norway
|
Posted: Wed Oct 12, 2005 3:04 pm Post subject: |
|
|
Yeah. I tried and it worked. Too bad really since i wanted to test with pie and ssp. Maybe i'll try a selinux-pie-ssp install later. Not because i need, just want to. hehe Torture myself software ways _________________ What! I'm using a computer? |
|
Back to top |
|
|
Karsten from Berlin Guru
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Wed Oct 12, 2005 5:38 pm Post subject: |
|
|
I'm also building a hardened system at the moment (my router). As I understand the whole thing are the USE-flags "hardened pic" needed and sufficient. No need to specify specialized things as compiler-switch.
It's the same as with the "-mmmx" compiler switch many people use to switch on mmx-commands. They also could specify "mmx" in the USE-flags. That alone automatically switches on the mmx-commands on packages where it is useful and supported. The compiler-switch is not needed to be specified explicitly.
Have fun! _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
|
|