Skip to content

Make XERBLA a void function, matching its Fortran SUBROUTINE origins - #6082

Merged
martin-frbg merged 2 commits into
OpenMathLib:developfrom
martin-frbg:voidxerbla
Oct 2, 2026
Merged

martin-frbg merged 2 commits into
OpenMathLib:developfrom
martin-frbg:voidxerbla

Conversation

@martin-frbg

Copy link
Copy Markdown
Collaborator

For unknown reasons, the GotoBLAS xerbla has always been an int function that unconditionally returned 0, and all its internal callers ignored the return value. In the reference implementation, it has always been a subroutine, so no caller would expect a return value as from a function. Fixing this resolves the main source of argument mismatch errors in LTO and similar applications
#6005

@martin-frbg martin-frbg added this to the 0.3.35 milestone Oct 1, 2026
@martin-frbg
martin-frbg merged commit 06f28d0 into OpenMathLib:develop Oct 2, 2026
113 of 115 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant