From owner-freebsd-arch@freebsd.org Wed Mar 8 17:23:14 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D64B8D03559 for ; Wed, 8 Mar 2017 17:23:14 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BD8EF10A2 for ; Wed, 8 Mar 2017 17:23:14 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BCE48D03557; Wed, 8 Mar 2017 17:23:14 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC77BD03556; Wed, 8 Mar 2017 17:23:14 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay119.isp.belgacom.be (mailrelay119.isp.belgacom.be [195.238.20.146]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D800E10A0; Wed, 8 Mar 2017 17:23:13 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BUFwBTPcBY/0nD8VFeHAEBBAEBCgEBg?= =?us-ascii?q?1FBEEFZg2CKf5BZKQGXG4JsgzYCgj9DFQECAQEBAQEBAWsohRYBBSMzIxALGAI?= =?us-ascii?q?CBSECAg8qHgYTigOwRYIminwBAQEBBgEBAQEkgQuKMoRUgwaCXwWcNo1DhGh2g?= =?us-ascii?q?SqPDZM+NSKBAzcsCIcUPzWKEwEBAQ?= X-IPAS-Result: =?us-ascii?q?A2BUFwBTPcBY/0nD8VFeHAEBBAEBCgEBg1FBEEFZg2CKf5B?= =?us-ascii?q?ZKQGXG4JsgzYCgj9DFQECAQEBAQEBAWsohRYBBSMzIxALGAICBSECAg8qHgYTi?= =?us-ascii?q?gOwRYIminwBAQEBBgEBAQEkgQuKMoRUgwaCXwWcNo1DhGh2gSqPDZM+NSKBAzc?= =?us-ascii?q?sCIcUPzWKEwEBAQ?= Received: from 73.195-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.195.73]) by relay.skynet.be with ESMTP; 08 Mar 2017 18:21:26 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v28HLOPA079207; Wed, 8 Mar 2017 18:21:25 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Wed, 8 Mar 2017 18:21:24 +0100 From: Tijl Coosemans To: Dag-Erling =?UTF-8?B?U23DuHJncmF2?= Cc: Baptiste Daroussin , ports@FreeBSD.org, arch@FreeBSD.org Subject: Re: manpath change for ports ? Message-ID: <20170308182124.79c4bc13@kalimero.tijl.coosemans.org> In-Reply-To: <86mvcvojzt.fsf@desk.des.no> References: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> <86mvcvojzt.fsf@desk.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 17:23:14 -0000 On Wed, 08 Mar 2017 16:39:50 +0100 Dag-Erling Sm=C3=B8rgrav wr= ote: > 4) Remove the hardcoded library path in lang/gcc* >=20 > This makes it possible to work on software that includes both libraries > and programs while an earlier copy of the same software is already > installed. With the current state of gcc, the programs you are working > on will be linked against the version of the library that's already > installed instead of the version you just compiled, and there is nothing > you can do to prevent it. You won't notice anything if all you ever do > is "make && make install", because the new library will replace the old, > but if you try to run your program directly from the build tree, it will > use the wrong library. This can be incredibly frustrating if you're not > aware of it - imagine you're trying to fix a bug in that library and no > matter what you do, your regression test keeps failing... Are you talking about gcc implicitly searching /usr/local/include and /usr/local/lib?