From nobody@FreeBSD.org  Sun Sep 23 04:32:21 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0023A106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Sep 2012 04:32:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D5A7B8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Sep 2012 04:32:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8N4WK93082796
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Sep 2012 04:32:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8N4WK7r082795;
	Sun, 23 Sep 2012 04:32:20 GMT
	(envelope-from nobody)
Message-Id: <201209230432.q8N4WK7r082795@red.freebsd.org>
Date: Sun, 23 Sep 2012 04:32:20 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [build] binutils build failed because of race with -j24
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171883
>Category:       misc
>Synopsis:       [build] binutils build failed because of race with -j24
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 23 04:40:04 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Feb 03 22:31:02 UTC 2013
>Originator:     Garrett Cooper
>Release:        9-STABLE
>Organization:
EMC Isilon
>Environment:
FreeBSD bayonetta.local 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240836M: Sat Sep 22 12:30:11 PDT 2012     gcooper@bayonetta.local:/usr/obj/store/freebsd/stable/9/sys/BAYONETTA  amd64
>Description:
Ran into this error while attempting to build binutils:

echo "@set VERSION "2.17.50 [FreeBSD] 2007-07-03"" > gasver.texi
echo "@set VERSION "2.17.50 [FreeBSD] 2007-07-03"" > ldver.texi
grep -v '^#' < /store/freebsd/atf-head/share/timedef/cs_CZ.ISO8859-2.src > cs_CZ.ISO8859-2.out
echo "@set VERSION "2.17.50 [FreeBSD] 2007-07-03"" > config.texi
grep -v '^#' < /store/freebsd/atf-head/share/timedef/cs_CZ.UTF-8.src > cs_CZ.UTF-8.out
makeinfo --no-validate -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/libiberty -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/bfd/doc --no-split -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/binutils/doc/binutils.texi  -o binutils.info
ln -sf /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/ld/gen-doc.texi configdoc.texi
grep -v '^#' < /store/freebsd/atf-head/share/timedef/da_DK.ISO8859-1.src > da_DK.ISO8859-1.out
===> usr.bin/lex (all)
===> sbin/spppcontrol (all)
grep -v '^#' < /store/freebsd/atf-head/share/timedef/da_DK.UTF-8.src > da_DK.UTF-8.out
/store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/binutils/doc/binutils.texi:7: @include `bfdver.texi': No such file or directory.
gzip -cn /store/freebsd/atf-head/lib/libc/sys/modfind.2 > modfind.2.gz
gzip -cn /store/freebsd/atf-head/lib/libc/sys/modstat.2 > modstat.2.gz
/store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/binutils/doc/binutils.texi:104: warning: undefined flag: VERSION.
cc -O2 -pipe -fno-strict-aliasing -O2 -march=core2 -DTERMIOS -DANSI_SOURCE -I/store/freebsd/atf-head/secure/usr.bin/openssl/../../../crypto/openssl -I/store/freebsd/atf-head/secure/usr.bin/openssl/../../../crypto/openssl/crypto -I/usr/obj/store/freebsd/atf-head/secure/usr.bin/openssl -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DBSAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -DMONOLITH -I/store/freebsd/atf-head/secure/usr.bin/openssl -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -c /store/freebsd/atf-head/secure/usr.bin/openssl/../../../crypto/openssl/apps/rand.c
cc -O2 -pipe -fno-strict-aliasing -O2 -march=core2 -DTERMIOS -DANSI_SOURCE -I/store/freebsd/atf-head/secure/usr.bin/openssl/../../../crypto/openssl -I/store/freebsd/atf-head/secure/usr.bin/openssl/../../../crypto/openssl/crypto -I/usr/obj/store/freebsd/atf-head/secure/usr.bin/openssl -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DBSAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -DMONOLITH -I/store/freebsd/atf-head/secure/usr.bin/openssl -DNO_IDEA -std=gnu99 -fstack-protector -Wno-pointer-sign -c /store/freebsd/atf-head/secure/usr.bin/openssl/../../../crypto/openssl/apps/prime.c
gzip -cn /store/freebsd/atf-head/lib/libc/sys/mprotect.2 > mprotect.2.gz
gzip -cn /store/freebsd/atf-head/lib/libc/sys/mount.2 > mount.2.gz
makeinfo: Removing output file `binutils.info' due to errors; use --force to preserve.
grep -v '^#' < /store/freebsd/atf-head/share/timedef/de_AT.UTF-8.src > de_AT.UTF-8.out
grep -v '^#' < /store/freebsd/atf-head/share/timedef/de_AT.ISO8859-1.src > de_AT.ISO8859-1.out
cc -O2 -pipe -fno-strict-aliasing -O2 -march=core2 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /store/freebsd/atf-head/sbin/spppcontrol/spppcontrol.c
*** [binutils.info] Error code 1
gzip -cn /store/freebsd/atf-head/sbin/spppcontrol/spppcontrol.8 > spppcontrol.8.gz
makeinfo --no-validate -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/libiberty -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/bfd/doc --no-split -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc -I /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils /store/freebsd/atf-head/gnu/usr.bin/binutils/doc/../../../../contrib/binutils/ld/ld.texinfo  -o ld.info
echo "@set VERSION "2.17.50 [FreeBSD] 2007-07-03"" > bfdver.texi
1 error
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
cc -O2 -pipe -fno-strict-aliasing -O2 -march=core2 -I. -I/store/freebsd/atf-head/usr.bin/lex -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /store/freebsd/atf-head/usr.bin/lex/dfa.c
*** [gnu.all__D] Error code 2

I can CC the specs/log later (unfortunately the decompressed log is too big to stick up on pastebin).
>How-To-Repeat:
1. Roll the dice.
2. Execute make buildworld -j24 on a machine with my approximate specs.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
