Luca Barbato <[EMAIL PROTECTED]> added the comment:

Michael Niedermayer wrote:
> Michael Niedermayer <[EMAIL PROTECTED]> added the comment:
> 
> On Tue, Dec 25, 2007 at 06:52:45PM -0000, Luca Barbato wrote:
>> gnu/linux seems not to compile that flac code if you are using PIC 
> 
> So dont compile it with PIC, or help gcc a little with register assignment
> and send a patch!
> Id fix it as well, its 10sec work but i need a testcase which uses this code!

I don't even use x86 (so far...)

> 
>> (as macosx
>> does), 
> 
> Theres no -fPIC in the commandline shown in this issue so that as well would
> be a bug in gcc, that is "using PIC behind the users back".

Think more about -fPIC is the default when you are building libs on mach-o

> How often do i need to repeat the same thing?

I do know.

> PIC does NOT require a register to be set aside! This is a bug in gcc.
> I can write asm code by hand which works with no reserved ebx ...
> And this code at line 87 (which fails here with PIC) need 5 that is FIVE
> registers, there are 8 available 1 lost for the stack ptr, 1 lost due to
> gcc PIC ebx reserving, what in hell does gcc do with the remaining free 
> registers so it runs out?!?!?!

I'd have to ask gcc upstream through bugzilla and probably I'll do if
nobody more interested in getting this fixed (and using x86( find
another solution. =/

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue294>
______________________________________________________

Reply via email to