From owner-svn-src-head@freebsd.org Sun Jun 28 09:55:09 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 B40F998C07B; Sun, 28 Jun 2015 09:55:09 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (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 3F0911CA0; Sun, 28 Jun 2015 09:55:09 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wgck11 with SMTP id k11so119203591wgc.0; Sun, 28 Jun 2015 02:55:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=lN52cwqKJFQzZ2hq3ksfaeWuFm0VRw3YmB/E47V0Pu4=; b=t348bTL0X2pq9TT/2JCHI7otxTCgIX5SdsiLOkCPx0Un/TumRIEhxtxM5Ds26In2Ho XiyCqNDbG4RNZC5ipwnstdrSaaNYWDM0tblSaxdE/l59ycv97n7k6dK4MHzxSxNf+pup Lt35hC8w0oaKHUzxuCxnZAxoEKqfQTlJK33aV3SVehtkcxzAhqvX03JYPjjKG2nCgWdU VR3Jc/W1m0IHnsD+QLq4SfPuPSxGCWpWomDWuuulEe/OzzMGtVDPVfweFKUINU+xOWs4 zelV5DC5znZUqGP9brJqmvzA15wt+RXde9NCdHMcA7vzdTtCDWzWx+oU0FJ0I185HUU1 HoWw== X-Received: by 10.180.11.200 with SMTP id s8mr12271356wib.17.1435485307794; Sun, 28 Jun 2015 02:55:07 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id fq7sm6710297wic.5.2015.06.28.02.55.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 02:55:06 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 28 Jun 2015 11:55:04 +0200 From: Baptiste Daroussin To: Dimitry Andric Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , NGie Cooper Subject: Re: svn commit: r284898 - in head: . share/mk Message-ID: <20150628095504.GD68142@ivaldir.etoilebsd.net> References: <201506272328.t5RNSvQS063168@svn.freebsd.org> <260A448A-7195-49E6-8CCD-9F0753B61A18@gmail.com> <20150628074103.GA68142@ivaldir.etoilebsd.net> <20150628074931.GB68142@ivaldir.etoilebsd.net> <20150628085714.GC68142@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W5WqUoFLvi1M7tJE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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 09:55:09 -0000 --W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 28, 2015 at 11:48:48AM +0200, Dimitry Andric wrote: > On 28 Jun 2015, at 10:57, Baptiste Daroussin wrote: > >=20 > > On Sun, Jun 28, 2015 at 01:44:21AM -0700, NGie Cooper wrote: > >> On Sun, Jun 28, 2015 at 12:49 AM, Baptiste Daroussin wrote: > >> ... > >>> Not at all I have this on a both where I haven't yet r284898 iirc it = is like > >>> this since the beginning I do not remember seeing those ld scripts wi= th absolute > >>> path. > >>=20 > >> $ cat /usr/lib/libc.so > >> /* $FreeBSD$ */ > >> GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonsh= ared.a ) > >> $ what -q /boot/GENERIC.r283337+9c333ed/kernel > >> FreeBSD 11.0-CURRENT #4 r283337+9c333ed(isilon-atf): Tue May 26 > >> 21:49:09 PDT 2015 > >=20 > > Yes you are right, I was looking at the wrong place. >=20 > What is actually the perceived problem with having paths in those linker > scripts? If you use --sysroot, the libraries are searched relative to > that sysroot, right? >=20 > (And yes, I know our gcc's sysroot implementation is broken. So please > fix that instead. :-) >=20 WHat is the point in having absolute path in the linker script? having an absolute patch (or even no path at all) will make the compiler looking in i= ts search path (and respecting sysroot). The only case where a path is needed = seems to be when the lib you want to link to is not in the search path. Am I miss= ing something? Best regards, Bapt --W5WqUoFLvi1M7tJE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlWPxHgACgkQ8kTtMUmk6EymagCfWL14CfNReVMCnVMbKzHv4vVL 2GYAniprKzNH1zhm1tQUhvsHKoOZDSZd =eEqT -----END PGP SIGNATURE----- --W5WqUoFLvi1M7tJE--