This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Failure to bootstrap for trunk on athlon_mp-pc-linux-gnu
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Autocrasher <autocrasher at devphil dot com>
- Date: Sat, 12 Apr 2003 16:07:38 -0700
- Subject: Re: Failure to bootstrap for trunk on athlon_mp-pc-linux-gnu
- References: <20030412210647.GA14793@devphil.com>
Autocrasher <autocrasher at devphil dot com> writes:
> The tree has failed during the bootstrap step. The last 30 lines of
> the log are below; since I do parallel builds, the error may not be on the
> last line.
...
> cp/call.o(.text+0x6207): In function `print_z_candidates':
> /home/pme/src/trunk/gcc/cp/call.c:2513: undefined reference to `gcc_gettext_width'
Why you go and do a silly thing like build with --disable-nls? :-)
Fixed thus.
zw
* intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
===================================================================
Index: intl.h
--- intl.h 12 Apr 2003 18:07:04 -0000 1.5
+++ intl.h 12 Apr 2003 23:04:30 -0000
@@ -49,6 +49,7 @@ extern size_t gcc_gettext_width PARAMS (
# undef gettext
# define gettext(msgid) (msgid)
# define gcc_init_libintl() /* nothing */
+# define gcc_gettext_width(s) strlen(s)
#endif
#ifndef _