tag 667153 upstream thanks On Tue, Apr 03, 2012 at 11:08:38PM +0000, Matthias Klose wrote: > The package fails to build in a test rebuild on at least amd64 with > gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The > severity of this report may be raised before the wheezy release. > > Backend.cpp:56:20: fatal error: config.h: No such file or directory [...]
This is because DragonEgg build-depends directly on gcc-4.6-plugin-dev rather than gcc-4.7-plugin-dev. Once the latter is installed, it gets hairier: Compiling Backend.cpp g++ -c -DTARGET_NAME=\"i486--linux-gnu\" -I/tmp/dragonegg-3.0/include/x86 -I/tmp/dragonegg-3.0/include/linux -I/tmp/dragonegg-3.0/src/linux/ -I/usr/lib/llvm-3.0/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MP -DIN_GCC -DREVISION=\"exported\" -DGCC_MAJOR=4 -DGCC_MINOR=7 -DGCC_MICRO=0 -I/tmp/dragonegg-3.0/include -I/usr/lib/gcc/i486-linux-gnu/4.7/plugin/include -Wall -Wextra -fvisibility=hidden -I/usr/lib/llvm-3.0/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual /tmp/dragonegg-3.0/src/Backend.cpp /tmp/dragonegg-3.0/src/Backend.cpp: In function ‘void CreateTargetMachine(const string&)’: /tmp/dragonegg-3.0/src/Backend.cpp:435:3: error: ‘ix86_cmodel_string’ was not declared in this scope /tmp/dragonegg-3.0/src/Backend.cpp: In function ‘void emit_aliases(cgraph_node_set, varpool_node_set)’: /tmp/dragonegg-3.0/src/Backend.cpp:1562:24: error: ‘struct cgraph_node’ has no member named ‘same_body’ /tmp/dragonegg-3.0/src/Backend.cpp: In function ‘int plugin_init(plugin_name_args*, plugin_gcc_version*)’: /tmp/dragonegg-3.0/src/Backend.cpp:2067:29: warning: cast from type ‘const ggc_cache_tab*’ to type ‘void*’ casts away qualifiers [-Wcast-qual] make[1]: *** [Backend.o] Error 1 make[1]: Leaving directory `/tmp/dragonegg-3.0' It seems DragonEgg is yet to be fully ported to GCC 4.7: <http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/048382.html> Cheers, Matej -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org