Gentoo Archives: gentoo-science

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