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