From owner-freebsd-current@freebsd.org Fri Oct 27 05:24:32 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 82149E5C6B5 for ; Fri, 27 Oct 2017 05:24:32 +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 5186677CFE for ; Fri, 27 Oct 2017 05:24:31 +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 E8D3C20A9E; Fri, 27 Oct 2017 01:24:30 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 27 Oct 2017 01:24:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=7HAG2LAzPYktNqHTSPK9tc7N5XO2MR/uDnu3B8lEGH8=; b=Hr+GkfEi 7tZ5QBjEEAfYXSFqXhMFY8qLQU5Tnkle/y10JzJ2q25mjHiC7WxvGfSwk3XZU2Ld ht1m+Og+chzmEaRlm658eIpxDo1/UgWyX6x9+yt2dqpIc8/M0Kk4woXKOEYBO+Wm QmSG6lGuxx+oNEQeqq9XLkfdM120/3N9S34pUD48nFPPNBaOXkhxDq3Vo8QQdXyA GBMN/SqK7zwVPupahBzYqC7XYMDTXp8gicHP5hMFxoR5RNfPMCNILTp0rlXsGvuT UCE0vwGSLGbGnFeJ140ei+D9iJjf2sz9HNnNK3ju5KKpoQiiCfDEpyzu387stjDc ajIwSbK8cF/FXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=7HAG2LAzPYktNqHTSPK9tc7N5XO2M R/uDnu3B8lEGH8=; b=lxtK3taK19wa7I2QnRBkB1dpISpfovK16rcHWjZJoSyN2 As+SZ5auiuSgrVqdEP8TnmrttOv0jypNAzNu5r7M/h96et9fTm89mzw0XA0kq+HO WwFzoKGZOt7hnME/8FNPDUkD3fOJdrFSWnIaIgdQLRaXjEZF5UX1vV62XgX6a4cN HlYhyswlYhxjVoflMqvU7oh3RZnirY74Xtlu0+SWGCq1j5c/iNaHbJmVgriwZ8uQ BzCaLwPoFz9Tf0nOme1TxUhvIYYJ5QTn+5/L9+MKT4aQg+1RZnZgqDTgbHaiZpfr qnzCe9pliGTa1G9Pph0d4WiNVfMvlbldGpVYxIoCg== 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 6D7C77E139 for ; Fri, 27 Oct 2017 01:24:30 -0400 (EDT) From: Alastair Hogge To: freebsd-current@freebsd.org Subject: Re: Host CPUTYPE?=bdver2 unable to build release target for CPUTYPE?=slm Date: Fri, 27 Oct 2017 13:24:13 +0800 Message-ID: <7056171.Kq1Ggbce6U@direwolf.local.> User-Agent: KMail/4.14.10 (FreeBSD/12.0-CURRENT; KDE/4.14.30; amd64; ; ) In-Reply-To: <2624318.nVSeVBqMH8@direwolf.local.> References: <2624318.nVSeVBqMH8@direwolf.local.> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4662047.5o9XDSd2mZ"; 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 05:24:32 -0000 --nextPart4662047.5o9XDSd2mZ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Source tree is at r325004 On Fri, 27 Oct 2017-10-27 12:59:30 Alastair Hogge wrote: > Hi, >=20 > I am attempting to build a release ${SRC}/release/release.sh -c > ${custom_release.conf}, however, the build fails with: >=20 > make[1]: "/scratch/fafnir/usr/src/Makefile.inc1" line 162: SYSTEM_COM= PILER: > Determined that CC=3Dcc matches the source tree. Not bootstrapping a= cross- > compiler. > -------------------------------------------------------------- >=20 > >>> World build started on Fri Oct 27 00:41:56 UTC 2017 >=20 > -------------------------------------------------------------- >=20 > -------------------------------------------------------------- >=20 > >>> Rebuilding the temporary build tree >=20 > -------------------------------------------------------------- >=20 > -------------------------------------------------------------- >=20 > >>> stage 1.1: legacy release compatibility shims >=20 > -------------------------------------------------------------- > =3D=3D=3D> tools/build (obj,includes,all,install) >=20 > -------------------------------------------------------------- >=20 > >>> stage 1.2: bootstrap tools >=20 > -------------------------------------------------------------- > =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 inclu= ded > from /scratch/fafnir/usr/src/lib/libc/locale/collate.h:42: > /scratch/fafnir/usr/src/lib/libc/locale/xlocale_private.h:168:18: war= ning: > passing 'long *' to parameter of type 'volatile u_long *' (aka 'volat= ile > unsigned long *') converts between pointers to integer types with dif= ferent > sign [-Wpointer-sign] > atomic_add_long(&(obj->retain_count), 1); >=20 > [log trimmed] >=20 > =3D=3D=3D> usr.sbin/crunch (installconfig) > =3D=3D=3D> usr.sbin/crunch/crunchgen (installconfig) > =3D=3D=3D> usr.sbin/crunch/crunchide (installconfig) > =3D=3D=3D> usr.sbin/unbound (installconfig) > =3D=3D=3D> usr.sbin/unbound/daemon (installconfig) > =3D=3D=3D> usr.sbin/unbound/anchor (installconfig) > =3D=3D=3D> usr.sbin/unbound/checkconf (installconfig) > =3D=3D=3D> usr.sbin/unbound/control (installconfig) > =3D=3D=3D> usr.sbin/unbound/local-setup (installconfig) > =3D=3D=3D> usr.sbin/uathload (installconfig) > =3D=3D=3D> usr.sbin/uhsoctl (installconfig) > =3D=3D=3D> usr.sbin/usbconfig (installconfig) > =3D=3D=3D> usr.sbin/usbdump (installconfig) > =3D=3D=3D> usr.sbin/ac (installconfig) > =3D=3D=3D> usr.sbin/lastlogin (installconfig) > =3D=3D=3D> usr.sbin/utx (installconfig) > =3D=3D=3D> etc (installconfig) > ELF ldconfig path: /lib /usr/lib /usr/lib/compat > 32-bit compatibility ldconfig path: /usr/lib32 > make: "/usr/src/Makefile" line 313: warning: "LC_ALL=3DC date" exited= on a > signal make[1]: "/usr/src/Makefile.inc1" line 162: SYSTEM_COMPILER: > Determined that CC=3Dcc matches the source tree. Not bootstrapping a= > cross-compiler. make[2]: "/usr/src/release/Makefile.ec2" line 9: warn= ing: > "date +-%Y-%m-%d" exited on a signal > make[2]: "/usr/src/release/Makefile.azure" line 20: warning: "date > +-%Y-%m-%d" exited on a signal > make[2]: "/usr/src/release/Makefile.gce" line 22: warning: "date +-%Y= =2D%m-%d" > exited on a signal > make[2]: "/usr/src/release/Makefile.vagrant" line 32: warning: "date > +-%Y%m%d" exited on a signal > make[2]: "/usr/src/release/Makefile.vagrant" line 35: warning: "date > +%Y.%m.%d" exited on a signal > make[2]: "/usr/src/release/Makefile.ec2" line 9: warning: "date +-%Y-= %m-%d" > exited on a signal > make[2]: "/usr/src/release/Makefile.azure" line 20: warning: "date > +-%Y-%m-%d" exited on a signal > make[2]: "/usr/src/release/Makefile.gce" line 22: warning: "date +-%Y= =2D%m-%d" > exited on a signal > make[2]: "/usr/src/release/Makefile.vagrant" line 32: warning: "date > +-%Y%m%d" exited on a signal > make[2]: "/usr/src/release/Makefile.vagrant" line 35: warning: "date > +%Y.%m.%d" exited on a signal > -------------------------------------------------------------- >=20 > >>> World build started on >=20 > -------------------------------------------------------------- >=20 > -------------------------------------------------------------- >=20 > >>> Rebuilding the temporary build tree >=20 > -------------------------------------------------------------- > Illegal instruction (core dumped) > *** [_worldtmp] Error code 132 >=20 > make[1]: stopped in /usr/src > 1 error >=20 > make[1]: stopped in /usr/src > *** [buildworld] Error code 2 >=20 > make: stopped in /usr/src > 1 error >=20 > make: stopped in /usr/src >=20 > Command exit status: 2 >=20 > I have three other hosts that I build for, the only major difference = between > each hosts is the collections of ports, wireless/wired options in the= > kernel, 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, but I retired it, however, I mention it because it built > successfully. >=20 > The failed build log above is from the bdver2 host building a release= for > the slm host, all other builds complete without error. >=20 > If I use the slm config and make build{kernel|world} from ${SRC}, the= build > completes, if I populate a jail with stock or my bdver2 distribution = set, > the build also succeeds, the only time the slm build fails is during > ${SRC}/release/release.sh on the bdver2 host. >=20 > Is it possible to build a x86_64 Silvermont release from an AMD Bulld= ozer? > Why does the regular build from the top of the source tree complete a= nd the > one from the release sub directory fail? I normally export the custom= > builds via NFS, tho, I still need release images and distribution set= s. >=20 > The release build with customisations works on the slm host itself, i= t just > takes too many hours. >=20 > $ cat /etc/slm-make.conf: > ALWAYS_CHECK_MAKE=3D YES > 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 >=20 > $ cat /etc/bdver2-make.conf: > ALWAYS_CHECK_MAKE=3D YES > 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 li= nux64 \ > 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 >=20 > Thanks, > Alastair =2D-=20 Reisner's Rule of Conceptual Inertia: =09If you think big enough, you'll never have to do it. --nextPart4662047.5o9XDSd2mZ 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+5ZChngEFAlnywv0ACgkQtzY+5ZCh ngG0SAf+PgIG7vTSwZPlBE06KVqXDDsCo6X45ZYG0Jaajz90645EhN6xqMZj0coD /mX/VGqwdoCTztgwN0yxEDBZnKI340ZSMOczOYu47Z56d70b1vpT0zGFSquWkUkK VQOag0F19QSoDiO+aC6RVkbB6bwyF7x8xkclUi5E64t9fo8ydrQ+k5NYRBlFCXm9 ls4/pU4zBfvRrc7TlUpvDIGdvmb5cZmQ5vr68YOnEMvyDMjs2vs32T/2bhkn9oZp IZY9jAA9evhiRcI4gPAYdYPnJTdx4dDbW2qqDtb+b/SIvXL/jIfKwXZc1zJP2i+H 7pFHnoVUdNB17tMkD63muTvfCkQ7tQ== =6O61 -----END PGP SIGNATURE----- --nextPart4662047.5o9XDSd2mZ--