[LLVMdev] dragonegg now requires clang

Jack Howarth howarth at bromo.med.uc.edu
Fri Dec 7 09:11:19 PST 2012


Duncan,
   I am unable to complile dragonegg 3.2 with FSF gcc 4.7 due the the
compiler errors...

GCC=/sw/lib/gcc4.7/bin/gcc-4 LLVM_CONFIG=/sw/opt/llvm-3.2/bin/llvm-config VERBOSE=1 ENABLE_LLVM_PLUGINS=1 make CPPFLAGS="-g -DENABLE_LTO -I/sw/include"
/sw/lib/gcc4.7/bin/gcc-4 --version > /dev/null
/sw/opt/llvm-3.2/bin/llvm-config --version > /dev/null
Compiling utils/TargetInfo.cpp
/sw/lib/gcc4.7/bin/g++-4 -c -DTARGET_TRIPLE=\"x86_64-apple-darwin12.2.0\" \
	-g -DENABLE_LTO -I/sw/include -I/sw/opt/llvm-3.2/include    -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -Wcovered-switch-default -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -MD -MP -DIN_GCC -DLLVM_VERSION=\"3.2svn\" -DGCC_MAJOR=4 -DGCC_MINOR=7 -DGCC_MICRO=2 -I/sw/src/fink.build/dragonegg-gcc47-3.2-0/dragonegg-3.2/include -isystem/sw/lib/gcc4.7/lib/gcc/x86_64-apple-darwin12.2.0/4.7.2/plugin/include -Wall -Wextra -DENABLE_LLVM_PLUGINS -I/sw/opt/llvm-3.2/include  -fPIC -fvisibility-inlines-hidden -g  -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -Wcovered-switch-default -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS /sw/src/fink.build/dragonegg-gcc47-3.2-0/dragonegg-3.2/utils/TargetInfo.cpp
g++-4: error: unrecognized command line option '-Wcovered-switch-default'
g++-4: error: unrecognized command line option '-Wcovered-switch-default'
make: *** [TargetInfo.o] Error 1

Have you noticed this issue on linux? It seems to introduce an unwanted compiler dependency for building
dragonegg.
      Jack




More information about the llvm-dev mailing list