[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:04:54 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):
Oh, I see. You already have that.
Maybe this xcodeversion test will need to be bumped up past 4.2 then. Not
sure where it needs to be set.
{{{
# I'm not sure the exact version of Xcode that has a good enough libtool,
but 3.2.6 seems to get past this when 3.1.4 doesn't:
# /Developer/usr/bin/libtool: for architecture x86_64 object:
CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o malformed object (unknown
load command 1)
# /Developer/usr/bin/libtool: for architecture: (null) file:
CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o is not an object file (not
allowed in a library)
# /Developer/usr/bin/libtool: for architecture i386 object:
CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o malformed object (unknown
load command 1)
if {[vercmp $xcodeversion "3.2.6"] < 0} {
depends_build-append port:cctools
depends_skip_archcheck-append cctools
configure.args-append \
-DCMAKE_LIBTOOL=${prefix}/bin/libtool
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54129#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list