This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11357] SIGBUS in getenv().
- From: "pluto at agmk dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Mar 2010 19:47:33 -0000
- Subject: [Bug libc/11357] SIGBUS in getenv().
- References: <20100308123103.11357.pluto@agmk.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pluto at agmk dot net 2010-03-10 19:47 -------
(In reply to comment #1)
> It hurts, don't do it then. E.g. GCC assumes that on x86_64 and i?86 it can
> dereference an unaligned pointer
Richard Guenther and Andrew Pinski have mentioned me about STRICT_ALIGNMENT
macro in gcc/config/i386/i386.h which controls that assumption, so can
we please assume that gcc can generate strict (un)aligned code and reopen
this bug? could we add to glibc's configure some strict alignment switch?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11357
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.