View previous topic :: View next topic |
Author |
Message |
UlvHare n00b
Joined: 09 Sep 2015 Posts: 20 Location: USSR
|
Posted: Fri Feb 19, 2021 10:05 am Post subject: |
|
|
Anon-E-moose wrote: |
Code: | $ cat /etc/portage/patches/www-client/palemoon-29.0.1/palemoon-wno-error.patch
--- a/platform/js/src/js-cxxflags.mozbuild 2021-02-08 07:54:44.306010803 -0600
+++ b/platform/js/src/js-cxxflags.mozbuild 2021-02-08 07:50:31.812881070 -0600
@@ -31,7 +31,7 @@
if CONFIG['GNU_CXX']:
# Disable strict-aliasing for GCC, which is enabled by default
# starting with version 7.1, see Mozilla bug 1363009.
- CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing']
+ CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-Wno-error=format-overflow', '-fno-strict-aliasing']
if CONFIG['JS_HAS_CTYPES'] and CONFIG['MOZ_SYSTEM_FFI']:
CXXFLAGS += CONFIG['MOZ_FFI_CFLAGS'] |
It compiled fine for me, this way. If you want to use gcc9 then use the patch. |
Thank you very much, Anon-E-moose! Your patch let me compile palemoon-29.0.1 with gcc9.3. |
|
Back to top |
|
|
tld Veteran
Joined: 09 Dec 2003 Posts: 1816
|
Posted: Fri Feb 19, 2021 3:08 pm Post subject: |
|
|
Just went to upgrade today and found this after getting the gcc warning. I can confirm that the patch works for me. Thanks Anon-E-moose!
Tom |
|
Back to top |
|
|
sdauth Guru
Joined: 19 Sep 2018 Posts: 572 Location: Ásgarðr
|
Posted: Wed Mar 10, 2021 5:15 pm Post subject: |
|
|
One week later, still not merged.
https://github.com/deu/palemoon-overlay/pull/108
Right now, I switched to CaseOf fork to get that PR :
Code: | cd /var/db/repos/palemoon; git remote set-url origin https://github.com/CaseOf/palemoon-overlay.git |
Currently compiling with GCC10.. we'll see how it goes. Worst case, I still have GCC8.4 just in case.
EDIT : it compiles just fine (and works) with GCC10 although not officially supported. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|