From owner-svn-src-all@FreeBSD.ORG Fri Nov 1 02:09:28 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 06291C2; Fri, 1 Nov 2013 02:09:28 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 35266231C; Fri, 1 Nov 2013 02:09:26 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.7/8.14.7) with ESMTP id rA129Ppr033039; Thu, 31 Oct 2013 21:09:25 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.7/8.14.7/Submit) id rA129Ova033038; Thu, 31 Oct 2013 21:09:24 -0500 (CDT) (envelope-from brooks) Date: Thu, 31 Oct 2013 21:09:24 -0500 From: Brooks Davis To: Luigi Rizzo Subject: Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld Message-ID: <20131101020924.GB32951@lor.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Brooks Davis , src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 01 Nov 2013 02:09:28 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 31, 2013 at 06:02:25PM -0700, Luigi Rizzo wrote: > as per the subject, after this commit building head on stable/9 > fails with the error below: >=20 > =3D=3D=3D> lib/libpam/modules/pam_krb5 (all) > make: don't know how to make > /media/bsd10/usr/home/luigi/FreeBSD/head/../usr/obj-pico-amd64/media/bsd1= 0/usr/home/luigi/FreeBSD/head/tmp/usr/lib/libkrb5.a. > Stop >=20 > reverting the commit fixes the build. >=20 > Any idea how this can be fixed ? I just built world and kernel with a freshly checked out head on ref9-amd64 so I supect something in your environment. This change should only impact the installed copy of ld which would have no effect on a 9-stable system. Any portion of the build system using a version effected by this change is broken since only the cross build version should be used and that one will have it's own sysroot value as always it always has. -- Brooks > On Mon, Oct 28, 2013 at 12:56 PM, Brooks Davis wrote: >=20 > > Author: brooks > > Date: Mon Oct 28 19:56:46 2013 > > New Revision: 257268 > > URL: http://svnweb.freebsd.org/changeset/base/257268 > > > > Log: > > Enable the --sysroot=3D/foo option in ld by always building with a sy= sroot > > defined. When not building as a cross linker, the sysroot is set to "= /". > > > > Exp-run by: bdrewery (ports/183206) > > MFC after: 3 days > > > > Modified: > > head/gnu/usr.bin/binutils/ld/Makefile > > > > Modified: head/gnu/usr.bin/binutils/ld/Makefile > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/gnu/usr.bin/binutils/ld/Makefile Mon Oct 28 19:46:01 2013 > > (r257267) > > +++ head/gnu/usr.bin/binutils/ld/Makefile Mon Oct 28 19:56:46 2013 > > (r257268) > > @@ -31,7 +31,7 @@ CFLAGS+=3D -DTARGET=3D\"${TARGET_TUPLE}\" > > CFLAGS+=3D -DDEFAULT_EMULATION=3D\"${NATIVE_EMULATION}\" > > CFLAGS+=3D -DSCRIPTDIR=3D\"${TOOLS_PREFIX}/usr/libdata\" > > CFLAGS+=3D -DBFD_VERSION_STRING=3D\"${VERSION}\" > > -CFLAGS+=3D -DBINDIR=3D\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=3D\"${TOOLS_P= REFIX}\" > > +CFLAGS+=3D -DBINDIR=3D\"${BINDIR}\" > > -DTARGET_SYSTEM_ROOT=3D\"${TOOLS_PREFIX:U/}\" > > CFLAGS+=3D -DTOOLBINDIR=3D\"${TOOLS_PREFIX}/${BINDIR}/libexec\" > > CFLAGS+=3D -D_GNU_SOURCE > > CFLAGS+=3D -I${SRCDIR}/ld -I${SRCDIR}/bfd > > >=20 >=20 >=20 > --=20 > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2211611 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFScw1SXY6L6fI4GtQRAlNNAJ45PSt6mSeRcZoa1pjMLULSVOZIsQCeJcxZ K842w8bgut0Uhk9FPK+Uo9o= =vNiu -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--