Gentoo Archives: gentoo-science

From: "François Bissey" <frp.bissey@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Emerge Sage-doc-6.3 fails 3.16.5-sources gcc-4.8.3 with lto and graphite
Date: Wed, 26 Nov 2014 07:32:37
Message-Id: 999548BE-B23C-476F-B49B-ABF7B0016679@gmail.com
In Reply to: Re: [gentoo-science] Emerge Sage-doc-6.3 fails 3.16.5-sources gcc-4.8.3 with lto and graphite by "François Bissey"
1 Well first emerge penal with “-fno-fat-lto-objects” and inspect libpynac.so
2 for the symbol.
3
4 François
5
6 > On 26/11/2014, at 19:28, François Bissey <frp.bissey@×××××.com> wrote:
7 >
8 > I think I will ping pynac upstream to see if they have any idea but I think
9 > it may be a recurring gcc or a subtle abuse of C++. It would be interesting to see
10 > if putting -fno-fat-lto-objects would with getting the symbol in pynac. There are
11 > other things ‘i can think off that may work but need to consult upstream and
12 > people who know more c++.
13 >
14 > François
15 >
16 >> On 26/11/2014, at 18:57, Jeramia Poland <jeramia.poland@×××××.com> wrote:
17 >>
18 >> The output of
19 >>
20 >> nm -D /usr/lib64/python2.7/site-packages/sage/symbolic/pynac.so | grep
21 >> ZTVN5GiNaC9containerISt6vectorEE
22 >>
23 >> is:
24 >>
25 >> U _ZTVN5GiNaC9containerISt6vectorEE (with the ZTVN part showing up in red)
26 >>
27 >> The output of
28 >>
29 >> nm -D /usr/lib64/libpynac.so.1.1.0 | grep ZTVN5GiNaC9containerISt6vectorEE
30 >>
31 >> is:
32 >>
33 >> (nothing it appears to be missing)
34 >>
35 >> Output of the third command is attached. The -ffat-lto-objects flag should be in there. I added after the first couple of packages (like pciutils, elfutils, openssh, etc.) wouldn't build to see if it would help so I didn't have to use the "no-lto" environment setting from that graphite and lto instruction page I referenced earlier. It didn't see to work as I now have a package.env file full of no-lto entries. Neither sage nor pynac are no-lto entries right now as it appeared to me that they merged.
36 >>
37 >> Jeramia
38 >>
39 >>
40 >>
41 >> On Wed, Nov 26, 2014 at 2:43 AM, François Bissey <frp.bissey@×××××.com> wrote:
42 >> I think I have all the logs I can use at the moment. I want the output of the
43 >> following two commands:
44 >> nm -D /usr/lib64/python2.7/site-packages/sage/symbolic/pynac.so | grep
45 >> ZTVN5GiNaC9containerISt6vectorEE
46 >>
47 >> nm -D /usr/lib64/libpynac.so.1.1.0 | grep ZTVN5GiNaC9containerISt6vectorEE
48 >>
49 >> Actually make that 3 commands with the output of
50 >> readelf -d /usr/lib64/python2.7/site-packages/sage/symbolic/pynac.so
51 >>
52 >> Also to cross check that I am not missing anything fro your info output,
53 >> I cannot see "-ffat-lto-objects" anywhere in your compilation flags.
54 >> Is this correct?
55 >>
56 >> Francois
57 >>
58 >> On Mon, 24 Nov 2014 19:05:42 François Bissey wrote:
59 >>> Hum I am starting to wonder if there are things going on between lot and C++
60 >>> templates. More professional code may do ok but a lot of the stuff we have
61 >>> in sage may be a bit dubious. Can you send me the penal build log please
62 >>> and for good measure the one for sage. You can do it privately if you don’t
63 >>> want to post big file on the list.
64 >>>
65 >>> I have been free of grading for almost 4 years. My wife is very happy about
66 >>> that.
67 >>>
68 >>> François
69 >>>
70 >>>> On 24/11/2014, at 17:12, Jeramia Poland <jeramia.poland@×××××.com> wrote:
71 >>>>
72 >>>> Sorry for the delayed reply, I had a bunch of papers to grade. Yes, it is
73 >>>> installed. Attached are the lld results. Jeramia
74 >>>>
75 >>>> On Sun, Nov 23, 2014 at 1:20 AM, François Bissey <frp.bissey@×××××.com>
76 >>>> wrote: I hate automated spellchecking, I meant pynac not “penal” I
77 >>>> remember turning it off on an iPad after a ludicrous suggestion for
78 >>>> lapack.
79 >>>>
80 >>>> François
81 >>>>
82 >>>>> On 22/11/2014, at 15:33, François Bissey <frp.bissey@×××××.com> wrote:
83 >>>>> I assume penal is installed otherwise
84 >>>>
85 >>>> <lib_link_1.txt><lib_link_2.txt>
86 >>
87 >>
88 >>
89 >> <readelf.txt>

Replies

Subject Author
Re: [gentoo-science] Emerge Sage-doc-6.3 fails 3.16.5-sources gcc-4.8.3 with lto and graphite Jeramia Poland <jeramia.poland@×××××.com>