https://bugs.winehq.org/show_bug.cgi?id=51051
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Sorry, but I incorrectly read the log. The LTO thing is a warning, not fatal. What is fatal is this:
[ 314s] /usr/bin/ld: /tmp/wine64-preloader.OWmPvo.ltrans0.ltrans.o: in function `_start': [ 314s] <artificial>:(.text+0x12): undefined reference to `thread_data' [ 314s] /usr/bin/ld: <artificial>:(.text+0x2a): undefined reference to `wld_start'
Unfortunately I still have no idea why wine-staging would affect this; we don't have any patches that touch the loader.