#50130: ld64 @2 invalid value 'c++11' in '-std=c++11' -------------------------+------------------------ Reporter: macports@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ld64 | -------------------------+------------------------ Comment (by macports@…): xcodebuildversion {{{ Xcode 4.6.3 Build version 4H1503 }}} $ sudo port -v install ld64-latest {{{ ---> Computing dependencies for ld64-latest. ---> Fetching archive for ld64-latest ---> ld64-latest-253.3_0+llvm34.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch ld64-latest-253.3_0+llvm34.darwin_11.x86_64.tbz2 from http://packages.macports.org/ld64-latest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch ld64-latest-253.3_0+llvm34.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ld64-latest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 301 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch ld64-latest-253.3_0+llvm34.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/ld64-latest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Fetching distfiles for ld64-latest ---> Verifying checksums for ld64-latest ---> Checksumming ld64-253.3.tar.gz ---> Extracting ld64-latest ---> Extracting ld64-253.3.tar.gz ---> Applying patches to ld64-latest ---> Applying ld64-version.patch patching file src/ld/Options.cpp Hunk #1 succeeded at 99 with fuzz 2 (offset 67 lines). Hunk #2 succeeded at 3718 with fuzz 2 (offset 1563 lines). ---> Applying ld64-133-no-CrashReporterClient.h.patch patching file src/ld/Options.cpp Hunk #1 succeeded at 57 (offset 7 lines). Hunk #2 succeeded at 5313 (offset 1066 lines). ---> Applying ld64-134-missing-include.patch patching file src/ld/parsers/lto_file.cpp Hunk #1 succeeded at 37 with fuzz 2 (offset 2 lines). patching file src/other/rebase.cpp ---> Applying ld64-136-i386-badAddress.patch patching file src/ld/LinkEdit.hpp Hunk #1 succeeded at 1454 (offset 176 lines). ---> Applying ld64-ppc-9610466.patch patching file src/ld/OutputFile.cpp Hunk #1 succeeded at 620 (offset -5 lines). ---> Applying PR-23184186.patch patching file src/ld/Options.cpp ---> Applying PR-23184384.patch patching file src/other/machochecker.cpp ---> Applying PR-23184771.patch patching file src/ld/passes/bitcode_bundle.cpp ---> Applying PR-49393.patch patching file src/ld/parsers/textstub_dylib_file.cpp ---> Patching Options.cpp: s|@@VERSION@@|253.3|g ---> Configuring ld64-latest DERIVED_SOURCES_DIR=src/ld DERIVED_FILE_DIR=src/ld src/create_configure > src/ld/configure.h ---> Building ld64-latest make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64-latest/work/ld64-253.3' /usr/bin/clang++ -Os -Os -std=c++11 -stdlib=libc++ -arch x86_64 -I/opt/local/libexec/llvm-3.4/include -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp /usr/bin/clang -Os -Os -arch x86_64 -I/opt/local/libexec/llvm-3.4/include -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include -c -o src/ld/debugline.o src/ld/debugline.c error: invalid value 'c++11' in '-std=c++11' make: *** [src/other/ObjectDump.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64-latest/work/ld64-253.3' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64-latest/work/ld64-253.3" && /usr/bin/make -j2 -w all CC="/usr/bin/clang" CXX="/usr/bin/clang++" OTHER_CPPFLAGS="-I/opt/local/include" OTHER_CFLAGS="-Os -arch x86_64" OTHER_CXXFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" OTHER_LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64" LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.4 Exit code: 2 Error: org.macports.build for port ld64-latest returned: command execution failed Warning: targets not executed for ld64-latest: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port ld64-latest for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ld64/ld64-latest/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ld64-latest failed }}} -- Ticket URL: <https://trac.macports.org/ticket/50130#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X