This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: help with mudflap on arm-linux
- From: Baurzhan Ismagulov <ibr at radix50 dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 19 Sep 2008 12:31:51 +0200
- Subject: Re: help with mudflap on arm-linux
- References: <20080918104816.GA7873@radix50.net>
On Thu, Sep 18, 2008 at 12:48:16PM +0200, Baurzhan Ismagulov wrote:
...
> With an instrumented app, I got unregister violations on g_list_remove
> on arm-linux.
...
> On i386-linux, mudflap reports read violations for the same program.
It turned out to be that mudflap (at least from gcc 4.3.1) doesn't wrap
memalign, which is used by GLib. I worked around this issue by running
the application with G_SLICE=always-malloc.
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/