From owner-svn-src-head@FreeBSD.ORG Fri Nov 1 12:15:20 2013 Return-Path: Delivered-To: svn-src-head@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 ESMTP id C3EC9B13 for ; Fri, 1 Nov 2013 12:15:20 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A5257276A for ; Fri, 1 Nov 2013 12:15:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA1CFJVr046036 for ; Fri, 1 Nov 2013 12:15:19 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA1CFJrv046035 for svn-src-head@freebsd.org; Fri, 1 Nov 2013 12:15:19 GMT (envelope-from bdrewery) Received: (qmail 96826 invoked from network); 1 Nov 2013 07:15:17 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 1 Nov 2013 07:15:17 -0500 Message-ID: <52739B4C.9090007@FreeBSD.org> Date: Fri, 01 Nov 2013 07:15:08 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Luigi Rizzo , Brooks Davis Subject: Re: this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld References: <20131101020924.GB32951@lor.one-eyed-alien.net> <20131101061842.GA8911@onelab2.iet.unipi.it> In-Reply-To: <20131101061842.GA8911@onelab2.iet.unipi.it> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XrsitPWbIgEkJMoTU0Een5m9vpm80mxgb" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 01 Nov 2013 12:15:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XrsitPWbIgEkJMoTU0Een5m9vpm80mxgb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/1/2013 1:18 AM, Luigi Rizzo wrote: > On Thu, Oct 31, 2013 at 09:09:24PM -0500, Brooks Davis wrote: >> 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: >>> >>> =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/= bsd10/usr/home/luigi/FreeBSD/head/tmp/usr/lib/libkrb5.a. >>> Stop >>> >>> reverting the commit fixes the build. >>> >>> 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. >=20 > ok so what happens is the following (trying to build HEAD on 9.2, both = amd64) >=20 > - WITHOUT_CLANG and related options: > "make toolchain" fails with the error on krb5 > "make buildworld" works, and a subsequent > "make toolchain" also works >=20 > - without options (so compiling CLANG) >=20 > "make toolchain" fails with the error below >=20 > building shared library libc.so.7 > /usr/bin/ld: this linker was not configured to use sysroots > cc: error: linker command failed with exit code 1 (use -v to see in= vocation) Are you using ccache? I've seen this error with that before r257268. > *** [libc.so.7] Error code 1 > 1 error > *** [all] Error code 2 > 1 error >=20 >=20 > "make toolchain" on an empty tree used to work until before this commit= , > and does work if i revert this single change >=20 > So does this mean that 'toolchain' now has some prerequisites ? >=20 > cheers > luigi > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" >=20 --=20 Regards, Bryan Drewery --XrsitPWbIgEkJMoTU0Een5m9vpm80mxgb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSc5tNAAoJEDXXcbtuRpfPcboH/0CozDCAOvtW+K+RRoHhxZQd TbEFeK/DW9OvQidwUK+ufWFEEqbxz5A3tJ9fJiDZ9myDkhH+H3bHjPFj9uAQngMf 3w2loKdDYnCxmB2huyXhc/rhzxKaarAqFMb3lszBKgFnhG9C0COzmBcIx3wOJzX4 dGh7FvYiPrIZf/VZr+pEn/Fgd17gM4kHsSocmDyAgEXHWekug8cA2ewFdK/Y91aF wgkfqbonlu5rH5SGptkx2W8V+NjrDSyFgZs57VOyZAUxP1M95Ao2pyjXOCqaqbgF 1ycBcZQQRgss+PBgSh/U1tTyOyslScl+7GD+/I3G+SMXN3FMGsKEaXjb2v3RdwA= =kgxj -----END PGP SIGNATURE----- --XrsitPWbIgEkJMoTU0Een5m9vpm80mxgb--