[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #56109] many autoconf tests produce wrong results wit

From: Bruno Haible
Subject: [bug-gettext] [bug #56109] many autoconf tests produce wrong results with CC="gcc -flto"
Date: Sun, 18 Aug 2019 11:05:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Update of bug #56109 (project gettext):

                  Status:               Confirmed => Fixed                  
             Open/Closed:                    Open => Closed                 


Follow-up Comment #20:

Fixed in gnulib through this commit:

However, building gettext with CC="gcc -fto" does still not work, because of
an issue in libtool: libtool's _LT_CMD_GLOBAL_SYMBOLS cannot determine
lt_cv_sys_global_symbol_pipe in this situation, because 'nm' does not work on
object files. Test case:


char nm_test_var;
void nm_test_func(void);
void nm_test_func(void){}
int main(){nm_test_var='a';nm_test_func();return(0);}

$ gcc -flto -O2 -c conftest.c ; nm conftest.o
nm: conftest.o: plugin needed to handle lto object
0000000000000001 C __gnu_lto_slim
0000000000000001 C __gnu_lto_v1

Feel free to report this to the binutils people.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]