Re: uml and -regparm=3

From: Andi Kleen
Date: Wed Jan 09 2008 - 16:12:56 EST


Miklos Szeredi <miklos@xxxxxxxxxx> writes:

> FASTCALL is defined empty in -mm, but UML is not compiled with
> -mregparm=3 and so this breaks things (I noticed problems with
> rwsem_down_write_failed).
>
> Tried recompiling UML with -mregparm=3, but that resulted in a strange
> failure immediately after startup:
>
> |%G�%@: Invalid argument
>
> What's up?

UML links with glibc and that does not use -mregparm.

You can only use -mregparm in user space if you recompile
all libraries too.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/