[Bug 272163] New: glibc -D_FORTIFY_SOURCE is wrong
https://bugzilla.novell.com/show_bug.cgi?id=272163
Summary: glibc -D_FORTIFY_SOURCE is wrong
Product: openSUSE 10.3
Version: Alpha 3plus
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: matz@novell.com
ReportedBy: rguenther@novell.com
QAContact: qa@suse.de
CC: jh@novell.com, pbaudis@novell.com
gcc mainline currently causes the following configure test from coreutils to be
"miscompiled" with -D_FORTIFY_SOURCE and optimization > -O0:
#include
https://bugzilla.novell.com/show_bug.cgi?id=272163 ------- Comment #1 from rguenther@novell.com 2007-05-08 02:56 MST ------- -D_FORTIFY_SOURCE=2 actually, and I tested with a i686 compiler which was compiling the testcase with /usr/bin/gcc-trunk -std=gnu99 -o conftest -O -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wall /tmp/conftest. Just to be complete ;) (look the -std=gnu99 thing which seems to trigger this bug - this _may_ hint at a glibc bug again...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272163 ------- Comment #2 from rguenther@novell.com 2007-05-09 05:43 MST ------- Btw, Petr - can we have an updated glibc which includes the C99 inline fixes? That would be nice. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272163 matz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|matz@novell.com |pbaudis@novell.com ------- Comment #3 from matz@novell.com 2007-05-09 06:32 MST ------- Jan, you should also look at this. It seems that sometimes the inlining depends on the ASM_NAME (when it produces the endless loop), so that it invalidly recognizes the call to __getgroups_alias() as a call to the getgroups() symbols. This should not happen. Meanwhile I'm assigning this to Petr, as we probably want to have the inlining changes to glibc headers anyway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272163 pbaudis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #4 from pbaudis@novell.com 2007-05-16 21:05 MST ------- Richard, just to be sure, you mean changing extern inline to __extern_inline, right? (http://repo.or.cz/w/glibc-cvs.git?a=commitdiff;h=4703e0058396817ae0d8f96aae6...) I will take that patch to our STABLE glibc for now; glibc-2.6 will probably land in STABLE a while later (it's still not officially announced so I'm not entirely sure about its status, but the CVS snapshot is on its way to BETA). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272163 ------- Comment #5 from rguenther@novell.com 2007-05-17 03:23 MST ------- Right. There is also the accompaning necessary patch http://repo.or.cz/w/glibc-cvs.git?a=commitdiff;h=3519e0d8f2e9909e484159dac48... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272163 pbaudis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #6 from pbaudis@novell.com 2007-06-08 07:55 MST ------- Oh, sorry, forgot to mention that glibc-2.6 is queued for, no, already submitted to, STABLE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com