This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gengenrtl needs to link with libintl


> Checking for GENERATOR_FILE seems reasonable too, except that it is a gcc
> specific macro, and hence I don't think it should go into the libiberty
> directory.  Instead, I'd suggest modifying either the gcc config.h or the
> gcc auto-host.h files to undef or not define the problematic HAVE_LIBINTL_H
> macro when GENERATOR_FILE is true.

The above is reasonable but the current reality is that obstack.c is
compiled for gcc with the macro GENERATOR_FILE defined.  I submitted
a patch to check for GENERATOR_FILE in obstack.c a number of days ago,
<http://gcc.gnu.org/ml/gcc-patches/2001-10/msg01695.html>, but there
has been no specific comment or review.

In my opinion, when a problem develops causing bootstrap failure on one
or more platforms, the issue needs to be addressed with more urgency
than bugs that have a more limited impact.  I'd prefer to have a pragmatic
solution in place while the issues are debated by the maintainers of
libiberty and the gcc build process.  This could either be a temporary
fix or reversal of the patch which caused the failure.  We seem to be
stalled in this case because another patch to resolve the issue didn't
receive comment.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]