On Fri Jan 19 20:32:14 2024 +0000, Alexandre Julliard wrote:
Since they're asm functions they conflict when building with LTO
(among other things). This is normally hidden when separating translation units, but it's still not correct. I don't see what's not correct about it, the symbols won't be imported if they are already defined.
Well, it fails to build with LTO, because they're asm names. Doesn't kernelbase.a for instance (or any import library) define them as well with asm wrappers? I'm not 100% sure why it fails but it does.
I can give you a hack patch to enable LTO build if you want. Obviously it can't go upstream in that shape but this is only part of it.