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

parv/freebsd parv.0zero9+freebsd at gmail.com
Wed Jan 27 11:53:19 UTC 2021


 On Tue, Jan 26, 2021 at 7:45 PM Tomasz CEDRO wrote:

> I cannot buildworld for 12.2-RELEASE. Using /usr/src as svn or git no
> matter (its set to releng/12.2). Did clean /usr/obj. Any hints welcome :-)
>
> # uname -a
> FreeBSD hexagon 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC  amd64
>

What is the git commit hash (for others)?

I had recently compiled 12-STABLE (c243308-ge82353584c58) without issues;
running
as guest in VirtualBox on MS Windows 10.



> # /usr/bin/time -h make buildkernel buildworld NO_CLEAN=1
>
.                                               ^ ^ ^ ^ ^ ^
Perhaps try with cleaning out first buildworld, then kernel?

  - parv

(..)
> ===> bin/tests (all)
> ===> cddl (all)
> ===> cddl/lib (all)
> ===> cddl/lib/drti (all)
> ===> cddl/lib/libavl (all)
> ===> cddl/lib/libctf (all)
> ===> cddl/lib/libdtrace (all)
> ===> cddl/lib/libnvpair (all)
> ===> cddl/lib/libumem (all)
> ===> cddl/lib/libuutil (all)
> ===> cddl/lib/libzfs_core (all)
> ===> cddl/lib/libzfs (all)
> ===> cddl/lib/libzpool (all)
> ===> cddl/lib/tests (all)
> ===> cddl/sbin (all)
> ===> cddl/sbin/zfs (all)
> cc -target x86_64-unknown-freebsd12.2
> --sysroot=/usr/obj/usr/src/amd64.amd64/tmp
> -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common
> -I/usr/src/cddl/contrib/opensolaris/lib/libzpool/common
> -I/usr/src/cddl/compat/opensolaris/include
> -I/usr/src/cddl/compat/opensolaris/lib/libumem
> -I/usr/src/sys/cddl/compat/opensolaris
> -I/usr/src/cddl/contrib/opensolaris/head
> -I/usr/src/cddl/contrib/opensolaris/lib/libuutil/common
> -I/usr/src/cddl/contrib/opensolaris/lib/libzfs/common
> -I/usr/src/cddl/contrib/opensolaris/lib/libzfs_core/common
> -I/usr/src/cddl/contrib/opensolaris/lib/libumem/common
> -I/usr/src/cddl/contrib/opensolaris/lib/libnvpair
> -I/usr/src/sys/cddl/contrib/opensolaris/uts/common
> -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
> -I/usr/src/sys/cddl/contrib/opensolaris/common/zfs
> -DNEED_SOLARIS_BOOLEAN -g -O0 -std=gnu99 -fstack-protector-strong
> -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef
> -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
> -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments   -o
> zfs.full zfs_main.o zfs_iter.o   -ljail  -lnvpair  -luutil  -lzfs_core
> -lzfs
> ld: error: /usr/obj/usr/src/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)
> *** Error code 1
>
> Stop.
> make[5]: stopped in /usr/src/cddl/sbin/zfs
> *** Error code 1
> (..)
>

--


More information about the freebsd-stable mailing list