Failure to bootstrap for trunk on athlon_mp-pc-linux-gnu

Zack Weinberg zack@codesourcery.com
Sat Apr 12 23:07:00 GMT 2003


Autocrasher <autocrasher@devphil.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 _



More information about the Gcc-patches mailing list