bug-gettext
[Top][All Lists]
Advanced

[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: Fri, 12 Apr 2019 16:36:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Update of bug #56109 (project gettext):

                Severity:              3 - Normal => 2 - Minor              
                  Status:               Need Info => Confirmed              
                 Summary:        pow() test fails => many autoconf tests
produce wrong results with CC="gcc -flto"

    _______________________________________________________

Follow-up Comment #19:

> I'm building everything with -Wl,--as-needed and using LTO optimisation.

The LTO optimization is the problem. And it's independent of the GCC version
and of the distribution.

$ gcc -O2 test-pow.c
/tmp/ccAF8sCL.o:(.data+0x0): undefined reference to `pow'
collect2: error: ld returned 1 exit status
$ gcc -O2 -flto test-pow.c
<no error>

To be fixed in gnulib.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56109>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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