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

Bryan Drewery bdrewery at FreeBSD.org
Fri Nov 1 02:24:03 UTC 2013


On 10/31/2013 8:02 PM, 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.

I see errors in libkrb5 with -j32 quite often lately. Are you building
with high -j?

> 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
>>
> 
> 
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20131031/b9270ae6/attachment.sig>


More information about the svn-src-all mailing list