Kernel Module - GCC Requires memmove
Dimitry Andric
dimitry at andric.com
Thu Jan 22 02:20:26 PST 2009
On 2009-01-22 02:14, Nate Eldredge wrote:
> I vaguely recall Linux having a policy that compiling the kernel without
> optimization was not supported, possibly because of situations like this.
No, Linux has its own implementations of mem{cmp,cpy,move,set}, both in
fallback C versions, and optimized versions for several arches.
Compiling Linux without optimization will fail at the linking stage, due
to extern inline functions in header files, without implementation in
separate .c files.
More information about the freebsd-hackers
mailing list