Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Pre RFC on RFC: Add compiler information to exported a Package Manger's Cached Information.
Date: Sat, 21 Feb 2015 20:18:21
Message-Id: 54E8E809.8050702@gentoo.org
In Reply to: [gentoo-portage-dev] Pre RFC on RFC: Add compiler information to exported a Package Manger's Cached Information. by "Anthony G. Basile"
1 On 02/21/2015 08:14 AM, Anthony G. Basile wrote:
2 > Finally, a limitation of the above should be noted. Since the
3 > CFLAGS/CXXFLAGS cached are only those supplied by the user, it does not
4 > cover situations where the package build system or ebuild supply their
5 > own -std= flag. Since this information cannot and should not be cached
6 > by the package manager, utilities used to find any mismatches in C++ ABI
7 > must provide for this intelligence.
8
9 I wonder if it's feasible to force the -rpath option when using the
10 -std= flag, and force the real/canonical libstc++.so path into the
11 rpath. There's some mention of -rpath here:
12
13 http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN95
14
15 Have the -rpath information in the binaries should make it easy to
16 correctly resolve the library dependencies.
17 --
18 Thanks,
19 Zac

Replies