[FFmpeg-devel] Bugreport: compiling fails with -fPIC used

Michael Niedermayer michaelni
Wed Oct 17 00:04:57 CEST 2007

On Tue, Oct 16, 2007 at 05:23:47PM +0200, Reimar D?ffinger wrote:
> Hello,
> 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.

iam more concerned by the direct use of ebx without having ebx on the
clobber list or anywhere else "reserved"
this code is just plain wrong


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071017/a16faf6c/attachment.pgp>

More information about the ffmpeg-devel mailing list