Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPC970: drop -mcpu=970 which seems to produce faulty code #4379

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

barracuda156
Copy link
Contributor

@barracuda156 barracuda156 commented Dec 15, 2023

Fixes: #4376

For a reason yet unknown, using -mcpu= [may] produce a broken library on macOS PowerPC when building for G5 cpu (PPC970 kernel).
Drop the flag for now, also for PPCG4 for the sake of consistency and safety.

P. S. Testing on *BSD and Linux is encouraged, but I have no set-up for that. If someone does it later on, please make sure not to use -mcpu for macOS case, unless it is well-tested.

@martin-frbg Hopefully this is the final fix for this issue :)
I have verified that both cases which failed before now work (R-float launches without a failure and flexiblas finds OpenBLAS).

UPD. By Iain’s (he is from GCC upstream) response in the issue, looks like dropping -mcpu is the right thing.

@martin-frbg martin-frbg added this to the 0.3.26 milestone Dec 15, 2023
@martin-frbg martin-frbg merged commit 563daad into OpenMathLib:develop Dec 15, 2023
62 of 64 checks passed
@barracuda156 barracuda156 deleted the ppc970 branch December 15, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants