12.2-RELEASE buildworld fail at cddl/zfs / libuutil.so

Tomasz CEDRO tomek at cedro.info
Wed Jan 27 19:01:12 UTC 2021


On 27.01.2021 19:31, parv/freebsd wrote:
> # git log --pretty=fuller --grep libuutil release/12.2.0. 
> <http://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

Whoah! Mystery solved! This commit did not jump into the releng/12.2 yet 
it seems. Thank you PARV!! :-)

-- 
CeDeROM, SQ7MHZ, https://www.tomek.cedro.info


More information about the freebsd-stable mailing list