Le 29/08/2011 15:15, Basile Starynkevitch a écrit : > On Mon, Aug 29, 2011 at 12:21:12PM +0200, Alexandre Lissy wrote: >> Files containing the MELT translated to C code were not loaded correctly >> due to bad search path when working with an installed plugin. Present >> commit fixes this by: >> - using a melt find to search in current dir >> - ensuring the melt_modulename in melt descriptor only contains the >> module name, and no path component > > Are you sure of that patch? It seems that it loops on the hello world tiny > test I added in the MELT branch rev 178154 > > Does it work for you when merging with latest MELT updates (ie when applying > that patch to rev 178154 of the MELT branch? > > (I am investigating) > > Cheers. >
And on a second run, I get: $ LC_ALL=C gcc -c @melt-sayhello.args cc1: warning: MELT cannot access module makefile /usr/lib64/gcc/x86_64-mandriva-linux-gnu/4.6.1/plugin/melt-module.mk : No such file or directory [enabled by default] cc1: error: cannot load MELT module list melt-default-modules cc1: note: MELT source path /home/alex/BuildSystem/gcc-plugin-melt/BUILD/melt-0.8.99-plugin-for-gcc-4.6/melt-sources cc1: note: builtin MELT source directory /usr/lib64/gcc/x86_64-mandriva-linux-gnu/4.6.1/plugin/melt-sources cc1: error: MELT fatal failure from melt-runtime.c:9050 [MELT built Aug 29 2011] cc1: error: MELT failed at melt-runtime.c:9050 in directory /home/alex/BuildSystem/gcc-plugin-melt/BUILD/melt-0.8.99-plugin-for-gcc-4.6 SHORT BACKTRACE[#0] MELT fatal failure; #1:_ {melt-runtime.c:9020:: meltgc_load_module_list start depth 0 modlistbase melt-default-modules} #2:_ {melt-runtime.c:9347:: meltgc_load_modules_and_do_mode before loading curmod @@} . cc1: error: MELT got fatal failure from melt-runtime.c:9050 cc1: fatal error: MELT failed to load module list melt-default-modules.modlis compilation terminated.