-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mingw-w64: "visibility attribute not supported in this configuration; ignored" under -flto
#1421
Comments
Hm, thanks. It's a bit mysterious that this happens only with Lines 159 to 161 in b10ddd2
We should probably just have a |
cc @hebasto , any further ideas here? |
I'm looking into it. Just a note about building with LTO using CMake:
|
The
From GCC docs:
|
Hm, interesting and good to know. I guess, we should still make sure the build is clean with just |
Reported to GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116478 |
447334c include: Avoid visibility("default") on Windows (Tim Ruffing) Pull request description: Fixes #1421. See code comments for rationale. Related meta-bug: #1181. This reminds me that we should move forward with #1359. ACKs for top commit: fanquake: ACK 447334c hebasto: ACK 447334c, tested on Ubuntu 24.04 using the following commands: theuni: ACK 447334c Tree-SHA512: aaa47d88fd1b1f85c3e879a2b288c0eb3beebad0cc89e85f05d0b631f83e58d5a324fb441911970865eaa292f6820d03a1b516d6e8de37a87510e2082acc6e28
Building master (b10ddd2):
Wanted to raise this, as Core may eventually go down the LTO route (bitcoin/bitcoin#25391), and
-flto
will be getting passed down.The text was updated successfully, but these errors were encountered: