Kernel build parameter CONFIG_REGPARAM breaks binary modules
Dave Jones
davej at redhat.com
Wed Mar 17 00:12:26 UTC 2004
On Tue, 2004-03-16 at 23:47, Earle Robert Nietzel wrote:
> I've noticed since moving to 2.6.x that none of my binary modules would
> load correctly.
>
> After reading that CONFIG_REGPARAM was the culprit I disabled it but to
> my surprise nothing changed.
>
> 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?
A leftover from the days before CONFIG_REGPARM existed.
I've killed it in cvs.
Dave
More information about the fedora-devel-list
mailing list