From owner-freebsd-current@freebsd.org Tue Dec 1 17:27:43 2015 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 92CB2A3E375 for ; Tue, 1 Dec 2015 17:27:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0A1104B; Tue, 1 Dec 2015 17:27:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 6B5E61056; Tue, 1 Dec 2015 17:27:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 3311D14708; Tue, 1 Dec 2015 17:27:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 4TvUnUKc0HBE; Tue, 1 Dec 2015 17:27:40 +0000 (UTC) Subject: Re: build world broken amd64 current at ifconfig if WITHOUT_DYNAMICROOT=yes is set in src.conf DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 0B47E14702 To: Manfred Antar , freebsd-current@freebsd.org References: <1B1A1A0C-56A9-40D6-B3DC-2B36F7409E3C@pozo.com> Cc: adrian@freebsd.org From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <565DD897.1040106@FreeBSD.org> Date: Tue, 1 Dec 2015 09:27:51 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1B1A1A0C-56A9-40D6-B3DC-2B36F7409E3C@pozo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QJdCEfWuRaOOn7IPoAdlWWO3TCifD77kv" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Dec 2015 17:27:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QJdCEfWuRaOOn7IPoAdlWWO3TCifD77kv Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 12/1/2015 8:08 AM, Manfred Antar wrote: > make build world is broken at /usr/src/sbin/ifconfig if you have WITHOU= T_DYNAMICROOT=3Dyes in src.conf: >=20 > cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qu= al -Wwrite-strings -Wnested-externs -std=3Dgnu99 -fstack-protector-strong= -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-= tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unu= sed-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -= Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -static -= o ifconfig ifconfig.o af_link.o af_inet.o af_inet6.o af_nd6.o ifclone.o i= fmac.o ifmedia.o iffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o ifieee8= 0211.o carp.o ifgroup.o ifpfsync.o ifbridge.o iflagg.o -lm -lbsdxml -= lsbuf -l80211 -ljail > /usr/lib/lib80211.a(lib80211_regdomain.o): In function `lib80211_regdom= ain_readconfig': > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4d): undefined refe= rence to `XML_ParserCreate' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5b): undefined refe= rence to `XML_SetUserData' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x6d): undefined refe= rence to `XML_SetElementHandler' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7a): undefined refe= rence to `XML_SetCharacterDataHandler' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x8c): undefined refe= rence to `XML_Parse' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9d): undefined refe= rence to `XML_ParserFree' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x497): undefined ref= erence to `XML_GetErrorCode' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x49e): undefined ref= erence to `XML_ErrorString' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4a9): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/lib/lib80211.a(lib80211_regdomain.o): In function `start_element':= > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5ac): undefined ref= erence to `sbuf_new' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x779): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7ec): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x99b): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9ae): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element': > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa4e): undefined ref= erence to `sbuf_finish' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa5c): undefined ref= erence to `sbuf_data' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa6d): undefined ref= erence to `sbuf_len' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xbfb): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xd1b): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xdee): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe31): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe9a): undefined ref= erence to `XML_GetCurrentLineNumber' > /usr/lib/lib80211.a(lib80211_regdomain.o):/usr/src/lib/lib80211/lib8021= 1_regdomain.c:(.text+0xebf): more undefined references to `XML_GetCurrent= LineNumber' follow > /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element': > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xfcc): undefined ref= erence to `sbuf_delete' > /usr/lib/lib80211.a(lib80211_regdomain.o): In function `char_data': > /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x1155): undefined re= ference to `sbuf_bcat' > cc: error: linker command failed with exit code 1 (use -v to see invoca= tion) > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src/sbin/ifconfig >=20 > The order of the library linking needs to be changed from: > LIBADD+=3D bsdxml sbuf 80211 > to > LIBADD+=3D 80211 bsdxml sbuf >=20 The fix is worse than that, it is an obscure thing in src.libnames.mk. Dependencies are supposed to be duplicated there for this exact case. I'll fix it there. Curious, why do you use WITHOUT_DYNAMICROOT? --=20 Regards, Bryan Drewery --QJdCEfWuRaOOn7IPoAdlWWO3TCifD77kv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWXdiYAAoJEDXXcbtuRpfPwSoH/3aV1ZRNuwKxoDy7kI6HoF6q c4Uxi4ms1OE/GVz9oEzKFN43tiDmol9siDUydK1ZYId8kGC798k/F0LHxsipFcg4 bkBjX5JesKwgjtnBaU5sLoYF05rjYT++t4SOJ5I3YzLln9wgKO+hEF3v8eQoW9yN MyRZ+Fht6EKolRckcyekmzBvaMu3mnLhtRnGhMHzvrVdVxGrQ7I0era41rNueOzv V1nF66f+fZF7aHApENIVqpDKMTWcWcrDRlxHYQyQOp2SVfNhbObzUIJzzZe1Pvoo d9evYTiapfXa/ALwPd2A0odThuSP1Dyh486ELsIO34N2uKH72Ra2nIkw47CQl08= =PC/i -----END PGP SIGNATURE----- --QJdCEfWuRaOOn7IPoAdlWWO3TCifD77kv--