Undefined references to 'memcpy' when compiling Linux Kernel

Jakub Jelinek jakub@redhat.com
Mon Jun 19 03:11:00 GMT 2000


On Mon, Jun 19, 2000 at 12:04:52PM +0200, John Hughes wrote:
> > Inlined memcpy can be very big in some cases, e.g. when gcc cannot
> > figure out the alignment of the target and destination pointers
> 
> But in the case reported on a '386 I'd expect the inlined code to
> be tiny, smaller than the call.

Remember he was compiling with -march=i586, so unaligned rep movsl might not
be the fastest thing to do...

	Jakub


More information about the Gcc mailing list