I'm having trouble building dehydra.

I'm mostly following the instructions at https://developer.mozilla.org/En/Dehydra/Installing_Dehydra, but I used a trunk (almost 4.5) build of gcc instead of patching 4.3 as the instructions said. Spidermonkey is current trunk.

Configuring was done with
export CXX="$HOME/dxr/gcc/install/bin/g++"
./configure --js-libs=$HOME/dxr/spidermonkey/mozilla-central/js/src/build-release --js-headers=$HOME/dxr/spidermonkey/mozilla-central/js/src

Running make gives the error
[...]
/home/dolphinling/dxr/gcc/install/bin/g++ -Wp,-C -save-temps -DTREEHYDRA_CONVERT_JS -fpermissive -fshow-column -Wall -fPIC -DXP_UNIX -DIN_GCC -DPLUGIN_NO_POISON -DHAVE_CONFIG_H -I/home/dolphinling/dxr/gcc/install/lib/gcc/i686-pc-linux-gnu/4.5.0/plugin/include -I/home/dolphinling/dxr/spidermonkey/mozilla-central/js/src -I/home/dolphinling/dxr/spidermonkey/mozilla-central/js/src/build-release -I//home/dolphinling/local/include/js/ -fplugin=./gcc_dehydra.so -fplugin-arg-gcc_dehydra-=convert_tree.js gcc_cp_headers.h -o /dev/null
Dehydra didn't find required types needed to generate Treehydra
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_TYPE               | gcc_dehydra
PLUGIN_FINISH_UNIT               | gcc_dehydra
PLUGIN_CXX_CP_PRE_GENERICIZE     | gcc_dehydra
PLUGIN_FINISH                    | gcc_dehydra
PLUGIN_ATTRIBUTES                | gcc_dehydra
In file included from gcc_cp_headers.h:33:0:
/home/dolphinling/dxr/gcc/install/lib/gcc/i686-pc-linux-gnu/4.5.0/plugin/include/tree-iterator.h:117:51: internal compiler error: tree check: expected tree_list, have template_info in dehydra_attachTypeAttributes, at dehydra_types.c:52
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [treehydra_generated.c] Error 1

Any ideas on what I'm doing wrong?


--
dolphinling
<http://dolphinling.net/>
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to