[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:44:04 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 mopihopi):

 {{{
 $ 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-darwin14.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.10.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-
 usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-
 value-names -main-file-name - -mrelocation-model pic -pic-level 2
 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables
 -target-cpu core2 -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/markh/tmp -ferror-limit 19 -fmessage-length 90 -stack-protector 1
 -fblocks -fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature
 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o
 /var/folders/pm/6qxfxkcj3bz9k7zpcv82g86h0000gn/T/--0710ea.o -x c -
 clang -cc1 version 4.0.0 based upon LLVM 4.0.0 default target x86_64
 -apple-darwin14.5.0
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/local/include
  /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.10.0 -o a.out
 /var/folders/pm/6qxfxkcj3bz9k7zpcv82g86h0000gn/T/--0710ea.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-253.9
 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h
 armv6m armv7k armv7m armv7em (tvOS)
 Library search paths:
         /usr/lib
         /usr/local/lib
 Framework search paths:
         /Library/Frameworks/
         /System/Library/Frameworks/
 ld: unknown option: -no_deduplicate
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 $
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53600#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list