parsec
parsec copied to clipboard
LTO build failure
Describe the bug
error: type of ‘parsec_context_test_f08’ does not match original declaration [-Werror=lto-type-mismatch]
To Reproduce
Steps to reproduce the behavior:
add -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
to C*FLAGS
Expected behavior
correctly build with LTO
Environment (please complete the following information):
- PaRSEC version: 3.0.2012
- OS: gentoo
- Compiler: gcc-12.1.1
- MPI version: openmpi-4.1.4
Additional context
log https://860771.bugs.gentoo.org/attachment.cgi?id=794063 bug https://bugs.gentoo.org/860771