Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <brooks@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131101020924.GB32951>