[Bug 261374] devel/llvm{13,devel}: Fails to link on riscv64: ld: error: undefined symbol: lldb_private::process_freebsd::NativeRegisterContextFreeBSD

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Feb 2022 00:01:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261374

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Some People         |Affects Many People
            Summary|devel/llvm{13-devel}: Fails |devel/llvm{13,devel}: Fails
                   |to link on riscv64: ld:     |to link on riscv64: ld:
                   |error: undefined symbol:    |error: undefined symbol:
                   |lldb_private::process_freeb |lldb_private::process_freeb
                   |sd::NativeRegisterContextFr |sd::NativeRegisterContextFr
                   |eeBSD                       |eeBSD

--- Comment #4 from Kubilay Kocak <koobs@FreeBSD.org> ---
Ports/Packages llvm13 is failing to link on riscv64, can this change be
backported to all relevent/affected llvm* versions.

[02:03:56] ld: error: undefined symbol:
lldb_private::process_freebsd::NativeRegisterContextFreeBSD::CreateHostNativeRegisterContextFreeBSD(lldb_private::ArchSpec
const&, lldb_private::NativeThreadProtocol&)
[02:03:56] >>> referenced by NativeThreadFreeBSD.cpp
[02:03:56] >>>              
NativeThreadFreeBSD.cpp.o:(lldb_private::process_freebsd::NativeThreadFreeBSD::NativeThreadFreeBSD(lldb_private::process_freebsd::NativeProcessFreeBSD&,
unsigned long)) in archive lib/liblldbPluginProcessFreeBSD.a
[02:03:56] c++: error: linker command failed with exit code 1 (use -v to see
invocation)

^Triage: This is an unconditional build (link) failure affecting all users of
an architecture, Affects Some -> Many

-- 
You are receiving this mail because:
You are on the CC list for the bug.