From owner-freebsd-current@freebsd.org Tue Dec 1 16:14: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 DCD34A3E087 for ; Tue, 1 Dec 2015 16:14:43 +0000 (UTC) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [50.197.129.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pozo.com", Issuer "pozo.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C6D7218D8; Tue, 1 Dec 2015 16:14:43 +0000 (UTC) (envelope-from null@pozo.com) Received: from octo.pozo.com (octo.pozo.com [192.168.0.2]) (authenticated bits=128) by pozo.com (8.15.2/8.15.2) with ESMTPA id tB1G8R95042042; Tue, 1 Dec 2015 08:08:27 -0800 (PST) (envelope-from null@pozo.com) From: Manfred Antar Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: build world broken amd64 current at ifconfig if WITHOUT_DYNAMICROOT=yes is set in src.conf Date: Tue, 1 Dec 2015 08:08:26 -0800 Message-Id: <1B1A1A0C-56A9-40D6-B3DC-2B36F7409E3C@pozo.com> Cc: adrian@freebsd.org To: freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) X-Mailer: Apple Mail (2.3096.5) X-Spam-Status: No, score=-102.7 required=5.0 tests=ALL_TRUSTED, BAYES_00, TW_DX, TW_SD,USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.1, No X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: tB1G8R95042042 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com 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 16:14:44 -0000 make build world is broken at /usr/src/sbin/ifconfig if you have WITHOUT_DY= NAMICROOT=3Dyes in src.conf: cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qual -= Wwrite-strings -Wnested-externs -std=3Dgnu99 -fstack-protector-strong -Wsys= tem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno= -empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautologic= al-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function= -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enu= m -Wno-knr-promoted-parameter -Qunused-arguments -static -o ifconfig ifcon= fig.o af_link.o af_inet.o af_inet6.o af_nd6.o ifclone.o ifmac.o ifmedia.o i= ffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o ifieee80211.o carp.o ifgrou= p.o ifpfsync.o ifbridge.o iflagg.o -lm -lbsdxml -lsbuf -l80211 -ljail /usr/lib/lib80211.a(lib80211_regdomain.o): In function `lib80211_regdomain_= readconfig': /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4d): undefined referenc= e to `XML_ParserCreate' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5b): undefined referenc= e to `XML_SetUserData' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x6d): undefined referenc= e to `XML_SetElementHandler' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7a): undefined referenc= e to `XML_SetCharacterDataHandler' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x8c): undefined referenc= e to `XML_Parse' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9d): undefined referenc= e to `XML_ParserFree' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x497): undefined referen= ce to `XML_GetErrorCode' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x49e): undefined referen= ce to `XML_ErrorString' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4a9): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/lib/lib80211.a(lib80211_regdomain.o): In function `start_element': /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5ac): undefined referen= ce to `sbuf_new' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x779): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7ec): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x99b): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9ae): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element': /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa4e): undefined referen= ce to `sbuf_finish' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa5c): undefined referen= ce to `sbuf_data' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa6d): undefined referen= ce to `sbuf_len' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xbfb): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xd1b): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xdee): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe31): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe9a): undefined referen= ce to `XML_GetCurrentLineNumber' /usr/lib/lib80211.a(lib80211_regdomain.o):/usr/src/lib/lib80211/lib80211_re= gdomain.c:(.text+0xebf): more undefined references to `XML_GetCurrentLineNu= mber' follow /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element': /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xfcc): undefined referen= ce to `sbuf_delete' /usr/lib/lib80211.a(lib80211_regdomain.o): In function `char_data': /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x1155): undefined refere= nce to `sbuf_bcat' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make: stopped in /usr/src/sbin/ifconfig The order of the library linking needs to be changed from: LIBADD+=3D bsdxml sbuf 80211 to LIBADD+=3D 80211 bsdxml sbuf Then it works: (ifconfig)5076}make cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qual -= Wwrite-strings -Wnested-externs -std=3Dgnu99 -fstack-protector-strong -Wsys= tem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno= -empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautologic= al-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function= -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enu= m -Wno-knr-promoted-parameter -Qunused-arguments -static -o ifconfig ifcon= fig.o af_link.o af_inet.o af_inet6.o af_nd6.o ifclone.o ifmac.o ifmedia.o i= ffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o ifieee80211.o carp.o ifgrou= p.o ifpfsync.o ifbridge.o iflagg.o -lm -l80211 -lbsdxml -lsbuf -ljail gzip -cn /usr/src/sbin/ifconfig/ifconfig.8 > ifconfig.8.gz