Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting lots of illegal instruction errors in glibc compile
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
compucoder
Apprentice
Apprentice


Joined: 16 Sep 2002
Posts: 246
Location: London, Canada

PostPosted: Tue Feb 18, 2003 9:26 pm    Post subject: getting lots of illegal instruction errors in glibc compile Reply with quote

Hi, I am trying to install gentoo on my P166 MMX - it is a 5166 compaq deskpro 2000 - 128 MB Ram - Pentium 166MMX chip

After about 6 hours of compiling :/ I get an error saying illegal instruction - this is happening in glibc compile.

I originally used -march=pentium-mmx , now this time I tried -march=i586...still get the error? I am now attempting it again using -mcpu=i586. I am also using -O2 -pipe

i am a bit puzzled why i am getting instruction errors in glibc - it "is" a generation 5 chip with MMX

does anyone know if I am using the wrong settings for this system?
Gonna be another 6 hours before I know if -mcpu=i586 works or not.

thanx
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Feb 18, 2003 9:31 pm    Post subject: Reply with quote

I think I would use i386 and pentium-mmx.

I'm not sure if this cpu can handle some of the instructions generated with i586.

-march=pentium-mmx -mcpu=i386

(Just a quick additional Q: Have you overclocked it? If so, try to set it back to standard before compiling)

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
C_Hird
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2003
Posts: 78
Location: Ontario Canada

PostPosted: Tue Feb 18, 2003 9:33 pm    Post subject: Re: getting lots of illegal instruction errors in glibc comp Reply with quote

compucoder wrote:
Hi, I am trying to install gentoo on my P166 MMX - it is a 5166 compaq deskpro 2000 - 128 MB Ram - Pentium 166MMX chip

After about 6 hours of compiling :/ I get an error saying illegal instruction - this is happening in glibc compile.

I originally used -march=pentium-mmx , now this time I tried -march=i586...still get the error? I am now attempting it again using -mcpu=i586. I am also using -O2 -pipe

i am a bit puzzled why i am getting instruction errors in glibc - it "is" a generation 5 chip with MMX

does anyone know if I am using the wrong settings for this system?
Gonna be another 6 hours before I know if -mcpu=i586 works or not.

thanx


Hi I am in the middle of a build on a pentium 233 MMX, I used mcpu= i586 -O3 -pipe march=i586 etc and have had no problems?

I am also build right from stage1 tar so the gcc compiler has to be what was on the cd??

The only difference is the -O2 ?? not sure what this flag is on gcc??

Hope this helps?

Chris.. :wink:
_________________
trying Gentoo, running RedHat 8.0, removed SuSe 7.2 argh!
Back to top
View user's profile Send private message
compucoder
Apprentice
Apprentice


Joined: 16 Sep 2002
Posts: 246
Location: London, Canada

PostPosted: Tue Feb 18, 2003 10:50 pm    Post subject: Reply with quote

i guess its possible the compaq version of the CPU or the fact its a P166 might make the instruction set different.

The -O3 creates a bigger distro - Unrolls loops, and other performance additions over O2 - i chose O2 due to my small hard drive

I will see if i586 works , if not then I will try your suggestions

thanx
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