Undefined references to 'memcpy' when compiling Linux Kernel

Philipp Thomas pthomas@suse.de
Sat Jun 17 16:12:00 GMT 2000


* H . J . Lu (hjl@lucon.org) [20000618 01:01]:

> 1. Does it work with modules and module versioning?

It should, as it's exported without version, but I'll check to make sure.

> 2. How do I use the new compiler with the older kernels and drivers?

IMO for that to work, the memcpy 'expansion' would need to be teached honouring
-ffreestanding and then that flag would have to be used in the kernel
makefiles.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h


More information about the Gcc mailing list