This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Undefined references to 'memcpy' when compiling Linux Kernel


On Fri, Jun 16, 2000 at 06:38:23PM -0400, Jeff Garzik wrote:
> Jeff Garzik wrote:
> > 
> > Use struct_copy...
> 
> oops, make that struct_cpy...
> 

We have to make sure mem functions won't be generated by gcc anywhere
in the ia32 kernel. Otherwise, it will be hard to get modules to work
with symbol versioning since gcc generates those calls after C
preprocessing. Or we can export those mem functions from kernel
unversioned regardless if symbol versioning is enabled or not.

It will be really nice for gcc to inline them like all the previous
versions and/or have a flag to force gcc to issue a warning when mem
functions are generated.


H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]