This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined references to 'memcpy' when compiling Linux Kernel
- To: Alan Cox <alan at lxorguk dot ukuu dot org dot uk>
- Subject: Re: Undefined references to 'memcpy' when compiling Linux Kernel
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 16 Jun 2000 08:59:39 -0700
- Cc: Byron Stanoszek <gandalf at winds dot org>, gcc at gcc dot gnu dot org, linux-kernel at vger dot rutgers dot edu
- References: <Pine.LNX.4.21.0006160909040.4003-100000@winds.org> <E132xwc-00068h-00@the-village.bc.nu>
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.
r~