1 |
On Sat, 4 Jun 2005, René Rhéaume wrote: |
2 |
|
3 |
> > Better yet, add --enable-fpic to econf. The change proposed above w/ the |
4 |
> > link is allowed conditionally, if use has_pic && use x86 (probably amd64 |
5 |
> > too) |
6 |
> Yes, --enable-fpic worked. |
7 |
> |
8 |
> > xineplug_decode_ff.so is clean as of 1.0.1, I remove the rest from the |
9 |
> > system, else xine-lib fails to load (see original bug-report, failure on |
10 |
> > planar) |
11 |
> Which revision? I based my ebuild on 1.0.1-r1 and I have never been |
12 |
|
13 |
1.0.3 is clean for sure |
14 |
|
15 |
> able to suppress text relocations from xineplug_decode_ff.so. Grr, the |
16 |
> Xine team remade the ffmpeg build system from scratch using the GNU |
17 |
> autotools. Also, when I looked up for 'planar' in Gentoo Bugzilla, I |
18 |
> got the famous 'Zarro boogs found' message. |
19 |
|
20 |
The text relocation in tvtime is due to MMX code usage (although |
21 |
-UHAVE_MMX is used, it is not honoured), I have changed ifdef ARCH_X86 w/ |
22 |
if defined(ARCH_X86) && defined(HAVE_MMX) |
23 |
|
24 |
The text relocation in planar is due to faulty ffmpeg (libpostproc.a 's |
25 |
objects are not built -fPIC) |
26 |
|
27 |
I have solved it like this: |
28 |
-ffmpeg is built fully PIC (also the objects for libpostproc.*) |
29 |
-modified xine-lib/planar to use the installed libpostproc, not the one |
30 |
provided in xine-lib sources. |
31 |
|
32 |
Peter |
33 |
|
34 |
-- |
35 |
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2 |
36 |
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 |
37 |
|
38 |
-- |
39 |
gentoo-hardened@g.o mailing list |