This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gengenrtl needs to link with libintl
- To: wilson at cygnus dot com (Jim Wilson)
- Subject: Re: gengenrtl needs to link with libintl
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sat, 10 Nov 2001 17:49:32 -0500 (EST)
- Cc: gcc-bugs at gcc dot gnu dot org, zack at codesourcery dot com, gcc-patches at gcc dot gnu dot org
> 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)