Every build I've attempted has failed in the same place:
Code: Select all
6:35.90 INPUT("../../gfx/skia/Unified_cpp_gfx_skia7.o")
6:35.90 INPUT("../../gfx/skia/Unified_cpp_gfx_skia8.o")
6:35.90 INPUT("../../gfx/skia/Unified_cpp_gfx_skia9.o")
6:35.90 INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")
6:35.90
6:35.90 ../../build/unix/gold/ld: error: /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/o/toolkit/library/../../media/libstagefright/Unified_cpp_media_libstagefright0.o: requires dynamic R_X86_64_PC32 reloc against '_Z13GetDemuxerLogv' which may overflow at runtime; recompile with -fPIC
6:35.90 ../../build/unix/gold/ld: error: read-only segment has dynamic relocations
6:35.90 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/media/libstagefright/binding/MoofParser.cpp:728: error: undefined reference to 'GetDemuxerLog()'
6:35.90 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/media/libstagefright/binding/MoofParser.cpp:735: error: undefined reference to 'GetDemuxerLog()'
6:35.90 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/media/libstagefright/binding/MoofParser.cpp:591: error: undefined reference to 'GetDemuxerLog()'
6:35.90 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/media/libstagefright/binding/MoofParser.cpp:599: error: undefined reference to 'GetDemuxerLog()'
6:35.90 collect2: error: ld returned 1 exit status
6:35.90 gmake[5]: *** [/var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/config/rules.mk:820: libxul.so] Error 1
6:35.90 gmake[4]: *** [/var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/config/recurse.mk:74: toolkit/library/target] Error 2
6:35.90 gmake[3]: *** [/var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/config/recurse.mk:37: compile] Error 2
6:35.90 gmake[2]: *** [/var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/config/rules.mk:541: default] Error 2
6:35.90 gmake[1]: *** [/var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/client.mk:399: realbuild] Error 2
6:35.90 gmake: *** [client.mk:171: build] Error 2
The most infuriating part of this is that I neither need nor want media support in my primary browser (its absence cuts down massively on timewasting, security exploits, and crash bugs), so for all of me, libstagefright and everything associated with it can die in a fire.
Is there another ebuild I can use that actually works? Alternatively, is there a way I can kill libstagefright with extreme prejudice, or some other way I can patch my way past this bug?