Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2024 15:10:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 276597] cannot build world with WITH_ASAN configured
Message-ID:  <bug-276597-29464-Bx7b74Pu5L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276597-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276597-29464@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=3D276597

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #2)
Yes please!

Sadly, that's not enough for the WITH_ASAN build to succeed.  Now it fails
while linking llvm-ar:

ld: error: undefined symbol:
llvm::MachO::Symbol::operator=3D=3D(llvm::MachO::Symbol const&) const
>>> referenced by Symbol.h:142 (/home/markj/sb/main/src/contrib/llvm-projec=
t/llvm/include/llvm/TextAPI/Symbol.h:142)
>>>               InterfaceFile.o:(bool llvm::operator=3D=3D<llvm::DenseMap=
<llvm::SymbolsMapKey, llvm::MachO::Symbol*, llvm::DenseMapInfo<llvm::Symbol=
sMapKey, void>, llvm::detail::DenseMapPair<llvm::SymbolsMapKey, llvm::MachO=
::Symbol*>>, llvm::DenseMapInfo<llvm::SymbolsMapKey, void>, llvm::detail::D=
enseMapPair<llvm::Symb
olsMapKey,
llvm::MachO::Symbol*>>(llvm::DenseMapBase<llvm::DenseMap<llvm::SymbolsMapKe=
y,
llvm::MachO::Symbol*, llvm::DenseMapInfo<llvm::SymbolsMapKey, void>,
llvm::detail::DenseMapPair<llvm::SymbolsMapKey, llvm::MachO::Symbol*>>,
llvm::SymbolsMapKey, llvm::MachO::Symbol*,
llvm::DenseMapInfo<llvm::SymbolsMapKey, void>
, llvm::detail::DenseMapPair<llvm::SymbolsMapKey, llvm::MachO::Symbol*>>
const&, llvm::DenseMapBase<llvm::DenseMap<llvm::SymbolsMapKey,
llvm::MachO::Symbol*, llvm::DenseMapInfo<llvm::SymbolsMapKey, void>,
llvm::detail::DenseMapPair<llvm::SymbolsMapKey, llvm::MachO::Symbol*>>,
llvm::SymbolsMapKey, llvm::MachO::Symbol*
, llvm::DenseMapInfo<llvm::SymbolsMapKey, void>,
llvm::detail::DenseMapPair<llvm::SymbolsMapKey, llvm::MachO::Symbol*>> cons=
t&))
in archive
/usr/obj/home/markj/sb/main/src/amd64.amd64/lib/clang/libllvm/libllvm.a

--=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-276597-29464-Bx7b74Pu5L>