This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/606] New: profiling causes segfault in gmon mcount on ARM
- From: "opensource at artnaseef dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Dec 2004 20:50:59 -0000
- Subject: [Bug libc/606] New: profiling causes segfault in gmon mcount on ARM
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
The gmon support for ARM often causes the profiled program to segfault in
_monstartup() due to the allocation memory and setting of pointers; some times
the p->froms pointer is assigned at an offset of 2 from a 4-byte boundary.
Due to the ARM CPU's odd handling of mis-aligned words, this leads to a
segmentation fault.
The ARM CPU (at least in Little Endian Mode) handles mis-aligned accesses
(offset 2 from a word boundary) by adjusting the address back to the immediately
previous 4-byte boundary and swapping the low and high 2-byte words.
--
Summary: profiling causes segfault in gmon mcount on ARM
Product: glibc
Version: 2.3.2
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: opensource at artnaseef dot com
CC: glibc-bugs at sources dot redhat dot com,opensource at
artnaseef dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: arm-linux
GCC target triplet: arm-linux
http://sources.redhat.com/bugzilla/show_bug.cgi?id=606
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.