Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Palemoon overlay problem
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
UlvHare
n00b
n00b


Joined: 09 Sep 2015
Posts: 20
Location: USSR

PostPosted: Fri Feb 19, 2021 10:05 am    Post subject: Reply with quote

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. :lol:


Thank you very much, Anon-E-moose! Your patch let me compile palemoon-29.0.1 with gcc9.3.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Fri Feb 19, 2021 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 572
Location: Ásgarðr

PostPosted: Wed Mar 10, 2021 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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