From owner-svn-src-head@freebsd.org Sun Jun 28 05:31:48 2015 Return-Path: Delivered-To: svn-src-head@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 7C0B798EE9C; Sun, 28 Jun 2015 05:31:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 48A661D51; Sun, 28 Jun 2015 05:31:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igrv9 with SMTP id v9so23158379igr.1; Sat, 27 Jun 2015 22:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SNF0WTsK+vpqjl+yYtl2ggf4eeA0EyZ3/TpDZl9lFXw=; b=hM4d0pHWezyZXmEC21qRU1a+XUifa+bWT47yo271WWftU6baziyNLagkHR9LbPkHWD qWnmpheNzZI16CKrDHpKhl4gAUVZAhP4eXCHjNywgYeBMfkLY14HdgbP6AoeavSgRBbz vtZVuaofp3trkVnt5w5bGJAn2YhKBKDnSFPhWJioKPs1HyOdaaZZh7WkvCVWJxvLxu+/ g6rx0h4cqamnWZWZCsLgETZLwncrUvvKWyLyaDjUtVVElpgTkGuulszItQCPueEdymZZ sW3R5AXePugWkjrJiM7jL/iaGsdlKwbktLxC/ZbyczVtl4SDcLt2JKg56WA1kH3qty0/ jEew== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr12141340ioe.29.1435469507797; Sat, 27 Jun 2015 22:31:47 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Sat, 27 Jun 2015 22:31:47 -0700 (PDT) In-Reply-To: <260A448A-7195-49E6-8CCD-9F0753B61A18@gmail.com> References: <201506272328.t5RNSvQS063168@svn.freebsd.org> <260A448A-7195-49E6-8CCD-9F0753B61A18@gmail.com> Date: Sat, 27 Jun 2015 22:31:47 -0700 Message-ID: Subject: Re: svn commit: r284898 - in head: . share/mk From: Adrian Chadd To: Garrett Cooper Cc: Baptiste Daroussin , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 05:31:48 -0000 On 27 June 2015 at 20:37, Garrett Cooper wrote: > >> On Jun 27, 2015, at 16:28, Baptiste Daroussin wrote: >> >> Author: bapt >> Date: Sat Jun 27 23:28:56 2015 >> New Revision: 284898 >> URL: https://svnweb.freebsd.org/changeset/base/284898 >> >> Log: >> Make all shared library a relative symlink >> >> This makes sysroot usable for cross building, it also removes the need for >> _SHLIBDIRPREFIX (keeps its definition since picobsd uses it and I have no time >> to test it) >> >> Differential Revision: https://reviews.freebsd.org/D2920 >> Submitted by: imp, adrian >> Tested by: adrian > > Thank you!!! Now all you need to do is fix the ldscripts (lib/libc, etc) to not have absolute paths. Yup! But it's baby steps. I'm looking at the netbsd gcc patches right now to see how they fixed up sysroot. It doesn't look like they fully fixed gcc sysroot behaviour. :( -a