From owner-freebsd-arch@freebsd.org Wed Mar 8 17:31:33 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 E9DC2D03965 for ; Wed, 8 Mar 2017 17:31:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C72F11931 for ; Wed, 8 Mar 2017 17:31:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id C3D0DD03963; Wed, 8 Mar 2017 17:31:33 +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 C3825D03962 for ; Wed, 8 Mar 2017 17:31:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B329192F for ; Wed, 8 Mar 2017 17:31:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22a.google.com with SMTP id g138so43771110itb.0 for ; Wed, 08 Mar 2017 09:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=eOvtHAB8Td0U8cliKspRxvVb35Z327+l2zv5OTs6gCo=; b=q07vS1J6nD9HvmU8+3kretio9bbHouEzqp97iNPibndPfyo3grCBcCDLwzpEKM4ROP 6pR/jj1OBeAy37eMgkafxYVRnBOrzyP7MPraEeFUfblINvBC2bp4qTo1S+FZZ626YCa1 Zi8zTzcbEgNpRcqiykpSLqKjKw7T/OVGqqVdN7WCKD3RDJ/FpgfxveB/p2C4xuLzOerJ OXq+IHA522CrkfBqZDLQHMQfSB4PYpwOqxd/T8ruCLFUQqJBlRWhLPDD6HevBT9pnKKI rHJVfalsMr0JpkuzMOrN3glZeS/zfRkKPab2t8/3K7/c01vTAtKrzUvvOAp7Ed7DLu3V 5RPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=eOvtHAB8Td0U8cliKspRxvVb35Z327+l2zv5OTs6gCo=; b=JrH4rrLKxThYyzFTx5/YEvfzE/XTMII7O9JgK/83svtD8pswtfcoD9fn9xZURdk3jT nYv85Ely3PYMPG6WRAxTxE4kTl2jxW2pQ691MtqBrzCtugrQZnTE5go/EdSxTzxlec6V 1rt+2gD0MAtOjKK/zsIuKDXvJm+8Atz2fI9iQCwxSx6WCCwdb69+dNoFm0nIYQMAqACE 0venRApeIJUIhMBNbXUgEv10todA0Kp/dyYCDM83rqd7rzZl44QV2W6SYZd3/Z4WinfP 0ga1wl202RCnePTJ9YeyyB9BxzbXxfBLgl644+5e9bX8q7sSaoqHFozE948R9ORiPz+l Z2LQ== X-Gm-Message-State: AMke39m04OGJKXOyxywgABGzVHUNDOl9BIo3BDQP2PbcnK/SOYZ2CdFAhTeFnncY2VY4RVZw2R0hbAxX0riElA== X-Received: by 10.36.116.71 with SMTP id o68mr8102427itc.60.1488994292677; Wed, 08 Mar 2017 09:31:32 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.134.129 with HTTP; Wed, 8 Mar 2017 09:31:32 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: <20170308182124.79c4bc13@kalimero.tijl.coosemans.org> References: <20170306235610.cmpxk27jhoafel6l@ivaldir.net> <86mvcvojzt.fsf@desk.des.no> <20170308182124.79c4bc13@kalimero.tijl.coosemans.org> From: Warner Losh Date: Wed, 8 Mar 2017 10:31:32 -0700 X-Google-Sender-Auth: VLPcFSIUaPZ9K7h_6waLZszdytk Message-ID: Subject: Re: manpath change for ports ? To: Tijl Coosemans Cc: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= , ports@freebsd.org, "freebsd-arch@freebsd.org" , Baptiste Daroussin 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:31:34 -0000 On Wed, Mar 8, 2017 at 10:21 AM, Tijl Coosemans wrote: > On Wed, 08 Mar 2017 16:39:50 +0100 Dag-Erling Sm=C3=B8rgrav = wrote: >> 4) Remove the hardcoded library path in lang/gcc* >> >> 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? That's currently inconsistent between base gcc, clang, binutils and ports versions. I forget which ones do and which ones don't search automatically. IMHO, they all should. Warner