[Bug 259308] buildworld failure in /usr/src/sbin/gbde: ld: error: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libmd.so: undefined reference to _libmd_SHA256_Transform [--no-allow-shlib-undefined]

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Feb 2023 18:42:48 UTC

Michael Dexter <editor@callfortesting.org> changed:

           What    |Removed                     |Added
                 CC|                            |editor@callfortesting.org

--- Comment #1 from Michael Dexter <editor@callfortesting.org> ---
I am seeing similar issues when cross building ARM64 on AMD64 or vice-versa,
with many WITHOUT_ build options enabled:

ld: error: undefined reference due to --no-allow-shlib-undefined: yp_next
>>> referenced by /usr/obj/usr/src/arm64.aarch64/tmp/lib/libc.so.7
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/syslogd ---
===> usr.sbin/syslogd (all)
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/login ---
===> usr.bin/login (all)
--- all_subdir_usr.bin/chpass ---

ld: error: undefined reference due to --no-allow-shlib-undefined: yp_match
>>> referenced by /usr/obj/usr/src/arm64.aarch64/tmp/lib/libc.so.7

The failure is on many utilities.

I will attach an example src.conf that reproduces this.

You are receiving this mail because:
You are the assignee for the bug.