[FFmpeg-devel] Bugreport: compiling fails with -fPIC used
Tue Oct 16 17:23:47 CEST 2007
On Tue, Oct 16, 2007 at 05:00:31PM +0200, Thorsten Jordan wrote:
> There are two places of trouble, for the first case i replace %1 by
> %%ebx, as j = -i before the code starts. Shouldn't be that slower,
> except the push/pop.
IIRC you normally can't use push/pop as gcc might use esp/rsp relative
addressing for arguments. In this case it might work since all
constraints are "r", but it still seems risky to meddle with the stack
without letting gcc know.
More information about the ffmpeg-devel