[MPlayer-dev-eng] More -fPIC fun
Ivan Kalvachev
ivan at cacad.com
Sat Aug 14 19:02:21 CEST 2004
I took a look at the patch.
The only part of it, that is in MPlayer CVS is libmpeg2 and
because of the resent upgrade it is already fixed this way:
#if !defined(PIC) && !defined(__PIC__)
The rest of the patch is about libavcodec that is part of
FFmpeg project.
I must say that I am supriced to see such kind of bug in libavcodec,
as it IS library. Probably the -DPIC compiler flag solves the problem
for it ;)
I recomend you to post this mail and to ffmpeg maillist (sf.net).
Finnaly. Compiling MPlayer with -fPIC
IS VERY BAD IDEA. You are loosing about 5% of the performance and
that's why mplayer tries to compile everything staticaly.
Don't forget that we don't support manually overrided CFLAGS, etc... ;)
Wish You Best
Ivan Kalvachev
iive
p.s. Next time include and the patch. The bug itselfs looks like
caused by some hardened-gcc.
Chris White said:
> MPLayer and -fPIC don't seem to be getting along to well.
>
> I have a Gentoo bug report that points the issue out:
>
> http://bugs.gentoo.org/show_bug.cgi?id=51853
>
> Please look this over as I believe it will have some useful information
> in getting MPlayer pic aware.
>
> Thanks ahead of time.
>
> Chris White
More information about the MPlayer-dev-eng
mailing list