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

Replies

Subject Author
Re: [gentoo-science] Emerge Sage-doc-6.3 fails 3.16.5-sources gcc-4.8.3 with lto and graphite "François Bissey" <frp.bissey@×××××.com>