12.2-RELEASE buildworld fail at cddl/zfs / libuutil.so
parv/freebsd
parv.0zero9+freebsd at gmail.com
Wed Jan 27 18:38:15 UTC 2021
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 <eugen at FreeBSD.org>
AuthorDate: Dec.2020.1206-1622 +0000
Commit: Eugene Grosbein <eugen at FreeBSD.org>
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? :-)
>
--
More information about the freebsd-stable
mailing list