parsec icon indicating copy to clipboard operation
parsec copied to clipboard

LTO build failure

Open Alessandro-Barbieri opened this issue 2 years ago • 1 comments

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

Alessandro-Barbieri avatar Jul 24 '22 20:07 Alessandro-Barbieri