[FFmpeg-devel] MinGW-w64 x86_64 spams warning: -fPIC ignored for target

Gianluigi Tiesi mplayer at netfarm.it
Mon Apr 8 16:57:16 CEST 2013

On Mon, Apr 08, 2013 at 05:06:46PM +0200, Reimar Döffinger wrote:
> > In any case, i consider this a GCC bug. If an option is always-on, what
> > harm is it to explicitly set it? Why warn about this?
> In addition, it seems to me there is something wrong with the gcc
> config, code is not necessarily position-independent on x86_64.
> Is that possibly some hack on MinGW side because (for example) they were
> too lazy to fix programs to use -fPIC only when required?

there are other platform where the code is always PIC?
I wonder how gcc handles the situation

I don't see anyway the point of the warning, if the code is always PIC
why it's a problem to pass -fPIC


Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

More information about the ffmpeg-devel mailing list