[MacPorts] #54129: llvm-4.0 build fails due to libtool error on SnowLeopard when built with clang-3.9, but succeeds when built with clang-3.7
MacPorts
noreply at macports.org
Mon May 8 18:29:18 UTC 2017
#54129: llvm-4.0 build fails due to libtool error on SnowLeopard when built with
clang-3.9, but succeeds when built with clang-3.7
-----------------------+----------------------
Reporter: kencu | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: llvm-4.0 |
-----------------------+----------------------
Comment (by kencu):
I changed the xcode test to 4.3 (which is beyond the xcode I have
installed), and now clang-4.0 builds through with clang-3.9 on
SnowLeopard, using macport's cctools-895 libtool.
{{{
if {[vercmp $xcodeversion "4.3"] < 0} {
depends_build-append port:cctools
depends_skip_archcheck-append cctools
configure.args-append \
-DCMAKE_LIBTOOL=${prefix}/bin/libtool
}
}}}
{{{
cd
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/build/lib/Support
&& /opt/local/bin/clang++-mp-3.9 -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/build/lib/Support
-I/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/llvm-4.0.0.src/lib/Support
-I/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/build/include
-I/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/llvm-4.0.0.src/include
-pipe -Os -U__STRICT_ANSI__ -std=c++11 -stdlib=libc++ -fPIC -fvisibility-
inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-
default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion
-Werror=date-time -std=c++11 -DNDEBUG -arch x86_64 -mmacosx-version-
min=10.6 -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
-c
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/llvm-4.0.0.src/lib/Support/Watchdog.cpp
[ 12%] Linking CXX static library ../libLLVMSupport.a
cd
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/build/lib/Support
&& /opt/local/bin/cmake -P
CMakeFiles/LLVMSupport.dir/cmake_clean_target.cmake
cd
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/build/lib/Support
&& /opt/local/bin/cmake -E cmake_link_script
CMakeFiles/LLVMSupport.dir/link.txt --verbose=ON
/opt/local/bin/libtool -static -no_warning_for_no_symbols -o
../libLLVMSupport.a CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
CMakeFiles/LLVMSupport.dir/APInt.cpp.o
CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
CMakeFiles/LLVMSupport.dir/CachePruning.cpp.o
CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
CMakeFiles/LLVMSupport.dir/Chrono.cpp.o
CMakeFiles/LLVMSupport.dir/COM.cpp.o
CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
CMakeFiles/LLVMSupport.dir/Compression.cpp.o
CMakeFiles/LLVMSupport.dir/ConvertUTF.cpp.o
CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o
CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o
CMakeFiles/LLVMSupport.dir/Debug.cpp.o
CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o
CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o
CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o
CMakeFiles/LLVMSupport.dir/Error.cpp.o
CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o
CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o
CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o
CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o
CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
CMakeFiles/LLVMSupport.dir/FormatVariadic.cpp.o
CMakeFiles/LLVMSupport.dir/GlobPattern.cpp.o
CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o
CMakeFiles/LLVMSupport.dir/Hashing.cpp.o
CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o
CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o
CMakeFiles/LLVMSupport.dir/LEB128.cpp.o
CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o
CMakeFiles/LLVMSupport.dir/Locale.cpp.o
CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o
CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o
CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o
CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o
CMakeFiles/LLVMSupport.dir/MD5.cpp.o
CMakeFiles/LLVMSupport.dir/NativeFormatting.cpp.o
CMakeFiles/LLVMSupport.dir/Options.cpp.o
CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o
CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o
CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o
CMakeFiles/LLVMSupport.dir/Regex.cpp.o
CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
CMakeFiles/LLVMSupport.dir/ScopedPrinter.cpp.o
CMakeFiles/LLVMSupport.dir/SHA1.cpp.o
CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o
CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o
CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o
CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o
CMakeFiles/LLVMSupport.dir/StringMap.cpp.o
CMakeFiles/LLVMSupport.dir/StringPool.cpp.o
CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o
CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o
CMakeFiles/LLVMSupport.dir/TarWriter.cpp.o
CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o
CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o
CMakeFiles/LLVMSupport.dir/Timer.cpp.o
CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o
CMakeFiles/LLVMSupport.dir/TrigramIndex.cpp.o
CMakeFiles/LLVMSupport.dir/Triple.cpp.o
CMakeFiles/LLVMSupport.dir/Twine.cpp.o
CMakeFiles/LLVMSupport.dir/Unicode.cpp.o
CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o
CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o
CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o
CMakeFiles/LLVMSupport.dir/regcomp.c.o
CMakeFiles/LLVMSupport.dir/regerror.c.o
CMakeFiles/LLVMSupport.dir/regexec.c.o
CMakeFiles/LLVMSupport.dir/regfree.c.o
CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o
CMakeFiles/LLVMSupport.dir/xxhash.cpp.o
CMakeFiles/LLVMSupport.dir/Atomic.cpp.o
CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
CMakeFiles/LLVMSupport.dir/Errno.cpp.o
CMakeFiles/LLVMSupport.dir/Host.cpp.o
CMakeFiles/LLVMSupport.dir/Memory.cpp.o
CMakeFiles/LLVMSupport.dir/Mutex.cpp.o
CMakeFiles/LLVMSupport.dir/Path.cpp.o
CMakeFiles/LLVMSupport.dir/Process.cpp.o
CMakeFiles/LLVMSupport.dir/Program.cpp.o
CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o
CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o
CMakeFiles/LLVMSupport.dir/Signals.cpp.o
CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o
CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o
CMakeFiles/LLVMSupport.dir/Threading.cpp.o
CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o
CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_llvm-4.0/llvm-4.0/work/build'
[ 12%] Built target LLVMSupport
etc ...
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54129#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list