[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access
From: |
siarhei.siamashka at gmail dot com |
Subject: |
[Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access |
Date: |
Sun, 14 Oct 2012 22:32:12 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14718
--- Comment #7 from Siarhei Siamashka <siarhei.siamashka at gmail dot com>
2012-10-14 22:32:12 UTC ---
(In reply to comment #5)
> Because in the current code bfd_signed_vma array (64-bit elements) is followed
> by arm_local_iplt_info * array (32-bit elements) and then followed by bfd_vma
> array (64-bit elements again). If num_syms is odd, then the last array is not
> 64-bit aligned. Just swapping the order of the second and third arrays might
> help.
Hmm, this is beginning to be really funny. My gentoo arm system has "#define
BFD_ARCH_SIZE 64" line in /usr/include/bfd.h, resulting in 64-bit vma typedefs.
I guess such weird configuration is a prerequisite for triggering this
alignment issue. The culprit is gentoo toolchain-binutils.eclass which is
forcing --enable-64-bit-bfd configure option. The architectures like ARM surely
have lots of spare RAM to waste... Looks like at least this part of the problem
needs to be solved on gentoo side.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/14718] New: ld crashes on ARMv5 due to unaligned memory access, ambrop7 at gmail dot com, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, address@hidden, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, vapier at gentoo dot org, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, ambrop7 at gmail dot com, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, ambrop7 at gmail dot com, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, address@hidden, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, siarhei.siamashka at gmail dot com, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, ambrop7 at gmail dot com, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access,
siarhei.siamashka at gmail dot com <=
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, ambrop7 at gmail dot com, 2012/10/14
- [Bug ld/14718] ld crashes on ARMv5 due to unaligned memory access, siarhei.siamashka at gmail dot com, 2012/10/14