LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2011, 03:40 PM   #1
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
Compile/Run problem w/ Compiz Fusion- Illegal Instruction Set Error


I didn't want to place this thread in the Gentoo forum because this problem isn't because of my distribution, but a software compile problem and it not running because of a disagreement with the cpu.

I have a laptop that is very old. I decided to compile a Gentoo linux system on my pc for it and then copy the root directory to the laptop. I made a extra filesystem on my home pc, then i do the following:
Code:
mount -t proc none /mnt/laptop_compile/proc
mount -o bind /dev /mnt/laptop_compile/dev/
After that then I chroot to the new root filesystem with:

Code:
linux32 chroot /mnt/laptop_compile/ /bin/bash
Then I compile my new system and copy the root partition to my laptop(along with the respected kernel it was compiled against).

Everything runs great(including X) except compiz fusion. I get a "Illegal Instruction Error".

When I compiled it I used:

Code:
CFLAGS="-march=athlon -O2 -pipe"
and compile flags:
Code:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt 3dnowext 3dnow lahf_lm
Here is my /proc/cpuinfo on my laptop:
Code:
localhost one # cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 28
model name      : Mobile AMD Sempron(tm) Processor 2800+
stepping        : 0
cpu MHz         : 1600.000
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt 3dnowext 3dnow lahf_lm
bogomips        : 3200.17
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 32 bits virtual
power management: ts fid vid ttp

Even if my laptop wasn't slow, I still would want to build this system on my PC for the laptop because it is a cool project and learning experience.

Can anyone help figure out why compiz fusion will not run with "Illegal Instruction Set Error", please? All other software runs fine. I have been battling with this for over a month.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer Error : 'Illegal Instruction' Ashish Yadav Linux - Newbie 1 11-26-2009 05:52 AM
not able to run 'compiz fusion' and 'avant window navigator' mathu Linux - Newbie 7 08-08-2009 01:44 PM
How to compile and install compiz-fusion from git on Fedora 7 axelfc Fedora 1 10-29-2007 03:10 AM
LXer: How to compile and install compiz-fusion from git on Fedora 7 LXer Syndicated Linux News 0 10-10-2007 04:30 PM
Mplayer Illegal Instruction error visualnoise Linux - Software 4 02-28-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration