memcpy warnings on 3.5.0

Eduardo Silva edsiper at gmail.com
Tue Jan 28 19:49:08 PST 2014


Hi,

are these warnings relevants ?

In function 'memcpy',
    inlined from 'je_prof_boot0' at src/prof.c:1289:8:
/usr/include/x86_64-linux-gnu/bits/string3.h:51:3: warning: call to
__builtin___memcpy_chk will always overflow destination buffer [enabled by
default]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
   ^
In file included from /usr/include/string.h:638:0,
                 from include/jemalloc/internal/jemalloc_internal.h:41,
                 from src/prof.c:2:
In function 'memcpy',
    inlined from 'je_prof_boot0' at src/prof.c:1289:8:
/usr/include/x86_64-linux-gnu/bits/string3.h:51:3: warning: call to
__builtin___memcpy_chk will always overflow destination buffer [enabled by
default]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));

regards,

-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20140128/ed2ab01e/attachment.html>


More information about the jemalloc-discuss mailing list