Re: Kernel build parameter CONFIG_REGPARAM breaks binary modules

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

 



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][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux