memcpy overlap: quickly detect, diagnose, work around
Kevin Kofler
kevin.kofler at chello.at
Tue Nov 30 14:52:03 UTC 2010
John Reiser wrote:
> Right. However, specifying the flag -fno-builtin-memcpy at compilation
> disables gcc inlining of memcpy
But not glibc's.
You need -D__NO_STRING_INLINES too. (That said, the most aggressive inlining
is disabled by default and only enabled if you use -D__USE_STRING_INLINES.)
In any case, it means you need to recompile the executables, not just drop
in the modified glibc.
Kevin Kofler
More information about the devel
mailing list