GNU bug report logs - #39611
coreutils v8.31 fails to compile with -Ofast

Previous Next

Package: coreutils;

Reported by: zsugabubus <zsugabubus <at> national.shitposting.agency>

Date: Sat, 15 Feb 2020 00:35:02 UTC

Severity: normal

To reply to this bug, email your comments to 39611 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#39611; Package coreutils. (Sat, 15 Feb 2020 00:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zsugabubus <zsugabubus <at> national.shitposting.agency>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 15 Feb 2020 00:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zsugabubus <zsugabubus <at> national.shitposting.agency>
To: bug-coreutils <at> gnu.org
Subject: coreutils v8.31 fails to compile with -Ofast
Date: Sat, 15 Feb 2020 00:21:30 +0100
Hi,

$ export CFLAGS=-Ofast # Works with -O3
$ ./configure && make

/usr/bin/ld: lib/libcoreutils.a(strtold.o):(.data+0x0): multiple definition of `minus_zero'; lib/libcoreutils.a(strtod.o):(.data+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:8537: src/od] Error 1
make[2]: *** Waiting for unfinished jobs....
  CCLD     src/printf
make[2]: Leaving directory '/build/upstream'
make[1]: *** [Makefile:12165: all-recursive] Error 1
make[1]: Leaving directory '/build/upstream'
make: *** [Makefile:6351: all] Error 2
make: Leaving directory '/build/upstream'

-- 
zsugabubus




Information forwarded to bug-coreutils <at> gnu.org:
bug#39611; Package coreutils. (Sat, 15 Feb 2020 01:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 39611 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: zsugabubus <zsugabubus <at> national.shitposting.agency>
Cc: 39611 <at> debbugs.gnu.org
Subject: Re: bug#39611: coreutils v8.31 fails to compile with -Ofast
Date: Fri, 14 Feb 2020 17:08:47 -0800
On 2/14/20 3:21 PM, zsugabubus wrote:
> $ export CFLAGS=-Ofast # Works with -O3
> $ ./configure && make

Coreutils (and many other programs) is not compatible with -Ofast, which is not 
surprising as -Ofast is documented to not work in many cases. The obvious 
workaround is to not use -Ofast.




This bug report was last modified 4 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.