[LLVMbugs] [Bug 9656] New: dragonegg 2.9 fails to compile against FSF gcc 4.5.2/4.5.3svn and llvm 2.9
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 8 05:55:32 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9656
Summary: dragonegg 2.9 fails to compile against FSF gcc
4.5.2/4.5.3svn and llvm 2.9
Product: dragonegg
Version: 2.9
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: New Bugs
AssignedTo: baldrick at free.fr
ReportedBy: howarth at nitro.med.uc.edu
CC: llvmbugs at cs.uiuc.edu
The build of dragonegg 2.9 against either FSF gcc 4.5.2 or 4.5.3svn and llvm
2.9 fails as follows with CC set to /sw/lib/gcc4.5/bin/gcc-4 and CXX set to
/sw/lib/gcc4.5/bin/g++-4...
GCC=/sw/lib/gcc4.5/bin/gcc-4 LLVM_CONFIG=/sw/bin/llvm-config make VERBOSE=1
CPPFLAGS="-DENABLE_LTO -I/sw/include"
...
Compiling Backend.cpp
/sw/lib/gcc4.5/bin/g++-4 -c -DENABLE_LTO -I/sw/include -I/sw/include -D_DEBUG
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC
-DREVISION=\"exported\" -DGCC_MAJOR=4 -DGCC_MINOR=5
-I/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9
-I/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/ADT
-I/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include
-DTARGET_NAME=\"x86_64-apple-darwin10.7.0\"
-I/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/x86
-I/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/darwin -Wall -Wextra
-fvisibility=hidden -I/sw/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -O3 -fno-exceptions -fno-rtti -fno-common
-Woverloaded-virtual -Wcast-qual
/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/Backend.cpp
In file included from
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/config.h:6:0,
from
/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/Backend.cpp:55:
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/auto-host.h:39:0:
warning: "DEFAULT_USE_CXA_ATEXIT" redefined
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/defaults.h:921:0:
note: this is the location of the previous definition
/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/Backend.cpp:310:2:
error: #error LLVM_TARGET_NAME macro not specified
In file included from
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/tm.h:4:0,
from
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/Target.h:52,
from
/sw/src/fink.build/dragonegg-gcc45-2.9-1/dragonegg-2.9/Backend.cpp:31:
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/options.h:414:13:
error: expected unqualified-id before ')' token
/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.7.0/4.5.3/plugin/include/options.h:582:13:
error: expected unqualified-id before ')' token
....
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list