Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 06:00:09 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Inconsistent -DNO_CLEAN build failure r293913 -> r294086
Message-ID:  <20160115140009.GB46213@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--WxezjuMNsgvRf6mf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

OK, first: I realize that using "-DNO_CLEAN" is treading on somewhat
unstable ground.  I'm testing; the results I obtained this morning were
a bit unexpected, so I'm reporting them in case said results might be
of use or interest to others.

As indicated in the Subject, I started a couple of machines (a dedicated
"build machine" and my laptop) at r293913, updated source to r294086,
then proceeded to perform "make -j16 -DNO_CLEAN buildworld" on each.

Please note that in each case, I have "WITH_FAST_DEPEND=3D1" in
/etc/src.conf.

The laptop chugged along and completed normally; the build machine
encountered:

>>> World build started on Fri Jan 15 04:28:48 PST 2016
=2E..
>>> stage 5.1: building 32 bit shim libraries
=2E..
--- lib/libldns__L ---
--- libprivateldns.so.5 ---
/usr/obj/usr/src/tmp/usr/bin/ld: skipping incompatible /usr/obj/usr/src/tmp=
/usr/lib/libgcc_s.so when searching for -lgcc_s
--- secure/lib/libssl__L ---
--- libssl.a ---
--- kerberos5/lib/libhx509__L ---
--- keyset.po ---
--- secure/lib/libssl__L ---
building static ssl library
--- lib/libldns__L ---
/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc_s
--- secure/lib/libssl__L ---
ar -crD libssl.a `NM=3D'nm' NMFLAGS=3D'' lorder bio_ssl.o d1_both.o d1_clnt=
=2Eo d1_lib.o d1_meth.o d1_pkt.o d1_srtp.o d1_srvr.o s23_clnt.o s23_lib.o s=
23_meth.o s23_pkt.o s23_srvr.o s3_both.o s3_cbc.o s3_clnt.o s3_enc.o s3_lib=
=2Eo s3_meth.o s3_pkt.o s3_srvr.o ssl_algs.o ssl_asn1.o ssl_cert.o ssl_ciph=
=2Eo ssl_conf.o ssl_err.o ssl_err2.o ssl_lib.o ssl_rsa.o ssl_sess.o ssl_sta=
t.o ssl_txt.o t1_clnt.o t1_enc.o t1_ext.o t1_lib.o t1_meth.o t1_reneg.o t1_=
srvr.o tls_srp.o  | tsort -q`=20
--- lib/libldns__L ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libprivateldns.so.5] Error code 1

make[4]: stopped in /usr/src/lib/libldns


=66rom which that process didn't recover at all well... though a
re-start without "-DNO_CLEAN" completed successfully.

Here are the relevant "uname -a" outputs:

FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #305  r2939=
13M/293913:1100093: Thu Jan 14 04:55:39 PST 2016     root@g1-252.catwhisker=
=2Eorg:/common/S4/obj/usr/src/sys/CANARY  amd64

FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #306  r2940=
86M/294086:1100094: Fri Jan 15 05:03:24 PST 2016     root@g1-252.catwhisker=
=2Eorg:/common/S4/obj/usr/src/sys/CANARY  amd64


FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1961  r=
293913M/293913:1100093: Thu Jan 14 04:49:29 PST 2016     root@freebeast.cat=
whisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64

FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1962  r=
294086M/294086:1100094: Fri Jan 15 05:33:30 PST 2016     root@freebeast.cat=
whisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64


One other (possibly-salient) point is that the build machine's disk
drive is an SSD.  (And yes, that does tend to help make it faster.)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--WxezjuMNsgvRf6mf
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJWmPtpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XUCIIAIaqRnd4bvgjU1lmGTkk/vB0
Cpl4QstxEc83FS2rS9zgXuEoX+vPMnMBBcIZD48QYePonC0OuWQABNfIZJ0NrsZf
QfpWs3JfW4A9PSirqZVsu64IR7sDcwBbAaBK3h602SbjO9/dAvg2CVgnzEJkS0Hr
apg+8kLw5GfKh5dh1ydHicZZfSnv1WUtJMfgQlF2mdhkFrJrqZT6/VQfvdVPzAqH
6VzER4C6EMXEBMGN6H+U02kMTm0bbh5Bd1wS/ua2CztUQiXAn8iiAw8BGAsGktKX
DNr2rPmCdAUg3ZgANN2CzagVTxVfnjt+pCDTiHNORErR0tro6WW6mQ+Pxj0xbAc=
=iebO
-----END PGP SIGNATURE-----

--WxezjuMNsgvRf6mf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160115140009.GB46213>