svn commit: r356479 - head/lib/clang/libllvmminimal
Brandon Bergren
bdragon at FreeBSD.org
Tue Jan 7 22:45:02 UTC 2020
Author: bdragon
Date: Tue Jan 7 22:45:02 2020
New Revision: 356479
URL: https://svnweb.freebsd.org/changeset/base/356479
Log:
[PowerPC] Fix libllvmminimal build when building from powerpc64 ELFv1.
When bootstrapping on powerpc64 ELFv1, it is necessary to use binutils
ld.bfd from ports for the bootstrap, as this is the only modern linker for
ELFv1 host tools.
As binutils ld.bfd is rather strict in its handling of undefined symbols,
it is necessary to pull in Support/Atomic.cpp to avoid an undefined symbol.
Reviewed by: dim, emaste
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D23072
Modified:
head/lib/clang/libllvmminimal/Makefile
Modified: head/lib/clang/libllvmminimal/Makefile
==============================================================================
--- head/lib/clang/libllvmminimal/Makefile Tue Jan 7 21:56:28 2020 (r356478)
+++ head/lib/clang/libllvmminimal/Makefile Tue Jan 7 22:45:02 2020 (r356479)
@@ -10,6 +10,7 @@ SRCS+= Demangle/ItaniumDemangle.cpp
SRCS+= Support/APFloat.cpp
SRCS+= Support/APInt.cpp
SRCS+= Support/ARMTargetParser.cpp
+SRCS+= Support/Atomic.cpp
SRCS+= Support/CodeGenCoverage.cpp
SRCS+= Support/CommandLine.cpp
SRCS+= Support/ConvertUTF.cpp
More information about the svn-src-all
mailing list