From 4eadc44adcb59ea9fb49c040ee0a84ab2d80a40e Mon Sep 17 00:00:00 2001 From: Harrison Nicholls Date: Sun, 6 Sep 2026 11:21:22 +0100 Subject: [PATCH] Export real_kind_bytes as public to fix dlsym visibility on GCC 16.2 real_kind_bytes (bind(C) as PS_real_kind_bytes) sat in UTILITIES_CF, a module that is private by default, and was never added to the module's public :: list like its sibling C-interop functions. GCC 16.2.0 has a regression (PR126872) where a PRIVATE module procedure bound to C is given hidden ELF visibility even though a binding label gives it external linkage, so dlsym() can no longer find it. This broke the Julia wrapper's precision probe on macOS CI. Making the export explicitly public sidesteps the compiler bug regardless of GCC version, matching the existing public C-interop functions in this module. Bump version to 2603.9. --- julia/src/Utilities_CF.f90 | 1 + version | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/julia/src/Utilities_CF.f90 b/julia/src/Utilities_CF.f90 index a2c9fcde..fd61b84c 100644 --- a/julia/src/Utilities_CF.f90 +++ b/julia/src/Utilities_CF.f90 @@ -12,6 +12,7 @@ module UTILITIES_CF public :: C_strlen, c_to_f_string, copy_f_to_c_string, copy_c_to_f_string public :: test_double_val, test_double_ref +public :: real_kind_bytes interface !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/version b/version index 9548b1dd..374914e8 100644 --- a/version +++ b/version @@ -1 +1 @@ -2603.8 +2603.9