hi, The title pretty much says what I am trying to do: this works fine on i386 but fails on x86-64. The compile-time error is: "relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC". What I am trying to do is generate a non-shared relocatable dynamic binary which means that I really don't want to use -fPIC and I was hoping that the dynamic linker would be able to finish relocating the final binary. Is this impossible on linux-elf-x86-64 ? Mathieu -- Mathieu Lacage <mathieu.lacage@xxxxxxxxx>