Comment 10 for bug 898357

Revision history for this message
Tomasz Makarewicz (makson96) wrote :

OK now it is official. It will not build on amd64. It is strange, as it build just fine on my local 64 bit Ubuntu machine. Buildlog:
https://launchpadlibrarian.net/105322687/buildlog_ubuntu-precise-amd64.desurium_1%3A2012.05.15-makson2~ppa2_FAILEDTOBUILD.txt.gz
Do I miss any amd64 specific build-depends? I have found the same issue here:
https://bugs.launchpad.net/ubuntu/+source/chromium-codecs-ffmpeg/+bug/831093
But it is not very helpful...
The error seems to be:

CC(target) out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg/libavutil/x86/cpu.o
  SOLINK(target) out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so
/usr/bin/ld: out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg/libavcodec/x86/dsputil_mmx.o: relocation R_X86_64_PC32 against symbol `ff_pb_80' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so] Error 1
make[4]: Leaving directory `/build/buildd/desurium-2012.05.15/build_dir/chromium-prefix/src/chromium/src'

Any help will be appreciated.