FS#9883 - GCC 4.3.0 tool chain is producing bad code
Attached to Project:
Arch Linux
Opened by Skottish (skottish) - Thursday, 20 March 2008, 03:04 GMT
Last edited by Jan de Groot (JGC) - Friday, 21 March 2008, 20:59 GMT
Opened by Skottish (skottish) - Thursday, 20 March 2008, 03:04 GMT
Last edited by Jan de Groot (JGC) - Friday, 21 March 2008, 20:59 GMT
|
Details
Description:
Read through this (very convoluted) thread by me. http://bbs.archlinux.org/viewtopic.php?id=45657 |
This task depends upon
If I wasn't too unclear, this is the steps to reproduce.
Build x264 from GIT. Don't use any older source snapshots. Then build FFmpeg from subversion (try rev. 12485 because of the new upstream bug). As I said before, Mplayer-svn also did not see x264.
The one particular note that I want to remind you of is what akupenguin said. The error I was getting are conducive of a 32 bit problem, not a 64 bit problem. That call should not have even been in the build, let alone throwing errors.
ccache is something that I wasn't aware of before now. Could it be something there that started this process?
Googling for this, I found 3 hits on google, one of them is this:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/64896/focus=64953
"Enabling HAVE_MMX2 for swscale gives an linker error on x86-64 when
compiling as a shared library:"
[..]
"/usr/bin/ld: swscale.o: relocation R_X86_64_32S against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
swscale.o: could not read symbols: Bad value"
It's a bug in ffmpeg because of a recent change. Be aware that ffmpeg is highly unstable development code that doesn't always compile or work. Given the fact that GCC 4.3 is more strict than older compilers, I will close this bug as "Not a bug", as it's not a GCC bug.