Firefox 85+ on -current fails build
My current slackbuild script no longer works for 85+ - compile fails at:
Quote:
Quote:
(my system is -current 64bit updated to just before the recent mega rebuild) Thanks in advance. |
if you try to build the new version with gcc you may encounter these errors
Code:
3:05.08 In file included from Unified_cpp_dom_base10.cpp:20: Code:
--- ./mozilla-firefox.SlackBuild.orig 2021-01-25 18:14:58.511982990 +0100 |
Thanks for the changes Ponce. I always use clang on Mozilla stuff but added your other changes and the candidate built fine.
|
Thanks very much @Ponce - I think I've broken something in my slackbuild so would you mind providing the full latest slackbuild you used in the 86 build?
|
Quote:
|
Thanks, I've started with a fresh copy of the source folder and applied the patch. Got the following:
Quote:
Thanks for your help |
If anyone wants to try a PGO+LTO build (which won't work with gcc anymore, btw), use the lld linker. Gold is pretty borked these days (can't handle this build for me anymore... barfs with internal errors on the final linking of libxul since Firefox 84) and ld.bfd would likely OOM.
ac_add_options --enable-linker=lld elfhack doesn't fail with lld currently, so no need to --disable-elfhack at this time (I'm saying that because it used to, at times) Definitely want to use llvm-ar, llvm-nm, llvm-ranlib for a PGO+LTO build now. |
All times are GMT -5. The time now is 03:01 AM. |