From owner-freebsd-stable@freebsd.org Wed Jan 27 18:38:15 2021 Return-Path: Delivered-To: freebsd-stable@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 D8AB6527D64 for ; Wed, 27 Jan 2021 18:38:15 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4DQsmk6nVVz4sgg for ; Wed, 27 Jan 2021 18:38:14 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id 7so2993203wrz.0 for ; Wed, 27 Jan 2021 10:38:14 -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; bh=uIS04UOdjLERKpDSbXfr5sxQxSGHixsGVbae0WEnL1M=; b=d3KWU6AxPy4V7yC7pXbIRnNYyKO+rEGxd16Zak8AOOH/GfOxhikL2DR23z1EO4j0iN 5W15bhJpS/u1MytBAmixJYr21G2vWBD5Uy90vxMIOX625Yg88aqRWbRMAnTHSPFNyXhG l5JMJZUecQYJXz/R8VdytXmRduSI362lrYQ2EVuH1XekjCe19gzmnszvBpcmYZiBnVKK hQr/ym50IhDrgtUg34EMVwY5D4YJnztw/znEsnCdf4zmMFHCPuIXj4LrYwe4tn8i/Jih zbjQt1sZ2xRkTrra3oKH14WuZ+y9oigEXavTj1t5U8GgYRLm0ZV34J0ph/7SCWdHTOQ6 iQzw== 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; bh=uIS04UOdjLERKpDSbXfr5sxQxSGHixsGVbae0WEnL1M=; b=b/QaVG+/4RwMVHLyH7Nr41Mg0QPQ0ITC789J2sCpuqd2voGqr7fpBf+dU5lE4PPhXR 5I7QIfh3D7onlnx6Quyh5szDN3uMHXUVfzXa1LEjWX6xj8e4UqYTIPznrYOX4MKqkxqt LvyxeM86eudaGxuL8mZCJ4aFZjpjVyC+2+ymK56oiFp1rewkt1CxVM5vCE1/g4rJv5H0 Vcku+jNK5sEvLc7RgfasZbJ+//M/KBIZl3ZkNZh5fguqCDI8xWgQknqhCfldlZ/BRv0T EFrVtWW23Ln3fU/Mff/hMVBQGqyHIB9D8/XLrvDCemALNV5I7/zbDUL0njCRdaL6MQFF S3ig== X-Gm-Message-State: AOAM531zGd9Bnfn+AnFG+OlzLLnQyRb3Y3mjbV4IWPV2i0RMCUDAVFPl YH8IB9RQQkQKQjCPxAq7e3Ay3O0lu/HPlhXqm1u786Zov6g= X-Google-Smtp-Source: ABdhPJwqP9v02KxJi+7dwcQIgENTz4X1+kRnpnWzKsZmOJ8j6Mc0TicmHUURqg7dGVzwEx6/QzDiRjmWU1tPq9e7WBM= X-Received: by 2002:a5d:6d0c:: with SMTP id e12mr12143333wrq.136.1611772339573; Wed, 27 Jan 2021 10:32:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "parv/freebsd" Date: Wed, 27 Jan 2021 08:31:33 -1000 Message-ID: Subject: Re: 12.2-RELEASE buildworld fail at cddl/zfs / libuutil.so To: Tomasz CEDRO Cc: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 4DQsmk6nVVz4sgg X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=d3KWU6Ax; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [3.00 / 15.00]; GREYLIST(0.00)[pass,body]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; URI_COUNT_ODD(1.00)[1]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::435:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::435:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::435:from]; HTTP_TO_IP(1.00)[]; R_SUSPICIOUS_URL(5.00)[12.2.0.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2021 18:38:15 -0000 On Wed, Jan 27, 2021 at 6:10 AM Tomasz CEDRO wrote: Hi Tomasz, On 27.01.2021 12:52, parv/freebsd wrote: > ... > > # /usr/bin/time -h make buildkernel buildworld NO_CLEAN=1 > > . ^ ^ ^ ^ ^ ^ > > Perhaps try with cleaning out first buildworld, then kernel? > > Well I did remove all from /usr/obj, build failed, then checked out > /usr/src from svn, build failed, then checked out /usr/src from git, and > it failed. > > Just to make sure this is not a local environment problem I have > switched to stable/12 branch (that is 12-STABLE) and it builds fine!! > Thanks for the clue ... # git log --pretty=fuller --grep libuutil release/12.2.0..stable/12 commit 30ec3f368d Author: Eugene Grosbein AuthorDate: Dec.2020.1206-1622 +0000 Commit: Eugene Grosbein CommitDate: Dec.2020.1206-1622 +0000 MFC r364027 by arichardson: Fix linker error in libuutil with recent LLVM This also fixes nanobsd-style build (cross-compiling). Original commit log: Not marking the function as static can result in a linker error: undefined reference to __assfail [--no-allow-shlib-undefined] I noticed this error after updating our CHERI LLVM to the latest upstream LLVM HEAD revision. This change effectively reverts r329984 and marks dmu_buf_init_user as static (which keeps the GCC build happy). ... above seems to (as I haven't bisected) be the fix in 12-STABLE which allows the build to finish with success. - parv > # git branch > main > releng/12.2 > * stable/12 > ... > # /usr/bin/time -h make buildkernel buildworld release -j12 > ... > --- kernel.full --- > linking kernel.full > ctfmerge -L VERSION -g -o kernel.full ... > text data bss dec hex filename > 23861318 1836970 3798784 29497072 0x1c216f0 kernel.full > --- kernel.debug --- > objcopy --only-keep-debug kernel.full kernel.debug > --- kernel --- > objcopy --strip-debug --add-gnu-debuglink=kernel.debug kernel.full kernel > -------------------------------------------------------------- > >>> Kernel build for GENERIC completed on Wed Jan 27 08:03:22 CET 2021 > -------------------------------------------------------------- > `release' is up to date. > 1h16m12.69s real 5h45m44.19s user > 28m53.59s sys > > > Did anyone manage to build 12.2-RELEASE from repo? :-) > --