View previous topic :: View next topic |
Author |
Message |
compucoder Apprentice
Joined: 16 Sep 2002 Posts: 246 Location: London, Canada
|
Posted: Tue Feb 18, 2003 9:26 pm Post subject: getting lots of illegal instruction errors in glibc compile |
|
|
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 |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Feb 18, 2003 9:31 pm Post subject: |
|
|
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 |
|
|
C_Hird Tux's lil' helper
Joined: 17 Feb 2003 Posts: 78 Location: Ontario Canada
|
Posted: Tue Feb 18, 2003 9:33 pm Post subject: Re: getting lots of illegal instruction errors in glibc comp |
|
|
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.. _________________ trying Gentoo, running RedHat 8.0, removed SuSe 7.2 argh! |
|
Back to top |
|
|
compucoder Apprentice
Joined: 16 Sep 2002 Posts: 246 Location: London, Canada
|
Posted: Tue Feb 18, 2003 10:50 pm Post subject: |
|
|
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 |
|
|
|