From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3BBF1138C9D for ; Wed, 29 Apr 2015 11:26:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FA0BE0963; Wed, 29 Apr 2015 11:26:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8617DE093B for ; Wed, 29 Apr 2015 11:26:12 +0000 (UTC) Received: from [192.168.3.7] (cpe-74-77-145-97.buffalo.res.rr.com [74.77.145.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: blueness) by smtp.gentoo.org (Postfix) with ESMTPSA id 4A203340B86 for ; Wed, 29 Apr 2015 11:26:11 +0000 (UTC) Message-ID: <5540C01C.7090202@gentoo.org> Date: Wed, 29 Apr 2015 07:27:24 -0400 From: "Anthony G. Basile" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: RFC: c++14 global USE flag References: <20150424194217.0176adc0@googlemail.com> <553A91F6.7080505@gentoo.org> <553BA02E.7000805@gentoo.org> <20150425152317.20001.qmail@stuge.se> <553FE89B.2000903@gentoo.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 1a689538-47d8-44b8-8f5b-60cb685f02a6 X-Archives-Hash: 75dd0c472cbc598db05f4610317b3edb On 04/28/15 17:52, Mike Gilbert wrote: > On Tue, Apr 28, 2015 at 4:07 PM, Anthony G. Basile wrote: >> On 04/26/15 23:21, Duncan wrote: >>> Diego Elio Pettenò posted on Sun, 26 Apr 2015 17:41:04 +0100 as excerpted: >>> >>>> On 25 April 2015 at 16:57, Duncan <1i5t5.duncan@cox.net> wrote: >>>> >>>>> Of course, one thing that could make the process faster would be if C++ >>>>> based packages were marked some way. >>>> >>>> revdep-rebuild --soname 'libstdc\+\+.so.*' >>>> >>>> should do the trick. Stuff that does not link the library (statically >>>> linked or using libsupc++) should not really matter. >>> Thanks. Obvious in hindsight. =:^) >>> >> just saw this. This works unless you have two versions of gcc installed. >> The c++11 abi emitted by gcc-4.7 and 4.8 are different and since you link >> against the latest version (see the ordering of directories in >> /etc/ld.so.conf.d/05gcc-x86_64-pc-linux-gnu.conf), building with the earlier >> gcc can cause breakage. We may not want to support such a situation but I'd >> like to. > As I understand it, a given version of gcc links objects against its > own version of libstdc++, but the "latest" version of libstdc++ is > loaded by ld.so at runtime. > > Maybe that's what you meant, but I wanted to clarify that. And if I am > wrong on that, please correct me. ^_^ > Yes. So you could, for example, fix this by setting the correct rpath at link time so the correct library gets loaded at runtime. -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail : blueness@gentoo.org GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA GnuPG ID : F52D4BBA