From owner-freebsd-current@freebsd.org Sun Aug 9 16:47:09 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 392F63B918B for ; Sun, 9 Aug 2020 16:47:09 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BPlPS1dSPz4Cgx for ; Sun, 9 Aug 2020 16:47:07 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 5EC8D9C34 for ; Sun, 9 Aug 2020 12:47:00 -0400 (EDT) To: freebsd-current From: Michael Butler Subject: cross-build failure on objcopy Message-ID: Date: Sun, 9 Aug 2020 12:46:59 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BPlPS1dSPz4Cgx X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net:s=201508]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.973]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.07)[-1.065]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[protected-networks.net:+]; DMARC_POLICY_ALLOW(-0.50)[protected-networks.net,reject]; NEURAL_HAM_SHORT(-0.38)[-0.383]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2020 16:47:09 -0000 When cross-compiling for i386 on amd64 (which has 2 by 4 cores), I get the error below after a previously successful build. Running the build again (a 3rd time) completes successfully :-( This is the output from cd /usr/src/release; ./release.sh -c release-i386.conf [ .. ] ===> usr.bin/cxxfilt (all) ===> usr.bin/objcopy (all) ===> usr.sbin/bsnmpd/tools/bsnmptools (all) ===> usr.bin/file2c (all) ===> usr.bin/gprof (all) ===> usr.bin/indent (all) ===> usr.bin/lex (all) ===> usr.bin/mkstr (all) ===> usr.bin/nm (all) objcopy: open objcopy failed: Text file busy --- objcopy --- *** [objcopy] Error code 1 make[4]: *** objcopy removed make[4]: stopped in /usr/local/release-builds/i386/usr/src/usr.bin/objcopy .ERROR_TARGET='objcopy' .ERROR_META_FILE='/usr/local/release-builds/i386/tmp/obj/usr/local/release-builds/i386/usr/src/amd64.amd64/usr.bin/objcopy/objcopy.meta' .MAKE.LEVEL='4' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes' _ERROR_CMD='objcopy --strip-debug --add-gnu-debuglink=objcopy.debug objcopy.full objcopy;' .CURDIR='/usr/local/release-builds/i386/usr/src/usr.bin/objcopy' .MAKE='make' .OBJDIR='/usr/local/release-builds/i386/tmp/obj/usr/local/release-builds/i386/usr/src/amd64.amd64/usr.bin/objcopy' .TARGETS='all' DESTDIR='/usr/local/release-builds/i386/tmp/obj/usr/local/release-builds/i386/usr/src/amd64.amd64/tmp' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='' MAKESYSPATH='/usr/local/release-builds/i386/usr/src/share/mk' imb