This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help with mudflap on arm-linux


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]