Hello, I've tried to compile Firefox 67.0.4 (I have 66 running) on BLFS 8.4 (some of components like ffmepg are upgraded), so I have GCC 8.1 not 9.

Compilation stops on :

58:47.89 media/ffvpx/libavcodec/libmozavcodec.so
58:48.12 /usr/bin/ld: x86/fft.o: warning: relocation against `ff_cos_512' in read-only section `.text' 58:48.12 /usr/bin/ld: x86/fft.o: relocation R_X86_64_PC32 against symbol `ff_cos_32' can not be used when making a shared object; recompile with -fPIC

and then error with ld.

No big deal of course, I'll upgrade entire system at next release, but I want to understand why -FPIC. May I try to modify some configuration in compilation? I tried to modify media/ffvpx/ffvpxcommon.mozbuild adding -fPIC in CFLAGS but  link compilains: "bad value".

Some ideas?

Thanks

Riccardo



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to