This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11840] New: Bad use of the autoconf cache for -fgnu89-inline
- From: "viriketo at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Jul 2010 21:26:20 -0000
- Subject: [Bug libc/11840] New: Bad use of the autoconf cache for -fgnu89-inline
- Reply-to: sourceware-bugzilla at sourceware dot org
(I think this affects any triplet)
The current implementation made the -fgnu89-inline had a double meaning (yes/no
or the compiler flag). In case of cache reusage of the variable containing the
compiler flag, it was considered as a "!= yes", and then nullified, ending in no
-fgnu89-inline flag used at the 'configure' step run from the glibc Makefile.
Here are the offending lines of code:
if test $libc_cv_gnu89_inline = yes; then
libc_cv_gnu89_inline=-fgnu89-inline
else
libc_cv_gnu89_inline=
fi
I will attach a patch.
--
Summary: Bad use of the autoconf cache for -fgnu89-inline
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: viriketo at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: mips64el-unknown-linux-gnu
GCC host triplet: mips64el-unknown-linux-gnu
GCC target triplet: mips64el-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11840
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.