[PATCH] um: allow not setting extra rpaths in the linux binary

Johannes Berg johannes at sipsolutions.net
Mon Mar 8 15:24:10 GMT 2021


On Mon, 2021-03-08 at 14:02 +0100, Johannes Berg wrote:
> +config LD_SCRIPT_DYN_RPATH
> +	bool "set rpath in the binary" if EXPERT
> +	default y
> +	depends on LD_SCRIPT_DYN

Somehow, that seems to trigger Kconfig bug.

The resulting option is not actually visible, although in a menuconfig
search it's visibility is shown as being true, but it's shown
*underneath* STATIC_LINK (Force a static link) which is actually not
visible for me, and ... that's just weird?

If I manually set it in the .config file then it does stick, however, so
it's actually settable that way.

That's actually good enough for me (and in fact, because I was doing it
that way, I didn't even notice the issue at first!), but it's not really
what I expected.

johannes




More information about the linux-um mailing list