15 Nov
2003
15 Nov
'03
11:42
On Sat, 15 Nov 2003 06:09:32 -0500
Mike Phillips
cpuid.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
Of course recompiling with -fPIC isn't an option as cpuid.o is built from cpuid.asm.
When it is a code like movl bla,%edi replace it with movl bla(%rip),%edi Otherwise I would write a small C test program for the construct you want and look what gcc generates for it with gcc -S. -Andi