From owner-freebsd-current@FreeBSD.ORG Thu May 1 05:02:35 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19352F3B for ; Thu, 1 May 2014 05:02:35 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1785165E for ; Thu, 1 May 2014 05:02:34 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id hz1so3109883pad.21 for ; Wed, 30 Apr 2014 22:02:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=86A0pN5fItw0Da6n96xcyhw1I9EN7+Yf61Aogtnaz00=; b=jLRWza886tw5xamGpZSIwPVuHHrxXPRTHVIS7as4R61NKicrG504KgMBKATbi49GTn q9YBt25L53smx818teTMCJgtRtmPReIvpV6YAWGHaVRZbd5YmauWQ1F37ebzf/Fr5/NT G34vGfHHrKL3TqdYDqPHgV6VmNhouS0fA7AKRzlrzEBIuXS6+8B50rPaBt4gW84rs8hw GfQ5a/U+ybXxyEYl4T+iLxVR8aTr9VNZ1LJXCgUpnZM2a65qMGq+yjd10aiTZXK8ZtOx kGfy5gNqdUNCq0/rgXhdaGsdskDuR6ysU4ji67JE+cucJH+TCONjYrKBAG8j8EBY9+0F JtQA== X-Gm-Message-State: ALoCoQkM335b+TWma/c2QFr8tE5Wu9rsakjrKwCi/GkRI52iM8ypWpHOXtIYky9bVhow0y98N4R2 X-Received: by 10.66.146.199 with SMTP id te7mr16846657pab.106.1398920553901; Wed, 30 Apr 2014 22:02:33 -0700 (PDT) Received: from macintosh-3c0754232d17.corp.netflix.com (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id i10sm147715203pat.36.2014.04.30.22.02.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 22:02:33 -0700 (PDT) Sender: Warner Losh X-Google-Original-From: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: POLA.. missing --sysroot option in ld? From: Warner Losh In-Reply-To: <53607ABD.1000605@freebsd.org> Date: Wed, 30 Apr 2014 23:02:31 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <536061A9.7030502@freebsd.org> <53607ABD.1000605@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.1874) Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 05:02:35 -0000 On Apr 29, 2014, at 10:23 PM, Julian Elischer = wrote: > On 4/30/14, 10:36 AM, Julian Elischer wrote: >> In our 8.0 based systems at $JOB our build environment made heavy use = of the --sysroot option in gcc and ld. >>=20 >> We are trying to move up to a newer release but suddenly the = --sysroot option has disappeared. >>=20 >> we get the message "/usr/bin/ld: this linker was not configured to = use sysroots" > more spefically the following command (from 'configure') fails on = "near 9" > and succeeds on 8.0. >=20 > configure:3352: /usr/bin/gcc -Wall -Wno-unused-parameter -nostdinc = -isystem /usr/build/buildroot/tools/x86_gcc4.2.4/usr/include --sysroot = /usr/build/buildroot/tools/x86_gcc4.2.4 -Wall -Wno-unused-parame > ter -nostdinc -isystem = /usr/build/buildroot/tools/x86_gcc4.2.4/usr/include --sysroot = /usr/build/buildroot/tools/x86_gcc4.2.4 --sysroot = /usr/build/buildroot/tools/x86_gcc4.2.4 -L/usr/build/buildroot/too > ls/x86_gcc4.2.4/lib -L/usr/build/buildroot/tools/x86_gcc4.2.4/usr/lib = conftest.c >&5 >>=20 >> Does anyone know what happened? and when, and by who? >> I have looked in the Makefiles and configuration files in SVN and I = can't see a change that would have done this.. >> of course the building of these tools is rather complex so I may have = missed some place.. Yea, I looked too and don=92t see anything. I thought it was broken in = more like 2005 not 2011. You=92re only hope is to bisect the tree down = to the change that caused it=85 Warner