Skip to content
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

-O2 and "no -O2" needed #776

Open
cron2 opened this issue Dec 20, 2024 · 0 comments
Open

-O2 and "no -O2" needed #776

cron2 opened this issue Dec 20, 2024 · 0 comments
Assignees

Comments

@cron2
Copy link
Collaborator

cron2 commented Dec 20, 2024

During work on openvpn#836 it was found that the mingw buildbot compiles with -O2 (as it should) and the GHA mingw/cmake build seems to not use -O2, which makes a notable difference for static inline foo() vs. non-static inline foo() definitions - the latter fail to link (not inlined, and not instantiated) when compiling without optimization.

Can we add a mingw build with no -O2 for that? Or any other good suggestion how to catch such omissions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants