Bug 278942

Summary: lang/gcc13: The ieee_arithmetic is missing on the ARM64 architecture
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Lorenzo Salvadore <salvadore>
Status: Open ---    
Severity: Affects Only Me CC: yuri
Priority: --- Flags: salvadore: maintainer-feedback+
Version: Latest   
Hardware: arm64   
OS: Any   
URL: https://pkg-status.freebsd.org/ampere3/data/132arm64-default/aeab170c7654/logs/quantum-espresso-7.3.1_1.log

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