This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/60681] Libbacktrace library doesn't work with QEMU in application mode
- From: "tetra2005 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Mar 2014 19:37:03 +0000
- Subject: [Bug other/60681] Libbacktrace library doesn't work with QEMU in application mode
- Auto-submitted: auto-generated
- References: <bug-60681-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60681
Yuri Gribov <tetra2005 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tetra2005 at gmail dot com
--- Comment #2 from Yuri Gribov <tetra2005 at gmail dot com> ---
(In reply to Maxim Ostapenko from comment #0)
> After investigation I discovered that libbacktrace scans /proc/self/exe to
> init symbolizer and in QEMU case it finds information about qemu-arm binary
> itself, not a.out.
I think this needs to be fixed (or rather implemented) in QEMU. They already
intercept accesses to /proc/self/{maps,stat,auxv}.
See https://github.com/qemu/qemu/blob/master/linux-user/syscall.c