Date: Thu, 31 Oct 2013 21:09:24 -0500 From: Brooks Davis <brooks@freebsd.org> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Brooks Davis <brooks@freebsd.org>, src-committers@freebsd.org 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> In-Reply-To: <CA%2BhQ2%2Bh3LA%2Buk6RQg5a6QHAEedEZPZ=RUbLCZ1ZqFvNNi3EAAg@mail.gmail.com> References: <CA%2BhQ2%2Bh3LA%2Buk6RQg5a6QHAEedEZPZ=RUbLCZ1ZqFvNNi3EAAg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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: > > ===> 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. -- Brooks > On Mon, Oct 28, 2013 at 12:56 PM, Brooks Davis <brooks@freebsd.org> wrote: > > > 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=/foo option in ld by always building with a sysroot > > 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 > > > > ============================================================================== > > --- 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+= -DTARGET=\"${TARGET_TUPLE}\" > > CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\" > > CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\" > > CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" > > -CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX}\" > > +CFLAGS+= -DBINDIR=\"${BINDIR}\" > > -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX:U/}\" > > CFLAGS+= -DTOOLBINDIR=\"${TOOLS_PREFIX}/${BINDIR}/libexec\" > > CFLAGS+= -D_GNU_SOURCE > > CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd > > > > > > -- > -----------------------------------------+------------------------------- > 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) > -----------------------------------------+------------------------------- [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFScw1SXY6L6fI4GtQRAlNNAJ45PSt6mSeRcZoa1pjMLULSVOZIsQCeJcxZ K842w8bgut0Uhk9FPK+Uo9o= =vNiu -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131101020924.GB32951>
