Hi guys, I'm currently trying to compile the SVN (revision 4277) version of ClanLib for my game. I tried compiling on my 64 bit version of Fedora 12 (it's my desktop) and it compiled and worked flawlessly. The problem is with the 32 bit version of F12.

On my first try, I ran into a compilation problem about sse and mmx not being enabled. This was remedied by adding -mmmx and -msse to the CFLAGS and CXXFLAGS.

On my next try, I ended up with this compilation issue:

Code:
System/detect_cpu_ext.cpp: In static member function ‘static bool CL_System::detect_cpu_extension(CL_System::CL_CPU_ExtensionX86)’:                                               
System/detect_cpu_ext.cpp:53: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:58: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:62: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:67: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:71: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:76: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:80: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:85: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:90: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:95: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                  
System/detect_cpu_ext.cpp:100: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                 
System/detect_cpu_ext.cpp:106: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                 
System/detect_cpu_ext.cpp:110: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                 
System/detect_cpu_ext.cpp:115: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                 
System/detect_cpu_ext.cpp:120: error: can't find a register in class ‘BREG’ while reloading ‘asm’                                                                                 
System/detect_cpu_ext.cpp:53: error: ‘asm’ operand has impossible constraints            
System/detect_cpu_ext.cpp:58: error: ‘asm’ operand has impossible constraints            
System/detect_cpu_ext.cpp:62: error: ‘asm’ operand has impossible constraints            
System/detect_cpu_ext.cpp:67: error: ‘asm’ operand has impossible constraints            
System/detect_cpu_ext.cpp:71: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:76: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:80: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:85: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:90: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:95: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:100: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:106: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:110: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:115: error: ‘asm’ operand has impossible constraints
System/detect_cpu_ext.cpp:120: error: ‘asm’ operand has impossible constraints
make[2]: *** [System/detect_cpu_ext.lo] Error 1
make[2]: Leaving directory `/home/trigger/src/ClanLib-2.2/Sources/Core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/trigger/src/ClanLib-2.2/Sources'
make: *** [all-recursive] Error 1
This has happened for my 32 bit F12 laptop and my 32 bit F12 virtual machine. Any ideas on how to resolve this issue? Thanks

System specs:
OS: Fedora 12 (32 bit)
Compiler: gcc 4.4.2 20091222 (Red Hat 4.4.2-20)
CPUflags (VM) : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni hypervisor