[Bug target/84829] New: -mieee-fp causes to link with -lieee but that is no longer available
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 12 08:39:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84829
Bug ID: 84829
Summary: -mieee-fp causes to link with -lieee but that is no
longer available
Product: gcc
Version: 7.3.1
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
CC: jakub at gcc dot gnu.org, jsm28 at gcc dot gnu.org
Target Milestone: ---
Target: x86_64-*-*, i?86-*-*
Joseph, you removed libieee.a from glibc 2.27 but GCC still links against it
via gcc/config/gnu-user.h GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC causing
programs building with -mieee-fp.
Docs for -mieee-fp say
@item -mieee-fp
@itemx -mno-ieee-fp
@opindex mieee-fp
@opindex mno-ieee-fp
Control whether or not the compiler uses IEEE floating-point
comparisons. These correctly handle the case where the result of a
comparison is unordered.
I'm not sure whether that warrants linking with -lieee (in the past).
More information about the Gcc-bugs
mailing list