Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrap hang 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
junrelya
n00b
n00b


Joined: 09 Sep 2004
Posts: 10
Location: portland, or

PostPosted: Mon Dec 13, 2004 10:45 pm    Post subject: bootstrap hang compiling glibc Reply with quote

i'm having a terrible time getting 2004.3 installed on my desktop. this current situation is pointing to what may be a hardware issue, but i thought i'd post and see if it rings any bells with anyone before persuing that route. this box previously had winxp on it, and worked fine.

at the appropriate step, i run
Code:
/usr/portage/scripts/bootstrap.sh
somewhere in the glibc compile( i think it's v2.3.4 ), it freezes the whole system. it happens consistently in glibc, but at different points during the process.

the system is an athlonxp on a nforce equipped mobo with a geforcefx something. sound and network are onboard. drive is maxtor 160gb, acer dvd, both ide. also a 2940u scsi card in there controlling a dvd and cd-r.

this happens if i don't alter my USE at all, though, of course, i'd prefer to.
Code:

CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"

anyone gots anything?
Back to top
View user's profile Send private message
robet
l33t
l33t


Joined: 06 Sep 2004
Posts: 807
Location: Earth/NorthAmerica/USA/NY

PostPosted: Tue Dec 14, 2004 1:24 am    Post subject: Reply with quote

Try doing -O2 and -fvisibility-inlines-hidden, -fomit-frame-pointer, -march=XXXXXXXX, -ffast-math and -pipe. Those often end up being faster for most users than -O3. See if that works.
PS:-fvisibility-inlines-hidden is a C++ flag, by the way.
_________________
no software patents in europe! | adopt an unanswered post.
Back to top
View user's profile Send private message
junrelya
n00b
n00b


Joined: 09 Sep 2004
Posts: 10
Location: portland, or

PostPosted: Tue Dec 14, 2004 5:22 am    Post subject: Reply with quote

robet, thanks for the suggestion. i tried that tonight to no avail, it still hangs. if you or anyone else has more ideas, i'd love to hear them. this is obviously a problem localized to my system, or i'd see more posts on it. i'm going to start the hardware swap. for the record, the configuration i tried was:
Code:

CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math"
CXXFLAGS="${CFLAGS} -fvisiblity-inlines-hidden"
MAKEOPTS="-j2"
Back to top
View user's profile Send private message
junrelya
n00b
n00b


Joined: 09 Sep 2004
Posts: 10
Location: portland, or

PostPosted: Tue Dec 14, 2004 5:00 pm    Post subject: twas a dimm Reply with quote

close up this sucker... the first piece of hardware i pulled turned out to be the cause. damn, 512mb dimms are a sorry loss. :( strange though, since memtest86 ran for a day without issue. well, thanks anyways...
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