[kaffe] libkaffevm-1.1.5.so contains text relocation

Peter S. Mazinger ps.m at gmx.net
Fri Jul 15 09:11:20 PDT 2005


On Tue, 12 Jul 2005, Dalibor Topic wrote:

> Peter S. Mazinger wrote:
> > Hello!
> > 
> > The shared libkaffevm-1.1.5.so contains text relocation on x86. This is 
> > caused by trampolines.S assembler code not being PIC compliant.
> 
> Hallo Peter,
> 
> sorry for the late reply.
> 
> I've looked into it, being prompted by linking failures with jit on
> darwin, which occurs due to trampolines.S not being PIC compliant
> either. I assume that the SELinux problems I saw with fedora core 4 also
> were due to trampolines.S not being PIC compliant and leading to SELinux
> slapping the linker on the fingers.
> 
> I'd appreciate patches to fix that for x86 and other architectures, if
> possible. I have been told by Andrew Haley and Andrew Pinski to check
> out libffi closures for example code from libffi how such things were
> implemented there.

Can't help out w/ patches, have no asm knowledge

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the kaffe mailing list