-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
PPC build fails on 10.6.8 Rosetta: unsupported cflag used, lowlevel_strided_loops failure #22072
Comments
Thanks for the report @barracuda156. Do I understand it right that you are trying to build on macOS 10.6 for PowerPC? That seems unsupported by now, it's like 15 years old hardware and OS. |
@rgommers Yeah, but Macports support all OSs starting from Tiger (10.4). This problem seems specific to Rosetta, apparently the build system gets some setting wrong (confusing cpu_arch for build_arch). From what I recall, I have built P. S. I opened the issue to get some suggestions, not that I expect a ready solution. I will also try fixing it on my side in the meanwhile. |
|
The bug is still there in @rgommers |
@barracuda156 we're not going to solve that. This is basically unsupported usage, macOS 10.6 was the last OS version to support PowerPC (see https://en.wikipedia.org/wiki/MacOS_version_history). The way we can close this issue is to raise a clearer error at the start of the build, to avoid the confusing build failure later on. |
This can trivially be fixed if you fix your compilation flags. It is not Darwin-specific. On any POWER/PowerPC cpu P. S. Please do not break it further :) |
The |
Note that we have now dropped the
This is probably fixed and if it isn't, the root cause is now elsewhere. Hence I will close this issue. If there's still a problem, please comment and we can reopen the issue. |
Describe the issue:
py310-numpy
fails to build on 10.6.8 Rosetta. There are two errors:-march=native
, which is unsupported on PPC: -march=native option not supported on powerpc mfem/mfem#216lowlevel_strided_loops.c
failure, not sure for which reason:Reproduce the code example:
Error message:
:debug:main Starting logging for py310-numpy @1.23.1_0+gfortran+openblas
:debug:sysinfo Mac OS X 10.6.8 (darwin/10.8.0) arch powerpc
:debug:sysinfo MacPorts 2.7.2
:debug:sysinfo Xcode 3.2.6
:debug:sysinfo SDK 10.6
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6
The text was updated successfully, but these errors were encountered: