Bug 278942 - lang/gcc13: The ieee_arithmetic is missing on the ARM64 architecture
Summary: lang/gcc13: The ieee_arithmetic is missing on the ARM64 architecture
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Lorenzo Salvadore
URL: https://pkg-status.freebsd.org/ampere...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-12 19:02 UTC by Yuri Victorovich
Modified: 2024-05-15 23:46 UTC (History)
1 user (show)

See Also:
salvadore: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-05-12 19:02:07 UTC
The science/quantum-espresso port fails to build on aarch64:
> Fatal Error: Cannot find an intrinsic module named 'ieee_arithmetic' at (1)

See the URL for details.
Comment 1 Lorenzo Salvadore freebsd_committer freebsd_triage 2024-05-14 14:48:38 UTC
This is because upstream does not provide such module for arm64, but only for i386 and x86_64 architectures:
https://gcc.gnu.org/onlinedocs/gfortran/intrinsic-modules/ieee-modules-ieeeexceptions-ieeearithmetic-and-ieeefeatures.html

If science/quantum-espresso cannot be compiled without ieee_arithmetic, I think you should allow only i386 and x86_64 architectures for it.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-05-15 23:46:23 UTC
(In reply to Lorenzo Salvadore from comment #1)

Hi Lorenzo,

I found this GCC bug report for the same problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662

They say there that it's a problem of both GCC and FreeBSD, see this comment: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662#c10


Yuri