Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Argh, palemoon again ** 3 [Was: GCC 5.4.0]
Date: Mon, 24 Apr 2017 18:54:01
Message-Id: 20170424184816.1377.2CBDEF26@matica.foolinux.mooo.com
In Reply to: [gentoo-user] Argh, palemoon again ** 3 [Was: GCC 5.4.0] by Ian Zimmerman
1 On 2017-04-24 11:16, Ian Zimmerman wrote:
2
3 > gcc-5_error() {
4 > eerror "You are currently on a gcc 5.* compiler profile."
5 > eerror "Building Pale Moon with gcc >=5 results in a very unstable build."
6 > eerror "You can use gcc-config to change your compiler profile,"
7 > eerror "just remember to change it back afterwards."
8 > eerror "You need to have the appropriate versions of gcc installed"
9 > eerror "for them to be shown in gcc-config."
10 > }
11 >
12 > And sure enough, palemoon is one of the packages revdep-rebuild wants to
13 > make over.
14 >
15 > So - what to do? I can't live without palemoon now. Does it make sense
16 > to exclude it (as in '-- --exclude gcc palemoon') and keep the old gcc
17 > slot around? I guess that will work if palemoon is linked with the
18 > -rpath option.
19 >
20 > Or do I have to mask gcc-5 until palemoon is fixed (and will it ever be?)
21
22 Well, now I am really confused, and scared :( Overthinking, right!
23
24 I switched gcc-config back to 4.9.4:
25
26 root@matica ~ # gcc-config -l
27 [1] x86_64-pc-linux-gnu-4.9.4 *
28 [2] x86_64-pc-linux-gnu-5.4.0
29
30 But:
31
32 [23+0]~$ ldd /usr/bin/palemoon
33 linux-vdso.so.1 (0x00007ffd1cb8a000)
34 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd5202a7000)
35 libdl.so.2 => /lib64/libdl.so.2 (0x00007fd5200a3000)
36 libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6 (0x00007fd51fca5000)
37 ^^^^^
38 libm.so.6 => /lib64/libm.so.6 (0x00007fd51f9a0000)
39 libc.so.6 => /lib64/libc.so.6 (0x00007fd51f602000)
40 /lib64/ld-linux-x86-64.so.2 (0x00007fd5204c4000)
41 libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libgcc_s.so.1 (0x00007fd51f3eb000)
42 ^^^^^
43
44 (And the same for any C++ based binary.)
45
46 And it is not just a UI quirk in ldd, I verified by looking at /proc/$PID/maps.
47
48 Do I just have to unmerge gcc-5? What good is the switching gadget then?
49
50 --
51 Please *no* private Cc: on mailing lists and newsgroups
52 Personal signed mail: please _encrypt_ and sign
53 Don't clear-text sign:
54 http://primate.net/~itz/blog/the-problem-with-gpg-signatures.html

Replies

Subject Author
Re: [gentoo-user] Re: Argh, palemoon again ** 3 [Was: GCC 5.4.0] Alexander Kapshuk <alexander.kapshuk@×××××.com>