Date: Fri, 27 Oct 2017 12:59:30 +0800 From: Alastair Hogge <agh@fastmail.fm> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Host CPUTYPE?=bdver2 unable to build release target for CPUTYPE?=slm Message-ID: <2624318.nVSeVBqMH8@direwolf.local.>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2624318.nVSeVBqMH8>