Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: alexmcwhirter@×××××××.us
Cc: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] recent glibc commit breaks boost on sparc64
Date: Fri, 09 Sep 2016 04:18:17
Message-Id: 20160909061759.2f011eee.mgorny@gentoo.org
In Reply to: [gentoo-dev] recent glibc commit breaks boost on sparc64 by alexmcwhirter@triadic.us
1 On Thu, 08 Sep 2016 18:49:06 -0400
2 alexmcwhirter@×××××××.us wrote:
3
4 > I'm in the process of rebuilding a new livecd via catalyst with this
5 > commit reverted just to be sure this is the issue, but this is the only
6 > libc commit since my last build. It usually takes about 48 hours for a
7 > full stage1 - livecd build so i wont know for sure until then.
8 >
9 > commit: ffc59b9e2bbe9ad89a1ab60e3a147785fe944141
10 >
11 > Do not call multilib_env_reset unless cross-compiling, in order to
12 > prevent the function from redefining profile-defined variables such as
13 > LIBDIR_*.
14 >
15 > boost is failing as follows.
16 >
17 > /bin/sh: error while loading shared libraries: libc.so.6: failed to map
18 > segment from shared object
19 > gcc.compile.c++
20 > bin.v2/libs/math/build/gcc-4.9/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/comp_ellint_1f.o
21 >
22 > In file included from ./boost/format.hpp:50:0,
23 > from ./boost/math/policies/error_handling.hpp:31,
24 > from ./boost/math/special_functions/ellint_rf.hpp:22,
25 > from ./boost/math/special_functions/ellint_1.hpp:22,
26 > from libs/math/build/../src/tr1/comp_ellint_1f.cpp:11:
27 > ./boost/format/parsing.hpp:1:0: internal compiler error: Aborted
28 > //
29 > ----------------------------------------------------------------------------
30 > ^
31 > Please submit a full bug report,
32 > with preprocessed source if appropriate.
33 > See <https://bugs.gentoo.org/> for instructions.
34 >
35 > It's worth noting that this is a custom profile based on the amd64
36 > profile for sparc64. That being said, it has been rock solid since
37 > January, this is the first issue that i have come across of this nature.
38
39 If you use a custom profile, you need to ensure that it sets all
40 the standard variables and not rely on random ebuilds overriding them
41 for you. Your 'rock solid' argument doesn't mean anything to me; you
42 just didn't notice it being broken, that's all.
43
44 I've took a quick look and don't see anything obviously wrong. But
45 then, I have no clue which of those profiles you actually use and how.
46 If you want to debug it, I suggest dumping all the variables set by
47 multilib_env() in the place patch changes the eclass, and seeing which
48 one is different.
49
50 --
51 Best regards,
52 Michał Górny
53 <http://dev.gentoo.org/~mgorny/>

Replies

Subject Author
Re: [gentoo-dev] recent glibc commit breaks boost on sparc64 alexmcwhirter@×××××××.us