From owner-freebsd-current@freebsd.org Fri Oct 27 04:59:45 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AC9EE5BF79 for ; Fri, 27 Oct 2017 04:59:45 +0000 (UTC) (envelope-from agh@fastmail.fm) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0BD15771BD for ; Fri, 27 Oct 2017 04:59:44 +0000 (UTC) (envelope-from agh@fastmail.fm) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1556C209D3; Fri, 27 Oct 2017 00:59:43 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 27 Oct 2017 00:59:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5qfboc4Iu3O6X7vSG GKXW5V8xHnfmK1/yzd/sctiC1g=; b=hc6N9M4FEY0jiUPcfPrchFyID3K1MLEsL eD/9awgfrKCYIa6GrQF2G5QAHamUqL4H4lF9VnsAAcy0nejU/GCmRJpRcrVoTnp0 bafhCOdEOD0OJr3SXiDmWNM2tal3jJppSU1oNDCCtcqma9XvMABS5ky/RAG2KBPb 727rRvVuKlqplsn+KvgCOpjDY6UgQfspzletYDZauqS3jXKXjazSlH1ib5K86WGo oPb/rKGtCEdOBB9Tt46ZrOG49ETOhWmkUWasKCEUE+rZ8kTR9SS7/rZ5vhUmAPVq Pun/PuKEwTtJ5/RxLaXaDdilHOpRfw2WT21h9iTyG/NK4RCx/P/RQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=5qfboc4Iu3O6X7vSGGKXW5V8xHnfmK1/yzd/sctiC1g=; b=oIVz/s2j k7EOksmnIvGvZEYDwh/T762b7SRon1/TvMrRtIcae5U76ax2debHd2HyBrwRrr4I 4ZaKNBlpK1k68mPres5b8NjIP9PE7A5zHjXdGjWYbhcBy+swRtnFLgYDWHO/qV7P 61cpekU8UGz9OPy0tVgQ9X1P+JY+RdEvaD8MAg0JrUunYdcds1touYW83N2pYgTz x3v0ShjDLylAjOQhAD+pJaT+m7CyyUOXh+YdgH0hVnSogdHMDTW17FPumzCD0Uk3 YvxvrhRAeZ4NMcGhP4gUjaNm6RJo7JY6lcXrXLyYh0y+wv/wMKDzHK8LpZxQJF+L hwfPF0ud/xt22w== X-ME-Sender: Received: from localhost (c-210-10-133-124.can.connect.net.au [210.10.133.124]) by mail.messagingengine.com (Postfix) with ESMTPA id 85CB17E139 for ; Fri, 27 Oct 2017 00:59:42 -0400 (EDT) From: Alastair Hogge To: FreeBSD Current Subject: Host CPUTYPE?=bdver2 unable to build release target for CPUTYPE?=slm Date: Fri, 27 Oct 2017 12:59:30 +0800 Message-ID: <2624318.nVSeVBqMH8@direwolf.local.> User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT; KDE/4.14.30; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1719251.5b14vPaAmH"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 27 Oct 2017 04:59:45 -0000 --nextPart1719251.5b14vPaAmH Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi, I am attempting to build a release ${SRC}/release/release.sh -c=20 ${custom_release.conf}, however, the build fails with: make[1]: "/scratch/fafnir/usr/src/Makefile.inc1" line 162: SYSTEM_COMPI= LER:=20 Determined that CC=3Dcc matches the source tree. Not bootstrapping a c= ross- compiler. =2D------------------------------------------------------------- >>> World build started on Fri Oct 27 00:41:56 UTC 2017 =2D------------------------------------------------------------- =2D------------------------------------------------------------- >>> Rebuilding the temporary build tree =2D------------------------------------------------------------- =2D------------------------------------------------------------- >>> stage 1.1: legacy release compatibility shims =2D------------------------------------------------------------- =3D=3D=3D> tools/build (obj,includes,all,install) =2D------------------------------------------------------------- >>> stage 1.2: bootstrap tools =2D------------------------------------------------------------- =3D=3D=3D> lib/clang/libllvmminimal (obj,all,install) =3D=3D=3D> usr.bin/clang/llvm-tblgen (obj,all,install) =3D=3D=3D> usr.bin/clang/clang-tblgen (obj,all,install) =3D=3D=3D> kerberos5/tools/make-roken (obj,all,install) =3D=3D=3D> kerberos5/lib/libroken (obj,all,install) =3D=3D=3D> kerberos5/lib/libvers (obj,all,install) =3D=3D=3D> kerberos5/tools/asn1_compile (obj,all,install) yacc: 4 shift/reduce conflicts. =3D=3D=3D> kerberos5/tools/slc (obj,all,install) =3D=3D=3D> usr.bin/compile_et (obj,all,install) =3D=3D=3D> usr.bin/fortune/strfile (obj,all,install) =3D=3D=3D> usr.bin/dtc (obj,all,install) =3D=3D=3D> usr.bin/lorder (obj,all,install) =3D=3D=3D> lib/libopenbsd (obj,all,install) =3D=3D=3D> usr.bin/mandoc (obj,all,install) =3D=3D=3D> usr.bin/rpcgen (obj,all,install) =3D=3D=3D> lib/liby (obj,all,install) =3D=3D=3D> usr.bin/yacc (obj,all,install) =3D=3D=3D> usr.bin/xinstall (obj,all,install) =3D=3D=3D> usr.sbin/config (obj,all,install) =3D=3D=3D> usr.bin/vtfontcvt (obj,all,install) =3D=3D=3D> usr.bin/localedef (obj,all,install) In file included from /scratch/fafnir/usr/src/usr.bin/localedef/collate= .c:50: In file included from /scratch/fafnir/usr/src/lib/libc/locale/collate.h= :42: /scratch/fafnir/usr/src/lib/libc/locale/xlocale_private.h:168:18: warni= ng:=20 passing 'long *' to parameter of type 'volatile u_long *' (aka 'volatil= e=20 unsigned long *') converts between pointers to integer types with diffe= rent=20 sign [-Wpointer-sign] atomic_add_long(&(obj->retain_count), 1); [log trimmed] =3D=3D=3D> usr.sbin/crunch (installconfig) = =20 =3D=3D=3D> usr.sbin/crunch/crunchgen (installconfig) = =20 =3D=3D=3D> usr.sbin/crunch/crunchide (installconfig) = =20 =3D=3D=3D> usr.sbin/unbound (installconfig) = =20 =3D=3D=3D> usr.sbin/unbound/daemon (installconfig) = =20 =3D=3D=3D> usr.sbin/unbound/anchor (installconfig) = =20 =3D=3D=3D> usr.sbin/unbound/checkconf (installconfig) = =20 =3D=3D=3D> usr.sbin/unbound/control (installconfig) = =20 =3D=3D=3D> usr.sbin/unbound/local-setup (installconfig) = =20 =3D=3D=3D> usr.sbin/uathload (installconfig) = =20 =3D=3D=3D> usr.sbin/uhsoctl (installconfig) = =20 =3D=3D=3D> usr.sbin/usbconfig (installconfig) = =20 =3D=3D=3D> usr.sbin/usbdump (installconfig) = =20 =3D=3D=3D> usr.sbin/ac (installconfig) = =20 =3D=3D=3D> usr.sbin/lastlogin (installconfig) = =20 =3D=3D=3D> usr.sbin/utx (installconfig) =20 =3D=3D=3D> etc (installconfig) =20 ELF ldconfig path: /lib /usr/lib /usr/lib/compat =20 32-bit compatibility ldconfig path: /usr/lib32 =20 make: "/usr/src/Makefile" line 313: warning: "LC_ALL=3DC date" exited o= n a signal =20 make[1]: "/usr/src/Makefile.inc1" line 162: SYSTEM_COMPILER: Determined= that=20 CC=3Dcc matches the source tree. Not bootstrapping a cross-compiler. = = =20 make[2]: "/usr/src/release/Makefile.ec2" line 9: warning: "date +-%Y-%m= =2D%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.azure" line 20: warning: "date +-%Y= =2D%m-%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.gce" line 22: warning: "date +-%Y-%= m-%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.vagrant" line 32: warning: "date +-= %Y%m%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.vagrant" line 35: warning: "date +%= Y.%m.%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.ec2" line 9: warning: "date +-%Y-%m= =2D%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.azure" line 20: warning: "date +-%Y= =2D%m-%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.gce" line 22: warning: "date +-%Y-%= m-%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.vagrant" line 32: warning: "date +-= %Y%m%d"=20 exited on a signal =20 make[2]: "/usr/src/release/Makefile.vagrant" line 35: warning: "date +%= Y.%m.%d"=20 exited on a signal =20 =2D------------------------------------------------------------- = =20 >>> World build started on =20 =2D------------------------------------------------------------- = =20 =20 =2D------------------------------------------------------------- = =20 >>> Rebuilding the temporary build tree =20 =2D------------------------------------------------------------- = =20 Illegal instruction (core dumped) =20 *** [_worldtmp] Error code 132 =20 =20 make[1]: stopped in /usr/src =20 1 error =20 =20 make[1]: stopped in /usr/src =20 *** [buildworld] Error code 2 =20 =20 make: stopped in /usr/src =20 1 error =20 =20 make: stopped in /usr/src =20 =20 Command exit status: 2 I have three other hosts that I build for, the only major difference be= tween=20 each hosts is the collections of ports, wireless/wired options in the k= ernel,=20 and CPUTYPE. The build host is built with CPUTYPE?=3Dbdver2, the others= hosts are btver1, corei7, corei7-avx, and slm. There used to a core2 host, bu= t I=20 retired it, however, I mention it because it built successfully. The failed build log above is from the bdver2 host building a release f= or the=20 slm host, all other builds complete without error. If I use the slm config and make build{kernel|world} from ${SRC}, the b= uild=20 completes, if I populate a jail with stock or my bdver2 distribution se= t, the=20 build also succeeds, the only time the slm build fails is during=20 ${SRC}/release/release.sh on the bdver2 host. Is it possible to build a x86_64 Silvermont release from an AMD Bulldoz= er? Why=20 does the regular build from the top of the source tree complete and the= one=20 from=20the release sub directory fail? I normally export the custom build= s via=20 NFS, tho, I still need release images and distribution sets. The release build with customisations works on the slm host itself, it = just=20 takes too many hours. $ cat /etc/slm-make.conf: ALWAYS_CHECK_MAKE=3D YES = = = =20 CPUTYPE?=3D slm DEFAULT_VERSIONS=3D bdb=3D5 linux=3Dc7_64 ssl=3Dopenssl LICENSES_ACCEPTED+=3D MSPAT KERNCONF=3DFAFNIR MALLOC_PRODUCTION=3D MODULES_OVERRIDE=3D vmm WITH_PKG=3D devel WITH_SSP_PORTS=3D $ cat /etc/bdver2-make.conf: ALWAYS_CHECK_MAKE=3D YES = = = =20 CPUTYPE?=3D bdver2 DEFAULT_VERSIONS=3D bdb=3D5 linux=3Dc7_64 ssl=3Dopenssl LOADER_FIREWIRE_SUPPORT=3D LICENSES_ACCEPTED+=3D MSPAT KERNCONF=3D DIREWOLF MALLOC_PRODUCTION=3D MODULES_OVERRIDE=3D linux_common linuxkpi linprocfs linsysfs linu= x64 \ linux vmm QT4_OPTIONS=3D CUPS TEX_DEFAULT=3D texlive WINE_CROSS_BUILD=3D WITH_NVIDIA_GL=3D WITH_PKG=3D devel WITH_SSP_PORTS=3D Thanks, Alastair =2D-=20 Some people have no respect for age unless it's bottled. --nextPart1719251.5b14vPaAmH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE863ZAMFLT4P9HbjBtzY+5ZChngEFAlnyvTIACgkQtzY+5ZCh ngGBOAgAukSEYmt+WWHtkgknPdLOn8cjBOzG34YP3thSZZ1dc9lt480QQpDqTGkW 4vqN1FlKJNowH2UfYf3VDxju2iHbRo+H/o/Aff37+/MDL1anIIoEDsXan7zY0hQy p5MAF4WqW/SG2Wzab0kvG2RO42BWNSiSxgLb4losfT97OpTqk4TWEkAbAzrOphiR KQC0VkX/SR3Xwa9DW1/S/8IWAwciqdxSTeTaEsXABti0jQ0qldPXol3mE3wl7SEr ygSwBQqOGaoZpX/HHOpuMofVAb63xuVebNfRF060IaVnPqoXO2h61zHQcVLfatDk zHRfWK8drGdPUZQguAOWy5ynXofzlg== =HmcG -----END PGP SIGNATURE----- --nextPart1719251.5b14vPaAmH--