This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18447] memstream.c:92 dereferencing type-punned pointer -Werror=strict-aliasing
- From: "darlingm at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 22 May 2015 07:33:59 +0000
- Subject: [Bug libc/18447] memstream.c:92 dereferencing type-punned pointer -Werror=strict-aliasing
- Auto-submitted: auto-generated
- References: <bug-18447-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18447
--- Comment #1 from darlingm at gmail dot com ---
Attempted a temporary workaround of configure
CFLAGS="-Wno-error=strict-aliasing", which errored saying "glibc cannot be
compiled without optimization"
Tried CFLAGS="-Wno-error=strict-aliasing -fno-strict-aliasing" with the same
error.
Ran across that these cflags conflict with -O2, and was able to get past it by
using CFLAGS="-Wno-error=strict-aliasing -fno-strict-aliasing -O2"
--
You are receiving this mail because:
You are on the CC list for the bug.