Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrap crashes while compiling glibc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kardal
n00b
n00b


Joined: 24 Dec 2003
Posts: 34
Location: Sykkylven, Norway

PostPosted: Sun Oct 09, 2005 5:44 pm    Post subject: bootstrap crashes while compiling glibc Reply with quote

/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
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Mon Oct 10, 2005 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
kardal
n00b
n00b


Joined: 24 Dec 2003
Posts: 34
Location: Sykkylven, Norway

PostPosted: Wed Oct 12, 2005 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Wed Oct 12, 2005 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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