Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 18:42:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [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]
Message-ID:  <bug-259308-227-tMikoCv1mj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259308-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259308-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259308

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 ---
=3D=3D=3D> usr.sbin/syslogd (all)
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/login ---
=3D=3D=3D> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259308-227-tMikoCv1mj>