From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-science+bounces-2058-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 864BE1389E2
	for <garchives@archives.gentoo.org>; Wed, 26 Nov 2014 07:32:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7FAAAE087D;
	Wed, 26 Nov 2014 07:32:36 +0000 (UTC)
Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E439DE086A
	for <gentoo-science@lists.gentoo.org>; Wed, 26 Nov 2014 07:32:35 +0000 (UTC)
Received: by mail-pa0-f41.google.com with SMTP id rd3so2353084pab.0
        for <gentoo-science@lists.gentoo.org>; Tue, 25 Nov 2014 23:32:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=content-type:mime-version:subject:from:in-reply-to:date
         :content-transfer-encoding:message-id:references:to;
        bh=NLmONetnDb7id3XDJPUk0TZdSrhvzp1Z6JWAp183gjk=;
        b=v7vXhpWUvKdNRhAdDcBkPDD2V4QbOQvi3NcQIK/jOmW5HNyyxo2/MJ/AUgKXyr8Ajw
         pSWXz2TidUXTahUfPMK3yzBhYND9Zf4JRPgD9QIeRlmCYUoEjgQz0zfC36+m0BiPmptQ
         mNTGYZ1MH4DO2KVjav/1DQdgyK5cWY0rFD+4ToC43SRR/Ga21j9LxiuPnXPhn1p4EsV/
         9JH/fFDdC5v03NjfD2MHFnIP+cX7bvrMwn48djdB5AJ4+GrwveG8NC3lB0P33bA2bx7c
         yZAkPC3mhsJ2ee4rxSPCGFFgVbHa9ojYpMkINlNRTD9DHbpgJX4wh2pOSQcR9njTYiiI
         gwXA==
X-Received: by 10.68.229.33 with SMTP id sn1mr50572800pbc.63.1416987154922;
        Tue, 25 Nov 2014 23:32:34 -0800 (PST)
Received: from [10.0.0.3] ([101.98.191.152])
        by mx.google.com with ESMTPSA id td4sm3405621pbc.36.2014.11.25.23.32.31
        for <gentoo-science@lists.gentoo.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 25 Nov 2014 23:32:33 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Precedence: bulk
List-Post: <mailto:gentoo-science@lists.gentoo.org>
List-Help: <mailto:gentoo-science+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-science+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-science+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-science.gentoo.org>
X-BeenThere: gentoo-science@lists.gentoo.org
Reply-to: gentoo-science@lists.gentoo.org
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Subject: Re: [gentoo-science] Emerge Sage-doc-6.3 fails 3.16.5-sources gcc-4.8.3 with lto and graphite
From: =?utf-8?Q?Fran=C3=A7ois_Bissey?= <frp.bissey@gmail.com>
In-Reply-To: <6E766410-CDDF-43F7-B041-C4704B7CDF58@gmail.com>
Date: Wed, 26 Nov 2014 20:32:28 +1300
Content-Transfer-Encoding: quoted-printable
Message-Id: <999548BE-B23C-476F-B49B-ABF7B0016679@gmail.com>
References: <CAGNNSAA_zPwsNoFkb=D8snnQ7188RMddthTVtXJFu635zbJUDA@mail.gmail.com> <CAGNNSADQKX5Ng5jD5dJsY0NQspb2Z4oQfRL6ctBxFZEy-+5J=Q@mail.gmail.com> <B6FC7D30-46E3-4BAE-BAD4-F69BF1ADC071@slingshot.co.nz> <1674279.U7b94vagPy@qcd-nzi3> <CAGNNSABg5A2Dkr-KP+HFXwJJu4mps-ajdPL50oYZF16PGMsOuA@mail.gmail.com> <6E766410-CDDF-43F7-B041-C4704B7CDF58@gmail.com>
To: gentoo-science@lists.gentoo.org
X-Mailer: Apple Mail (2.1993)
X-Archives-Salt: c8586acc-c032-48ee-a221-501ae6b382b5
X-Archives-Hash: a4949f10948e86d3f190623ee2f30be6

Well first emerge penal with =E2=80=9C-fno-fat-lto-objects=E2=80=9D and =
inspect libpynac.so
for the symbol.

Fran=C3=A7ois

> On 26/11/2014, at 19:28, Fran=C3=A7ois Bissey <frp.bissey@gmail.com> =
wrote:
>=20
> I think I will ping pynac upstream to see if they have any idea but I =
think
> it may be a recurring gcc or a subtle abuse of C++. It would be =
interesting to see
> if putting -fno-fat-lto-objects would with getting the symbol in =
pynac. There are
> other things =E2=80=98i can think off that may work but need to =
consult upstream and
> people who know more c++.
>=20
> Fran=C3=A7ois
>=20
>> On 26/11/2014, at 18:57, Jeramia Poland <jeramia.poland@gmail.com> =
wrote:
>>=20
>> The output of=20
>>=20
>> nm -D /usr/lib64/python2.7/site-packages/sage/symbolic/pynac.so | =
grep
>> ZTVN5GiNaC9containerISt6vectorEE
>>=20
>> is:=20
>>=20
>> U _ZTVN5GiNaC9containerISt6vectorEE  (with the ZTVN part showing up =
in red)
>>=20
>> The output of=20
>>=20
>> nm -D /usr/lib64/libpynac.so.1.1.0 | grep =
ZTVN5GiNaC9containerISt6vectorEE
>>=20
>> is:
>>=20
>> (nothing it appears to be missing)
>>=20
>> 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.
>>=20
>> Jeramia
>>=20
>>=20
>>=20
>> On Wed, Nov 26, 2014 at 2:43 AM, Fran=C3=A7ois Bissey =
<frp.bissey@gmail.com> wrote:
>> I think I have all the logs I can use at the moment. I want the =
output of the
>> following two commands:
>> nm -D /usr/lib64/python2.7/site-packages/sage/symbolic/pynac.so | =
grep
>> ZTVN5GiNaC9containerISt6vectorEE
>>=20
>> nm -D /usr/lib64/libpynac.so.1.1.0 | grep =
ZTVN5GiNaC9containerISt6vectorEE
>>=20
>> Actually make that 3 commands with the output of
>> readelf -d /usr/lib64/python2.7/site-packages/sage/symbolic/pynac.so
>>=20
>> Also to cross check that I am not missing anything fro your info =
output,
>> I cannot see "-ffat-lto-objects" anywhere in your compilation flags.
>> Is this correct?
>>=20
>> Francois
>>=20
>> On Mon, 24 Nov 2014 19:05:42 Fran=C3=A7ois Bissey wrote:
>>> Hum I am starting to wonder if there are things going on between lot =
and C++
>>> templates. More professional code may do ok but a lot of the stuff =
we have
>>> in sage may be a bit dubious. Can you send me the penal build log =
please
>>> and for good measure the one for sage. You can do it privately if =
you don=E2=80=99t
>>> want to post big file on the list.
>>>=20
>>> I have been free of grading for almost 4 years. My wife is very =
happy about
>>> that.
>>>=20
>>> Fran=C3=A7ois
>>>=20
>>>> On 24/11/2014, at 17:12, Jeramia Poland <jeramia.poland@gmail.com> =
wrote:
>>>>=20
>>>> Sorry for the delayed reply, I had a bunch of papers to grade. Yes, =
it is
>>>> installed. Attached are the lld results. Jeramia
>>>>=20
>>>> On Sun, Nov 23, 2014 at 1:20 AM, Fran=C3=A7ois Bissey =
<frp.bissey@gmail.com>
>>>> wrote: I hate automated spellchecking, I meant pynac not =
=E2=80=9Cpenal=E2=80=9D I
>>>> remember turning it off on an iPad after a ludicrous suggestion for
>>>> lapack.
>>>>=20
>>>> Fran=C3=A7ois
>>>>=20
>>>>> On 22/11/2014, at 15:33, Fran=C3=A7ois Bissey =
<frp.bissey@gmail.com> wrote:
>>>>> I assume penal is installed otherwise
>>>>=20
>>>> <lib_link_1.txt><lib_link_2.txt>
>>=20
>>=20
>>=20
>> <readelf.txt>