On 03.10.2022 13:20, Andrew Cooper wrote: > On 29/09/2022 11:07, Jan Beulich wrote: >> On 27.09.2022 17:47, Andrew Cooper wrote: >>> This breaks all Clang builds, as demostrated by Gitlab CI. >>> >>> Contrary to the description in ecd6b9759919, -no-pie is not even an option >>> passed to the linker. GCC's actual behaviour is to inhibit the passing of >>> -pie to the linker, as well as selecting different cr0 artefacts to be >>> linked. >>> >>> EMBEDDED_EXTRA_CFLAGS is not used for $(CC)-doing-linking, and not liable to >>> gain such a usecase. >> Since it was largely unavoidable for me to notice this while putting >> together the two XTF patches just sent - isn't the current way of using >> -no-pie there bogus then as well? > > Hmm, it is now. In the past, XTF did use $(CC) for linking, but that is > not the case now. I'll drop it.
I notice you've dropped it without replacement - don't you want -fno-pie in its place? Jan
