Missing symbols while linking with MinGW and LTO #6592
adf88 opened the ticket and wrote:
Reported version: trunk
This issue was imported from FlySpray: https://bugs.openttd.org/task/6592
The text was updated successfully, but these errors were encountered:
This comment was imported from FlySpray: https://bugs.openttd.org/task/6592#comment14477
Thanks for this. There's been no activity on this for some time, and as it stands, it doesn't look likely that it will go any further. Since OpenTTD moved to GitHub, we use pull requests rather than patches, as they are a much more productive workflow.
I'm planning to close this soon (in 7 days), as we try to keep the issue count low for OpenTTD, it helps us focus on things that are important and fun.
If you would like to continue with this patch, the best way would be to move the patch to your own GitHub fork, update it for the current OpenTTD master, and then create a pull request. For more information, please see our CONTRIBUTING.md.
We are also happy to discuss directly on the issue, or in #openttd irc, including help to get this into a pull request. Thanks for your contribution!
Just for the lols, compiling with --enable-lto in MinGW (GCC 8.2) results in:
Further amusingly, if you install SDL and try to use that, you get a couple of extra errors:
This issue has been automatically marked as stale because it has not had any activity in the last two months.