1 |
On 25/04/17 06:49, Walter Dnes wrote: |
2 |
> On Mon, Apr 24, 2017 at 02:00:53PM -0700, Ian Zimmerman wrote |
3 |
>> On 2017-04-24 15:31, Walter Dnes wrote: |
4 |
>> |
5 |
>>> I build Pale Moon manually with gcc-5.4.0, and install in my home dir |
6 |
>>> and it works fine. I can give you manual build instructions and a |
7 |
>>> quick-n-dirty framework. I believe Pale Moon has problems with the |
8 |
>>> new ABI. I've been successfully using a custom-built gcc-5.4.0, built |
9 |
>>> with... |
10 |
>>> |
11 |
>>> --with-default-libstdcxx-abi=gcc4-compatible |
12 |
>>> |
13 |
>>> You can also force gcc to use the old ABI by including... |
14 |
>>> |
15 |
>>> -D_GLIBCXX_USE_CXX11_ABI=0 |
16 |
>>> |
17 |
>>> ...in CFLAGS and CXXFLAGS when using a standard gcc-5.4.0. |
18 |
>> |
19 |
>> Thanks for your help Walter, but clearly this is not a solution when I'm |
20 |
>> trying to use Gentoo portage gcc. I already have a well running |
21 |
>> palemoon built with gcc-4, so what would be the purpose of doing this? |
22 |
> |
23 |
> Eventually gcc-4.9.4 will go away. |
24 |
> |
25 |
>> Now, your installation may still hold some information for me as I |
26 |
>> desperately look for a way out. What is your output from: |
27 |
>> |
28 |
>> ldd `which palemoon` | grep -F libstdc++ |
29 |
> |
30 |
> This is weird... |
31 |
> |
32 |
> ldd /home/waltdnes/pm540/palemoon/palemoon | grep -F libstdc++ |
33 |
> |
34 |
> libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so.6 (0x00007fa1ba91c000) |
35 |
> |
36 |
> But, but, but... Pale Moon's about:buildconfig shows... |
37 |
> |
38 |
> |
39 |
> gcc 5.4.0 -Wall -Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -O2 -march=native -mfpmath=sse -floop-parallelize-all -fpredictive-commoning -ftree-loop-distribution -ftree-vectorize -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread -pipe |
40 |
> |
41 |
> c++ 5.4.0 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -O2 -march=native -mfpmath=sse -floop-parallelize-all -fpredictive-commoning -ftree-loop-distribution -ftree-vectorize -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -D_GLIBCXX_USE_CXX11_ABI=0 -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -O2 -fomit-frame-pointer |
42 |
> |
43 |
> One way to find out if it works. I'll rebuild pale Moon with the |
44 |
> native gcc once that machine finishes revdep-rebuild on 31 items, |
45 |
> followed by "emerge -e @world". |
46 |
> |
47 |
>> BTW, do we even know where this bit of information comes from? That |
48 |
>> error hook is in all the palemoon eclasses, but there is no elaboration |
49 |
>> of what precisely the problems are or a URL to such description. |
50 |
>> |
51 |
>> I am asking because, for a few minutes I had palemoon running with the |
52 |
>> new libstdc++ loaded (I had to do that to verify for sure that it was |
53 |
>> loading the new one), and it didn't crash, at least. What if that scary |
54 |
>> message is just obsolete? |
55 |
> |
56 |
> There were issues/crashing reported on the Pale Moon support forum |
57 |
> when Ubuntu went to gcc-5.3, solved by reverting to 4.9. See thread... |
58 |
> https://forum.palemoon.org/viewtopic.php?f=37&t=14293 But do note that |
59 |
> this was the Debian+Ubuntu version maintainer, building on his machine, |
60 |
> for use on other people's machines, who may not have been up to his |
61 |
> library versions. If you build on your machine, for your machine, it |
62 |
> should be internally self-consistent, and you might not run into these |
63 |
> problems. |
64 |
> |
65 |
|
66 |
built by portage after commenting out the "die" in the palemoon-1.eclass |
67 |
file. |
68 |
|
69 |
rattus ~ # ldd `which palemoon` | grep -F libstdc++ |
70 |
libstdc++.so.6 => |
71 |
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6 (0x0000003ae0a00000) |
72 |
rattus ~ # |