On Fri, Nov 03, 2006 at 09:42:18PM +0000, Paul Brook wrote: > On Friday 03 November 2006 18:15, Paul Robinson wrote: > > Hi guys, > > > > I'm trying to use parts of qemu in an application that must be compiled > > as a shared library (i.e. a .so file). > > The code must be compiled with the -fPIC option otherwise the linker > > refuses to create a .so file > > but doing this causes dyngen to stop with the error: > > ../dyngen -o op.h op.o > > dyngen: unsupported X86_64 relocation (9) > > More likely you just need to implement whetever relocation it's complaining > about.
This is dyngen we're talking about - presumably that isn't the bit that needs to be PIC? Looks to me like the op file was compiled with the PIC CFLAGS. -- Daniel Jacobowitz CodeSourcery _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel