[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-30 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2009-01-30 18:30 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-30 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2009-01-30 14:14 --- Subject: Bug 38995 Author: hjl Date: Fri Jan 30 14:13:50 2009 New Revision: 143789 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143789 Log: gcc/ 2009-01-30 H.J. Lu PR lto/38995 * langhooks

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-01-30 05:35 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01498.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-29 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-01-30 01:41 --- I am testing this patch: Index: gcc/langhooks.c === --- gcc/langhooks.c (revision 143777) +++ gcc/langhooks.c (working copy) @@ -612,6 +612,7 @@

[Bug lto/38995] lto1 uses unaligned data accesses

2009-01-29 Thread hjl dot tools at gmail dot com
--- 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