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.