Gentoo Archives: gentoo-hardened

From: Ned Ludd <solar@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] removing .text relocations from mplayer and xine-lib
Date: Sun, 29 May 2005 17:44:55
Message-Id: 1117387490.8036.18.camel@localhost
In Reply to: [gentoo-hardened] removing .text relocations from mplayer and xine-lib by "René Rhéaume"
1 On Sun, 2005-05-29 at 11:27 -0400, René Rhéaume wrote:
2 > Where is the patch that removes .text relocations from mplayer and
3 > xine-lib? Solar said on IRC that was one lying around somewhere. I
4 > searched on Gentoo Bugzilla and on the Web with Google and I did not
5 > find it.
6
7 I could not find where I put it and your the second person to
8 ask/request it today so I did another.
9
10 See attached untested patch for mplayer..
11
12 It may be easier to just have them do
13 #if (defined (__PIC__) && !defined(PIC))
14 # define PIC __PIC__
15 #endif
16
17 > Why? This is what I get from /usr/bin/xine (part of xine-ui)
18 > This is xine (X11 gui) - a free video player v0.99.3.
19 > (c) 2000-2004 The xine Team.
20 > Can't modify /usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.so's
21 > text section. Use GCC option -fPIC for shared objects, please.
22 >
23 > Hmm, there is already a PIC patch applied to xine-lib.
24
25 It's probably not complete like mplayer was not.
26
27
28 --
29 Ned Ludd <solar@g.o>

Attachments

File name MIME type
MPlayer-1.0pre7-more-pic-updates.patch text/x-patch

Replies

Subject Author
Re: [gentoo-hardened] removing .text relocations from mplayer and xine-lib "René Rhéaume" <rene.rheaume@×××××.com>