On Sat, Sep 29, 2012 at 01:45:43PM +0200, Donovan Watteau wrote: > Hello, > > The following diff makes it possible for ffmpeg to be linked > on loongson (it used to give "ld: final link failed: Bad value", > see [1]), and probably sgi too (though I couldn't test this one). > > This is done by removing the call to "-Wl,-Bsymbolic" on mips > targets. I'm not really sure to understand the effects of > removing -Bsymbolic, but the resulting binary works fine for me > on loongson. > > No REVISION bump since it only affects the archs on which it > didn't build. > > [1] http://marc.info/?l=openbsd-ports&m=132691957332463&w=2
This is a bug in the compiler. Looking around I believe the fix in this PR would resolve the issue. Try working with miod@ to have a bug fix applied for the compiler. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.