[MacPorts] #53600: clang-4.0 @4.0-r292772_1: cannot build executables on OS X 10.10.5
MacPorts
noreply at macports.org
Mon Feb 20 00:11:03 UTC 2017
#53600: clang-4.0 @4.0-r292772_1: cannot build executables on OS X 10.10.5
------------------------+-----------------
Reporter: mopihopi | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: clang-4.0 |
------------------------+-----------------
Comment (by jeremyhu):
Works for me:
{{{
$ echo 'int main() {return 0;}' | clang-mp-4.0 -x c - -v -Wl,-v
clang version 4.0.0 (branches/release_40 292772)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-4.0/bin
"/opt/local/libexec/llvm-4.0/bin/clang" -cc1 -triple x86_64-apple-
macosx10.12.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-
usage -emit-obj -mrelax-all -disable-free -main-file-name - -mrelocation-
model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-
verbose -munwind-tables -target-cpu penryn -target-linker-version 274.1 -v
-dwarf-column-info -debugger-tuning=lldb -resource-dir
/opt/local/libexec/llvm-4.0/bin/../lib/clang/4.0.0 -fdebug-compilation-dir
/Users/jeremy -ferror-limit 19 -fmessage-length 80 -stack-protector 1
-fblocks -fobjc-runtime=macosx-10.12.0 -fencode-extended-block-signature
-fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/c1/7p4m5bx904392j49x1w2vyxh0000gn/T/--73046a.o -x c -
clang -cc1 version 4.0.0 based upon LLVM 4.0.0 default target x86_64
-apple-darwin16.5.0
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/local/libexec/llvm-4.0/bin/../lib/clang/4.0.0/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
"/opt/local/libexec/llvm-4.0/bin/ld" -demangle -lto_library
/opt/local/libexec/llvm-4.0/lib/libLTO.dylib -no_deduplicate -dynamic
-arch x86_64 -macosx_version_min 10.12.0 -o a.out
/var/folders/c1/7p4m5bx904392j49x1w2vyxh0000gn/T/--73046a.o -v -lSystem
/opt/local/libexec/llvm-4.0/bin/../lib/clang/4.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-274.1
configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m
armv7k arm64 (tvOS)
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53600#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list