[Debichem-devel] Bug#1005202: Bug#1005202: openmolcas: Is the -fno-expensive-optimizations flag still needed?

Michael Banck mbanck at debian.org
Sat Jun 11 17:41:02 BST 2022


Hi João,

On Tue, Feb 08, 2022 at 11:31:20PM +0000, João wrote:
> Source: openmolcas
> Version: 21.10-1
> Severity: normal
> 
> Dear Maintainer,
> 
> Is the compiler flag -fno-expensive-optimizations in debian/rules still needed?
> This flag was introduced to fix a problem with the arm64 build as reported in the bug
> https://bugs.debian.org/961704
> and associated upstream issue
> https://gitlab.com/Molcas/OpenMolcas/-/issues/218
> 
> However the following merge request applied upstream
> https://gitlab.com/Molcas/OpenMolcas/-/merge_requests/420
> suggests that the issue might have been fixed with the flag -ffp-contract=off

I've replaced -fno-expensive-optimizations with -ffp-contract=off now,
but from reading the MR description it sounds like that new flag is only
needed for one test that we don't run during autopkgtest currently.
Still, I guess it won't hurt.

Let's see whether arm64 still works...


Michael



More information about the Debichem-devel mailing list