[MacPorts] #39711: llvm-3.3 @3.3_0+assertions: build failure, "Undefined symbols for architecture x86_64"
MacPorts
noreply at macports.org
Sun Aug 11 19:46:27 PDT 2013
#39711: llvm-3.3 @3.3_0+assertions: build failure, "Undefined symbols for
architecture x86_64"
-----------------------------+------------------------
Reporter: eric.lebigot@… | Owner: jeremyhu@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: worksforme | Keywords:
Port: llvm-3.3 |
-----------------------------+------------------------
Changes (by jeremyhu@…):
* status: new => closed
* resolution: => worksforme
Comment:
This builds fine on all my machines and on the buildbots.
You're going to need to do some debugging yourself to figure out why that
destructor is missing.
{{{
/usr/bin/clang++
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/unittests/Analysis
-D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/utils/unittest/googletest/include
-Wno-missing-field-initializers -Wno-variadic-macros -DGTEST_HAS_RTTI=0
-DGTEST_USE_OWN_TR1_TUPLE -O3 -g -fvisibility-inlines-hidden -fno-
exceptions -fno-common -Woverloaded-virtual -Wcast-qual -pipe -O2 -arch
x86_64 -pipe -O2 -arch x86_64 -O3 -g -Wl,-rpath
-Wl, at executable_path/../lib
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib
-Wl,-rpath
-Wl,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib
-arch x86_64 -arch x86_64 -m64 -pedantic -Wno-long-long -Wall -W -Wno-
unused-parameter -Wwrite-strings -Wno-uninitialized -Wno-missing-field-
initializers -o Release+Debug+Asserts/AnalysisTests
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/unittests/Analysis/Release+Debug+Asserts/ScalarEvolutionTest.o
\
:info:build -lgtest -lgtest_main -lLLVM-3.3 -lz -lpthread -lffi -lm
:info:build Undefined symbols for architecture x86_64:
:info:build "llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()",
referenced from:
:info:build llvm::(anonymous
namespace)::ScalarEvolutionsTest_SCEVMultiplyAddRecs_Test::TestBody() in
ScalarEvolutionTest.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[2]: *** [Release+Debug+Asserts/AnalysisTests] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/llvm-3.3.src/unittests/Analysis'
}}}
Please reopen if you have additional information. If you just need to get
past this, I suggest you just use the binary packages.
--
Ticket URL: <https://trac.macports.org/ticket/39711#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list