Peter Humphrey wrote: > On Tuesday, 5 December 2017 10:23:30 GMT Peter Humphrey wrote: > >> I've been waiting for shouts of horror at that suggestion, but all's quiet >> so I'll see if I can remember how to set -fpic in the environment of >> palemoon. I'd have expected the ebuild do that though. > > OK, I've done that and now I get these errors: > > [...] > 10:08.72 ../../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 > 10:08.72 ../../build/unix/gold/ld: error: read-only segment has dynamic > relocations > 10:08.72 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/ > media/libstagefright/binding/MoofParser.cpp:767: error: undefined reference > to 'GetDemuxerLog()' > [...] > > I can't see how an undefined reference can be due to my environment, or can > it? >
The real error is few lines above and the solution suggested: 'recompile with -fPIC'. ld does not find a suitable GetDemuxerLog due to that error. Looks like your -fpic modification did not make it through. raffaele