Subject: bug#39611: coreutils v8.31 fails to compile with -Ofast

From: zsugabubus <[email-masked]>
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