From owner-svn-src-all@freebsd.org Sun Jun 28 15:10:54 2015 Return-Path: Delivered-To: svn-src-all@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 A8CFC98F7C1; Sun, 28 Jun 2015 15:10:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (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 715E118FC; Sun, 28 Jun 2015 15:10:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcsj18 with SMTP id sj18so62903118igc.1; Sun, 28 Jun 2015 08:10:53 -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=Og9yEUWe3i/eVdCD6RGo/y7Xfbj6K1BpQLClFu5JzlQ=; b=bJQbK/TuSyxPhPrLgNiB+5Wm+lLwRfiiId/iZR9/4c5FPsqKNF6/J8rd5ioAKwAnjF HOD7tlg91wZdCzFZ+2TUqFPo2m0pRe2O9Q63gqiss2qtA8G+qyrpk2ERe21LW6Qg+9Ej ++ErL37PVWJuXht3pcuFzaF+dIUCYcfXNEtcyo86UFuxOzGF185F3K7E82KiV4QDD9Xa 5z3qTWqsWq/RC249YlvMPD+SJ87l6gpHwF9r2UiI5jMUJZyDsOAV38Eprwoh46phpjrD S0PUlxpZ+TAp7LbiW8fKVlils4OLlfihW3MZ/s14HxZ9NDeaBcqr33XK4HTUh+aQ0SJL Nc3Q== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr14486792ioe.29.1435504253926; Sun, 28 Jun 2015 08:10:53 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Sun, 28 Jun 2015 08:10:53 -0700 (PDT) In-Reply-To: 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> Date: Sun, 28 Jun 2015 08:10:53 -0700 Message-ID: Subject: Re: svn commit: r284898 - in head: . share/mk From: Adrian Chadd To: Dimitry Andric Cc: Baptiste Daroussin , NGie Cooper , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 15:10:54 -0000 I'm actively ignoring in-tree gcc and working on making sure the external toolchain and cross compiler stuff is working out okay. I'd like to eventually deorbit gcc-4.2 for MIPS and use an external toolchain (in this instance, gcc-4.9.x for now) for both building MIPS and as the compiler that will run on MIPS. Once LLVM and cross-compiling is .. better, we can use that. (But really, I'd like to see everyone doing compiler hijinx to just use the external toolchain support for testing out compilers. It'll make new CPU/board bring-up much more attractive to companies. :) -a On 28 June 2015 at 02:48, Dimitry Andric wrote: > On 28 Jun 2015, at 10:57, Baptiste Daroussin wrote: >> >> 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 with absolute >>>> path. >>> >>> $ cat /usr/lib/libc.so >>> /* $FreeBSD$ */ >>> GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonshared.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 >> >> Yes you are right, I was looking at the wrong place. > > 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? > > (And yes, I know our gcc's sysroot implementation is broken. So please > fix that instead. :-) > > -Dimitry >