this breaks builds of head on stable/9 (Re: svn commit: r257268 - head/gnu/usr.bin/binutils/ld

Luigi Rizzo rizzo at iet.unipi.it
Fri Nov 1 01:02:29 UTC 2013


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 ?

thanks
luigi


On Mon, Oct 28, 2013 at 12:56 PM, Brooks Davis <brooks at 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 at 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)
-----------------------------------------+-------------------------------


More information about the svn-src-all mailing list