Hi Tom, Thanks for your help. Now my front-end (so far based on treelang) parses fine and I can run some simple examples. I am trying to keep it as simple as possible. Any idea why the following declarations are required: #include "diagnostic.h" #include "convert.h" tree convert (tree type ATTRIBUTE_UNUSED, tree expr ATTRIBUTE_UNUSED) {return error_mark_node;} /*libbackend.a(gtype-desc.o): In function `gt_pch_nx_function':*/ void gt_ggc_mx_language_function (ATTRIBUTE_UNUSED void *x_p) { } void gt_pch_nx_language_function (ATTRIBUTE_UNUSED void *x_p) { } void gt_ggc_mx_lang_tree_node (ATTRIBUTE_UNUSED void *x_p) { } void gt_pch_nx_lang_tree_node (ATTRIBUTE_UNUSED void *x_p) { } /*required in libbackend.a(ggc-common.o): In function `ggc_mark_roots'*/ const struct ggc_root_tab * const gt_ggc_deletable_rtab[] = { NULL }; const struct ggc_root_tab * const gt_ggc_rtab[] = { NULL }; const struct ggc_root_tab * const gt_pch_scalar_rtab[] = { NULL }; const struct ggc_root_tab * const gt_pch_cache_rtab[] = { NULL }; const struct ggc_cache_tab * const gt_ggc_cache_rtab[] = { NULL };
Thanks, Laurent > -----Original Message----- > From: Tom Tromey [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 07, 2008 5:45 PM > To: Lemaitre Laurent-R29173 > Cc: gcc@gcc.gnu.org > Subject: Re: front-end: compilation fails - how to fix 'use > poisoned USE_MAPPED_LOCATION' > > >>>>> "Laurent" == Lemaitre Laurent-R29173 > <[EMAIL PROTECTED]> writes: > > Laurent> Is-there a good (wiki) place where I can get some info on how > Laurent> to fix my issue with USE_MAPPED_LOCATION? > > USE_MAPPED_LOCATION was removed. Only mapped locations remain. > So, you can fix your issue by removing the not-mapped code. > > Tom >