From owner-freebsd-current@freebsd.org Fri Jan 17 16:20:02 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94B011F2CED for ; Fri, 17 Jan 2020 16:20:02 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zmVp032fz4gBs; Fri, 17 Jan 2020 16:20:01 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by mail-wr1-x443.google.com with SMTP id d16so23295499wre.10; Fri, 17 Jan 2020 08:20:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FiKixk+GyuzOhPi7WzbXLnK+A1rvNFVwWQXWVLsSeog=; b=SJ/OhdPxcey89J7GY7Cl74Q8tRIjCNhC59+lPLbFzInaaLLK5zreZVTKFtqG/xrwMU 2078sdZJoVbDqXsem7XAPmBZ87rQDs1aDZvCxNbH1DEUzjPdk+1S4vTSHn8F4nVORw/8 CfI4wNtVkiTKa+iP857h7jwWHEIK0rathILSBc3mFFwauHR1hdkfM51luxO1xcK74Qsg 2VsnHzdUdikkbr8v/HtcE3RES/aTdtBavfx+kC45We+6ysJuVATONVqbttCHsaMqc3Wr Je4Bqaf4NkweVZWy8dIhdD541kQD42gm4j1DBOcLokk9Fmh2+mOF25yinbVEPGHQn6aq fTQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FiKixk+GyuzOhPi7WzbXLnK+A1rvNFVwWQXWVLsSeog=; b=BRWt2Ys1aeo7x75Io1ya2CBAVDEc8f9RhZotuFHS0WotbXLEHtS5m9aupdBT4FvBil jm18ojDzT/0YrPwdQGu0luuR0pIzGURdcEGT18Blb5hyxCQTGAbVkVjCBqIfk2Yp06ig dhQvlKJv2x08lEJZZ3GNwZdzVw1IVnpy9Z9ILNQnoE3EcYPN1rDoEuOgtTpm1ehx9rQJ 1QM/WBuWOqL/L+ldoBO5nZ4olMuRhPYgBarAXxiKPICJljzVqQuW/lQQi56KzpaG2jEW zRS++JfgLwpm5Qdhf5bMOUbzGcWhFjmke7hPwdfDok7Pl/5dKEmoER9JeIy2yGfy6mAk 74sg== X-Gm-Message-State: APjAAAVTC2/EBg5eJNbTZSRikQd+40Ak9apWodJ5mOPhR9/xta94IIv+ CPNHtx1iUk+thOEi1FYWj70zcH65rEk2+1LdgziLd/+GVLU= X-Google-Smtp-Source: APXvYqz84ikBx+eiC7sQbl+rHU6Wwut2U35ZwfdjsSX8Ukn8pS7TzLkzEBXoNOOyGDpveILt+93xl/HbDihEG0iRDsw= X-Received: by 2002:a5d:62d1:: with SMTP id o17mr4010289wrv.9.1579277999141; Fri, 17 Jan 2020 08:19:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pavel Timofeev Date: Fri, 17 Jan 2020 19:19:47 +0300 Message-ID: Subject: Re: Can't cross-compile HEAD To: Kyle Evans Cc: freebsd-current , Adrian Chadd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47zmVp032fz4gBs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SJ/OhdPx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of timp87@gmail.com designates 2a00:1450:4864:20::443 as permitted sender) smtp.mailfrom=timp87@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (2.17), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.83), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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, 17 Jan 2020 16:20:02 -0000 =D1=81=D0=B1, 11 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 08:06, Pavel Timof= eev : > > =D0=BF=D1=82, 10 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 22:05, Kyle Evan= s : > > > > On Fri, Jan 10, 2020 at 12:59 PM Pavel Timofeev wrot= e: > > > > > > =D0=BF=D1=82, 10 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 17:48, Kyle = Evans : > > > > > > > > On Fri, Jan 10, 2020 at 12:31 AM Pavel Timofeev = wrote: > > > > > > > > > > =D1=87=D1=82, 9 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 16:52, Pa= vel Timofeev : > > > > > > > > > > > > Hello > > > > > > > > > > > > I'm trying to cross-compile HEAD r356551 for mips on my FreeBSD= -12.1 amd64. > > > > > > I'm using mips-gcc6-6.5.0 and this > > > > > > https://github.com/freebsd/freebsd-wifi-build nice project to b= uild > > > > > > image for my tl-wdr3600 > > > > > > > > > > > > The error I'm getting is: > > > > > > ... > > > > > > =3D=3D=3D> usr.sbin/fmtree (all) > > > > > > =3D=3D=3D> usr.bin/vi (all) > > > > > > =3D=3D=3D> usr.sbin/freebsd-update (all) > > > > > > =3D=3D=3D> usr.sbin/gpioctl (all) > > > > > > =3D=3D=3D> usr.sbin/inetd (all) > > > > > > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In f= unction > > > > > > 'getconfigent': > > > > > > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1614:= 6: > > > > > > warning: variable 'v4bind' set but not used > > > > > > [-Wunused-but-set-variable] > > > > > > int v4bind; > > > > > > ^~~~~~ > > > > > > At top level: > > > > > > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:33:19= : > > > > > > warning: 'copyright' defined but not used [-Wunused-const-varia= ble=3D] > > > > > > static const char copyright[] =3D > > > > > > ^~~~~~~~~ > > > > > > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In f= unction 'setup': > > > > > > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1368:= 4: > > > > > > error: 'netid' may be used uninitialized in this function > > > > > > [-Werror=3Dmaybe-uninitialized] > > > > > > rpcb_set(sep->se_rpc_prog, i, netid, &nbuf); > > > > > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > cc1: all warnings being treated as errors > > > > > > --- inetd.o --- > > > > > > *** [inetd.o] Error code 1 > > > > > > > > > > > > > > > > > > Could anybody please help fix that? > > > > > > > > > > > > > > > > > > > > Terribly sorry, I forgot to mention a very important detail. > > > > > My src.conf has the only option now. > > > > > It's WITHOUT_INET6=3D"YES" > > > > > > > > Thanks for that addition- you saved me a little bit of effort > > > > examining why it's unused. =3D-) > > > > > > > > The inetd build should be clear after r356602, but you'll need to > > > > build WITHOUT_GOOGLETEST=3Dyes for now with the gcc ports. There ar= e > > > > some fundamental issues with mips-gcc{6,9} trying to emit > > > > __floatunsidf references, but that's a hidden symbol in our libgcc. > > > > > > > > I expect to, by the end of the day, either have a fix pending or ma= rk > > > > it as a BROKEN_OPTION on mips+gcc while we hash out the details , a= s > > > > gcc{6,9} is the only option we support for building mips at the > > > > moment. > > > > > > > > Thanks, > > > > > > > > Kyle Evans > > > > > > Thanks a lot, Kyle! > > > Build process passes further! > > > Now I'm on r356606 and have these in src.conf > > > WITHOUT_GOOGLETEST=3Dyes > > > WITHOUT_INET6=3D"YES" > > > > > > Getting different error: > > > .... > > > > I'm re-running the build WITHOUT_GOOGLETEST here outside of a > > freebsd-wifi-build context, but CC'ing Adrian in case he's already > > familiar since he's been battling libarchive stuff recently. Leaving > > the context below intact in case he's not received this. > > > > > =3D=3D=3D> usr.sbin/sendmail (all) > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:33:19: > > > warning: 'copyright' defined but not used [-Wunused-const-variable=3D= ] > > > static const char copyright[] =3D > > > ^~~~~~~~~ > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c: In function > > > 'getname': > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:520:6: > > > warning: variable 'ppp_state' might be clobbered by 'longjmp' or > > > 'vfork' [-Wclobbered] > > > int ppp_state =3D 0; > > > ^~~~~~~~~ > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:521:6: > > > warning: variable 'ppp_connection' might be clobbered by 'longjmp' or > > > 'vfork' [-Wclobbered] > > > int ppp_connection =3D 0; > > > ^~~~~~~~~~~~~~ > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c: In function > > > 'main': > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:183:6: > > > warning: variable 'first_sleep' might be clobbered by 'longjmp' or > > > 'vfork' [-Wclobbered] > > > int first_sleep =3D 1, first_time =3D 1; > > > ^~~~~~~~~~~ > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:183:23: > > > warning: variable 'first_time' might be clobbered by 'longjmp' or > > > 'vfork' [-Wclobbered] > > > int first_sleep =3D 1, first_time =3D 1; > > > ^~~~~~~~~~ > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/init.c:36:19: > > > warning: 'rcsid' defined but not used [-Wunused-const-variable=3D] > > > static const char rcsid[] =3D > > > ^~~~~ > > > /usr/home/pavel.timofeev/mips/head/libexec/getty/subr.c:36:19: > > > warning: 'rcsid' defined but not used [-Wunused-const-variable=3D] > > > static const char rcsid[] =3D > > > ^~~~~ > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: nc.lo: in function `main'= : > > > /usr/home/pavel.timofeev/mips/head/contrib/netcat/netcat.c:365: > > > warning: warning: mktemp() possibly used unsafely; consider using > > > mkstemp() > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter= _zstd.o): > > > in fun > > > ction `archive_compressor_zstd_free': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:128: > > > undefined reference to `ZSTD_freeCStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:128: > > > undefined reference to `ZSTD_freeCStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter= _zstd.o): > > > in fun > > > ction `archive_compressor_zstd_options': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:150: > > > undefined reference to `ZSTD_maxCLevel' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:150: > > > undefined reference to `ZSTD_maxCLevel' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter= _zstd.o): > > > in fun > > > ction `archive_compressor_zstd_open': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:200: > > > undefined reference to `ZSTD_initCStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:200: > > > undefined reference to `ZSTD_initCStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:200: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:200: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:177: > > > undefined reference to `ZSTD_CStreamOutSize' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:177: > > > undefined reference to `ZSTD_CStreamOutSize' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter= _zstd.o): > > > in fun > > > ction `drive_compressor': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:270: > > > undefined reference to `ZSTD_compressStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:270: > > > undefined reference to `ZSTD_compressStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:272: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:272: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:273: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:273: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:270: > > > undefined reference to `ZSTD_endStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:270: > > > undefined reference to `ZSTD_endStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:272: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:272: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:273: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:273: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter= _zstd.o): > > > in fun > > > ction `archive_write_add_filter_zstd': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:101: > > > undefined reference to `ZSTD_createCStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_write_add_filter_zstd.c:101: > > > undefined reference to `ZSTD_createCStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_read_support_fil= ter_zstd.o): > > > in > > > function `zstd_filter_close': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:285: > > > undefined reference to `ZSTD_freeDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:285: > > > undefined reference to `ZSTD_freeDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_read_support_fil= ter_zstd.o): > > > in > > > function `zstd_bidder_init': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:166: > > > undefined reference to `ZSTD_DStreamOutSize' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:166: > > > undefined reference to `ZSTD_DStreamOutSize' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:175: > > > undefined reference to `ZSTD_createDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:175: > > > undefined reference to `ZSTD_createDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:180: > > > undefined reference to `ZSTD_freeDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:180: > > > undefined reference to `ZSTD_freeDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.tim= ofeev/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_read_support_fil= ter_zstd.o): > > > in > > > function `zstd_filter_read': > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:247: > > > undefined reference to `ZSTD_decompressStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:247: > > > undefined reference to `ZSTD_decompressStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:250: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:250: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:217: > > > undefined reference to `ZSTD_initDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:217: > > > undefined reference to `ZSTD_initDStream' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:218: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:218: > > > undefined reference to `ZSTD_isError' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:219: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:219: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:251: > > > undefined reference to `ZSTD_getErrorName' > > > /usr/local/bin/mips-unknown-freebsd12.0-ld: > > > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/arch= ive_read_support_filter_zstd.c:251: > > > undefined reference to `ZSTD_getErrorName' > > > collect2: error: ld returned 1 exit status > > > --- bsdbox --- > > > *** [bsdbox] Error code 1 > > > > > > make[4]: stopped in > > > /usr/home/pavel.timofeev/mips/obj/mips_ap/usr/home/pavel.timofeev/mip= s/head/mips.mips/tools/bsdbox > > > ...... > > Just for the record > If I flush my src.conf (still HEAD r356606) I get very similar if not > the same error: > ... > =3D=3D=3D> usr.sbin/ppp (all) > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:33:19: > warning: 'copyright' defined but not used [-Wunused-const-variable=3D] > static const char copyright[] =3D > ^~~~~~~~~ > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c: In function > 'getname': > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:520:6: > warning: variable 'ppp_state' might be clobbered by 'longjmp' or > 'vfork' [-Wclobbered] > int ppp_state =3D 0; > ^~~~~~~~~ > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:521:6: > warning: variable 'ppp_connection' might be clobbered by 'longjmp' or > 'vfork' [-Wclobbered] > int ppp_connection =3D 0; > ^~~~~~~~~~~~~~ > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c: In function > 'main': > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:183:6: > warning: variable 'first_sleep' might be clobbered by 'longjmp' or > 'vfork' [-Wclobbered] > int first_sleep =3D 1, first_time =3D 1; > ^~~~~~~~~~~ > /usr/home/pavel.timofeev/mips/head/libexec/getty/main.c:183:23: > warning: variable 'first_time' might be clobbered by 'longjmp' or > 'vfork' [-Wclobbered] > int first_sleep =3D 1, first_time =3D 1; > ^~~~~~~~~~ > /usr/home/pavel.timofeev/mips/head/libexec/getty/init.c:36:19: > warning: 'rcsid' defined but not used [-Wunused-const-variable=3D] > static const char rcsid[] =3D > ^~~~~ > /usr/home/pavel.timofeev/mips/head/libexec/getty/subr.c:36:19: > warning: 'rcsid' defined but not used [-Wunused-const-variable=3D] > static const char rcsid[] =3D > ^~~~~ > /usr/local/bin/mips-unknown-freebsd12.0-ld: nc.lo: in function `main': > /usr/home/pavel.timofeev/mips/head/contrib/netcat/netcat.c:365: > warning: warning: mktemp() possibly used unsafely; consider using > mkstemp() > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter_zst= d.o): > in fun > ction `archive_compressor_zstd_free': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:128: > undefined reference to `ZSTD_freeCStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:128: > undefined reference to `ZSTD_freeCStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter_zst= d.o): > in fun > ction `archive_compressor_zstd_options': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:150: > undefined reference to `ZSTD_maxCLevel' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:150: > undefined reference to `ZSTD_maxCLevel' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter_zst= d.o): > in fun > ction `archive_compressor_zstd_open': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:200: > undefined reference to `ZSTD_initCStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:200: > undefined reference to `ZSTD_initCStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:200: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:200: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:177: > undefined reference to `ZSTD_CStreamOutSize' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:177: > undefined reference to `ZSTD_CStreamOutSize' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter_zst= d.o): > in fun > ction `drive_compressor': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:270: > undefined reference to `ZSTD_compressStream' > [41/1955] > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:270: > undefined reference to `ZSTD_compressStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:272: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:272: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:273: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:273: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:270: > undefined reference to `ZSTD_endStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:270: > undefined reference to `ZSTD_endStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:272: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:272: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:273: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:273: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_write_add_filter_zst= d.o): > in fun > ction `archive_write_add_filter_zstd': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:101: > undefined reference to `ZSTD_createCStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= write_add_filter_zstd.c:101: > undefined reference to `ZSTD_createCStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_read_support_filter_= zstd.o): > in > function `zstd_filter_close': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:285: > undefined reference to `ZSTD_freeDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:285: > undefined reference to `ZSTD_freeDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_read_support_filter_= zstd.o): > in > function `zstd_bidder_init': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:166: > undefined reference to `ZSTD_DStreamOutSize' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:166: > undefined reference to `ZSTD_DStreamOutSize' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:175: > undefined reference to `ZSTD_createDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:175: > undefined reference to `ZSTD_createDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:180: > undefined reference to `ZSTD_freeDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:180: > undefined reference to `ZSTD_freeDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/../obj/mips_ap//usr/home/pavel.timofee= v/mips/head/mips.mips/tmp/usr/lib/libarchive.a(archive_read_support_filter_= zstd.o): > in > function `zstd_filter_read': > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:247: > undefined reference to `ZSTD_decompressStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:247: > undefined reference to `ZSTD_decompressStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:250: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:250: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:217: > undefined reference to `ZSTD_initDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:217: > undefined reference to `ZSTD_initDStream' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:218: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:218: > undefined reference to `ZSTD_isError' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:219: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:219: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:251: > undefined reference to `ZSTD_getErrorName' > /usr/local/bin/mips-unknown-freebsd12.0-ld: > /usr/home/pavel.timofeev/mips/head/contrib/libarchive/libarchive/archive_= read_support_filter_zstd.c:251: > undefined reference to `ZSTD_getErrorName' > collect2: error: ld returned 1 exit status > --- bsdbox --- > *** [bsdbox] Error code 1 > > make[4]: stopped in > /usr/home/pavel.timofeev/mips/obj/mips_ap/usr/home/pavel.timofeev/mips/he= ad/mips.mips/tools/bsdbox > 1 error > > make[4]: stopped in > /usr/home/pavel.timofeev/mips/obj/mips_ap/usr/home/pavel.timofeev/mips/he= ad/mips.mips/tools/bsdbox > --- bsdbox --- > ... > > > > FreeBSD 12.1 RELEASE compiles OK though. Rebuilding r356831 now The error is : =3D=3D=3D> libexec/rtld-elf (all) [15/1930] /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c: In function 'free_tls': /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c:4925:24: warning: variable 'tls_init_align' set but not used [-Wunused-but-set-variable] size_t dtvsize, i, tls_init_align; ^~~~~~~~~~~~~~ /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c: In function 'do_dlsym': /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c:3516:28: warning: variable 'defobj' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] const Obj_Entry *obj, *defobj; ^~~~~~ /usr/home/pavel.timofeev/mips/head/lib/libc/gen/opendir.c: In function 'is_unionstack': /usr/home/pavel.timofeev/mips/head/lib/libc/gen/opendir.c:282:40: error: macro "_fcntl" requires 3 arguments, but only 2 given unionstack =3D _fcntl(fd, F_ISUNIONSTACK); ^ /usr/home/pavel.timofeev/mips/head/lib/libc/gen/opendir.c:282:13: error: assignment makes integer from pointer without a cast [-Werror=3Dint-conversion] unionstack =3D _fcntl(fd, F_ISUNIONSTACK); ^ cc1: all warnings being treated as errors --- opendir.o --- *** [opendir.o] Error code 1 make[4]: stopped in /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf 1 error make[4]: stopped in /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf --- all_subdir_libexec/rtld-elf --- *** [all_subdir_libexec/rtld-elf] Error code 2