[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel build parameter CONFIG_REGPARAM breaks binary modules



On Wed, Mar 17, 2004 at 12:47:13AM +0100, Earle Robert Nietzel wrote:
> Come to find out that in "arch/i386/Makefile":
> 
> CFLAGS += -pipe -mregparm=3 -msoft-float -fno-builtin-sprintf -fno-
> builtin-log2 -fno-builtin-puts
> 
> You'll notice "-mregparm=3"?
> 
> After removing this compiler flag my binary modules began to load
> correctly.
> 
> Anyone care to comment on this?

Your binary modules need to match the kernel. -mregparm=3 tells the
kernel to try and use registers for some of the argument passing, and
thus be more efficient



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]