[MacPorts] #42899: llvm-gcc42 fails to install after installing Xcode 5.1
MacPorts
noreply at macports.org
Mon Mar 17 11:43:22 PDT 2014
#42899: llvm-gcc42 fails to install after installing Xcode 5.1
---------------------------------+--------------------------------
Reporter: tcollett+macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: llvm-gcc42
---------------------------------+--------------------------------
When attempting to install the llvm-gcc42 port (upon which various others
depend) after installing Xcode 5.1 and the corresponding version of clang
("Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)"), it
fails with the following error:
{{{
/usr/bin/clang++ -pipe -stdlib=libstdc++
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/lib/Transforms/Hello
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/src/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/src/lib/Transforms/Hello -DNDEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-exceptions
-fno-common -Woverloaded-virtual -DLLVM_VERSION_INFO='" Apple Build
#2336-11"' -mmacosx-version-min=10.9 -pedantic -Wno-long-long -Wall -W
-Wno-unused-parameter -Wwrite-strings -arch i386 -arch x86_64 -O2 -g
-module -Wl,-rpath
-Wl,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/Release+Debug-Asserts/lib
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/Release+Debug-Asserts/lib
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/Release+Debug-Asserts/lib -Wl,-flat_namespace
-Wl,-undefined -Wl,suppress -dynamiclib -mmacosx-version-min=10.9 -o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/Release+Debug-Asserts/lib/LLVMHello.dylib
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/lib/Transforms/Hello/Release+Debug-Asserts/Hello.o \
-lpthread -lm
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/src/lib/Transforms/InstCombine/InstCombineSelect.cpp:14:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/src/lib/Transforms/InstCombine/InstCombine.h:13:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/src/lib/Transforms/InstCombine/InstCombineWorklist.h:18:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/src/include/llvm/ADT/DenseMap.h:387:18: warning: explicitly
assigning a variable of type 'bool' to itself [-Wself-assign]
FoundVal = FoundVal; // silence warning.
~~~~~~~~ ^ ~~~~~~~~
clang: error: unknown argument: '-module' [-Wunused-command-line-argument-
hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future
make[5]: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot/obj-
llvmCore/obj-llvm/Release+Debug-Asserts/lib/LLVMHello.dylib] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/42899>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list