help with mudflap on arm-linux
Baurzhan Ismagulov
ibr@radix50.net
Fri Sep 19 10:32:00 GMT 2008
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/
More information about the Gcc-help
mailing list