This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/38995] lto1 uses unaligned data accesses
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2009 22:52:53 -0000
- Subject: [Bug lto/38995] lto1 uses unaligned data accesses
- References: <bug-38995-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hjl dot tools at gmail dot com 2009-01-29 22:52 -------
I think the problem is LTO uses mmap to read in LTO sections. But all
LTO sections have alignment of 0. They have have alignment of void *
instead.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38995