[PATCH] selftests/nolibc: stop testing constructor order

2025-03-06 Thread Thomas Weißschuh
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

Re: [PATCH] selftests/nolibc: stop testing constructor order

2025-03-06 Thread Willy Tarreau
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 orde