Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Illegal Instruction Errors Getting Worse

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Crashed_Again
n00b
n00b
User avatar
Posts: 45
Joined: Fri May 09, 2003 12:03 am
Contact:
Contact Crashed_Again
Website

Illegal Instruction Errors Getting Worse

  • Quote

Post by Crashed_Again » Thu Feb 26, 2004 8:39 pm

I started with a new install from stage 3 on an old 500mhz Pentium machine. I went to use nano to try and edit some conf files but it just died saying:

"Illegal Instruction"

I didn't get upset because I don't use nano. I wrote it off. Now I've emerged grub and after typing 'grub' to setup the bootloader it gives the:

"Illegal Instruction"

error again. I searched the forums and it seems that most of these errors are cause by bad CFLAGS. I believe my CFLAGS are correct but perhaps I have to tweak them a bit. Here are my current CFLAGS:

Code: Select all

-03 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe
Any reason why these flags would cause a bad compile?
Top
Catach
Apprentice
Apprentice
User avatar
Posts: 268
Joined: Thu Nov 06, 2003 1:54 pm
Location: Australia

  • Quote

Post by Catach » Thu Feb 26, 2004 10:23 pm

Illegal Instruction means the binary code your running contains an instruction your processor doesn't understand. Since you've done a stage 3 install, it's highly likely you've either got the wrong install discs (ie: Athlon discs for a Pentium3) or you are compiling code with a march setting not compatible with your computer. try turning off march when compiling and see if you get something better, and check you have the right LiveCD.
Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles."
Top
Crashed_Again
n00b
n00b
User avatar
Posts: 45
Joined: Fri May 09, 2003 12:03 am
Contact:
Contact Crashed_Again
Website

  • Quote

Post by Crashed_Again » Thu Feb 26, 2004 10:48 pm

I used the pentium3 livecd. I may just have to try the x86 generic cd. Thanks.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic