-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Cygwin: can't build Numpy 1.19.1 with GCC < 8.4 #30392
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Yes, this is important to fix. Unfortunately the CI infrastructure does not catch this because we cannot control the processor variant that will run the job. For example, With which compiler are you observing this failure? |
comment:3
The discussion at numpy/numpy#14787 seems to suggest that nothing needs to be fixed with current compilers. Do you still experience the build problem? |
comment:4
It is a problem with GCC<8.4. I started on a patch to Numpy the week before last but hit a snag before I was able to finish it. Then I went on vacation :P An ugly but acceptable workaround is also to set
when compiling Numpy. |
comment:5
Current cygwin has gcc 10.2. I would suggest to limit support of a from-source build of Sage on Cygwin to the latest Cygwin version and encourage users to update Cygwin. (Does cygwin even have a supported way to install an older version of the distribution?) |
This comment has been minimized.
This comment has been minimized.
comment:10
We can close this one as outdated |
comment:11
I believe so, yes. Most Cygwin installs are not on GCC<8.4 by default, and I have also fixed the issue in Numpy. |
Since #29766 I cannot build Numpy 1.19.1 on Cygwin, specifically with AVX enabled, due to this issue in Numpy (actually caused by a bug in GCC < 8.4): numpy/numpy#16290
I've been meaning to work on this issue anyways, so I'll see if I can find a clean workaround. If not, it also works to pass some CFLAGS to the Numpy build as noted on the upstream issues.
https://cygwin.com/packages/summary/gcc-core.html
Component: porting: Cygwin
Keywords: cygwin numpy
Issue created by migration from https://trac.sagemath.org/ticket/30392
The text was updated successfully, but these errors were encountered: