From owner-freebsd-current@freebsd.org Sun May 3 12:48:18 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 F0E262DCA81 for ; Sun, 3 May 2020 12:48:18 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 49FQl55db9z4d1t for ; Sun, 3 May 2020 12:48:17 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 9E47140EF3; Sun, 3 May 2020 14:48:11 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -100.931 X-Spam-Level: X-Spam-Status: No, score=-100.931 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.069, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id H3DQ5WvJNweB; Sun, 3 May 2020 14:48:10 +0200 (CEST) Received: from localhost (p5793B96B.dip0.t-ipconnect.de [87.147.185.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 4F37E40EED; Sun, 3 May 2020 14:48:10 +0200 (CEST) Date: Sun, 3 May 2020 14:48:07 +0200 From: Marco Steinbach To: Willem Jan Withagen Cc: freebsd current Subject: Re: Trying to compiles today Current Message-ID: <20200503144807.00004f8f@executive-computing.de> In-Reply-To: <836fe62d-2e0f-646b-7142-d598f9c33c64@digiware.nl> References: <836fe62d-2e0f-646b-7142-d598f9c33c64@digiware.nl> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49FQl55db9z4d1t X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of coco@executive-computing.de designates 195.96.35.7 as permitted sender) smtp.mailfrom=coco@executive-computing.de X-Spamd-Result: default: False [-5.33 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[executive-computing.de]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.13)[ip: (-8.23), ipnet: 195.96.32.0/19(-4.11), asn: 8354(-3.29), country: DE(-0.02)]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[107.185.147.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8354, ipnet:195.96.32.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[] 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: Sun, 03 May 2020 12:48:19 -0000 On Sun, 29 Mar 2020 15:36:22 +0200 Willem Jan Withagen wrote: > I keep getting errors in building my ports from portsbuilder. > But it is with Current/Clang10. > > So I'm trying to get a server at that level, but building world > keeps giving me: > --- all_subdir_cddl --- > ld: > error: /usr/obj/usr/srcs/head/amd64.amd64/tmp/usr/lib/libuutil.so: > undefined reference to __assfail cc: error: linker command failed > with exit code 1 (use -v to see invocation) *** [zfs.full] Error code > 1 > > > Completely cleared src and obj, but the error persists. > > Current on this system is: > FreeBSD 13.0-CURRENT #0 r358358: Thu Feb 27 04:40:39 UTC 2020 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > > How to fix this? In my case a leftover CFLAGS=-O0 in /etc/make.conf was the culprit ('=' instead of '+=' not being a typo). As another side effect, build world took about four times as long as usual, before it errored out. While at it, I of also ran into what's described in https://lists.freebsd.org/pipermail/freebsd-current/2018-December/072531.html, before removing DEBUG_FLAGS from /etc/make.conf. Conditionalizing the flags to only be pulled in for the directories I actually wanted them to be relevant for would certainly have helped. MfG CoCo