[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Kernel build parameter CONFIG_REGPARAM breaks binary modules
- From: Alan Cox <alan redhat com>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: Kernel build parameter CONFIG_REGPARAM breaks binary modules
- Date: Wed, 17 Mar 2004 09:38:52 -0500
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]