Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2012 04:32:20 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/171883: [build] binutils build failed because of race with -j24
Message-ID:  <201209230432.q8N4WK7r082795@red.freebsd.org>
Resent-Message-ID: <201209230440.q8N4e49e076987@freefall.freebsd.org>

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

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



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