On Sat, 4 Jun 2005, René Rhéaume wrote:

> > Better yet, add --enable-fpic to econf. The change proposed above w/ the
> > link is allowed conditionally, if use has_pic && use x86 (probably amd64
> > too)
> Yes, --enable-fpic worked.
> 
> > xineplug_decode_ff.so is clean as of 1.0.1, I remove the rest from the
> > system, else xine-lib fails to load (see original bug-report, failure on
> > planar)
> Which revision? I based my ebuild on 1.0.1-r1 and I have never been

1.0.3 is clean for sure

> able to suppress text relocations from xineplug_decode_ff.so. Grr, the
> Xine team remade the ffmpeg build system from scratch using the GNU
> autotools. Also, when I looked up for 'planar' in Gentoo Bugzilla, I
> got the famous 'Zarro boogs found' message.

The text relocation in tvtime is due to MMX code usage (although 
-UHAVE_MMX is used, it is not honoured), I have changed ifdef ARCH_X86 w/
if defined(ARCH_X86) && defined(HAVE_MMX)

The text relocation in planar is due to faulty ffmpeg (libpostproc.a 's
objects are not built -fPIC)

I have solved it like this:
-ffmpeg is built fully PIC (also the objects for libpostproc.*)
-modified xine-lib/planar to use the installed libpostproc, not the one 
provided in xine-lib sources.

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

-- 
gentoo-hardened@gentoo.org mailing list

Reply via email to