Re: [PATCH] selftests/nolibc: stop testing constructor order
From: Willy Tarreau
Date: Thu Mar 06 2025 - 17:21:38 EST
On Thu, Mar 06, 2025 at 10:52:39PM +0100, Thomas Weißschuh wrote:
> The execution order of constructors in undefined and depends on the
> toolchain. While recent toolchains seems to have a stable order, it
> doesn't work for older ones and may also change at any time.
>
> Stop validating the order and instead only validate that all
> constructors are executed.
>
> Reported-by: Willy Tarreau <w@xxxxxx>
> Closes: https://lore.kernel.org/lkml/20250301110735.GA18621@xxxxxx/
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Awesome, thank you very much, Thomas!
Willy