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: Failure to bootstrap for trunk on athlon_mp-pc-linux-gnu


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 _


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