|
From: | Sam Thursfield |
Subject: | [bug-gettext] gettext 0.18.2 fails to compile without optimisations |
Date: | Tue, 15 Jan 2013 13:38:10 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi I find that if gettext 0.18.2 is configured as follows: CFLAGS= ./configure The compilation fails later on with the following error: ... Making all in tests make[3]: Entering directory `/gettext.build/gettext-tools/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 \ -o gettextpo-1-prg gettextpo_1_prg-gettextpo-1-prg.o \ ../libgettextpo/libgettextpo.la ../intl/libgnuintl.la libtool: link: gcc -std=gnu99 -o .libs/gettextpo-1-prg \ gettextpo_1_prg-gettextpo-1-prg.o ../libgettextpo/.libs \ /libgettextpo.so ../intl/.libs/libgnuintl.so -lc ../intl/.libs/libgnuintl.so: undefined reference to `xsum' ../intl/.libs/libgnuintl.so: undefined reference to `xmax' ../intl/.libs/libgnuintl.so: undefined reference to `xsum4' collect2: ld returned 1 exit statusThe compiler is GCC 4.6.2 on x86_64. Compilation succeeds if the default CFLAGS are used, so I think the cause of the problem is that without inlining, these functions do not work somehow.
Thanks Sam
[Prev in Thread] | Current Thread | [Next in Thread] |