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! > (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". > there were present a patch to disable the code if pic is selected but you > rejected it. How often do i need to repeat the same thing? 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?!?!?! [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin ______________________________________________________ FFmpeg issue tracker <[EMAIL PROTECTED]> <https://roundup.mplayerhq.hu/roundup/ffmpeg/issue294> ______________________________________________________
