Undefined references to 'memcpy' when compiling Linux Kernel

Richard Henderson rth@cygnus.com
Fri Jun 16 08:59:00 GMT 2000

On Fri, Jun 16, 2000 at 04:22:04PM +0100, Alan Cox wrote:
> gcc assumes it is linked with libgcc. That isnt unreasonable but it breaks
> on the kernel stuff. Turn the problem functions into using explicit memcpy
> calls then mail me a diff. This is kernel over cleverness  not gcc.

Really memcpy ought to exist as a symbol in the kernel.
We've done that since day one in the Alpha port and elsewhere.


More information about the Gcc mailing list