-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
Fine-tune auto-detection of whether to install GCC #12825
Comments
This comment has been minimized.
This comment has been minimized.
Author: Jeroen Demeyer |
Attachment: 12825_detect_gcc.patch.gz |
comment:3
Your
which is unrelated to multi-arch, but probably not that uncommon. |
comment:4
Replying to @nexttime:
Maybe a leading space or |
comment:5
Perhaps rather |
comment:6
P.S.: I've created new spkgs for all open GCC 4.7.0 issues (except ia64 brokenness), all still needing review... (see #12751) I could also fix the MPFR spkg (adding |
comment:8
Replying to @dandrake:
I'd still change the Btw., it seems Ubuntu / Debian changed the multi-arch stuff in 12.04 such that there only setting According to GCC bugzilla, the two bugs referred to for [FSF] GCC 4.6.![01] are both fixed in 4.6.1, so I'm not sure whether 4.6.1 would be [too] broken for Sage, or on which platforms. |
This comment has been minimized.
This comment has been minimized.
Changed reviewer from Dan Drake to Dan Drake, Leif Leonhardy |
comment:10
Please review attachment: 12825_change_include_grep.patch |
comment:11
Added a reference to the MPFR ticket (#12837, GCC 4.7.0 on ia64 issue). |
This comment has been minimized.
This comment has been minimized.
comment:12
Replying to @jdemeyer:
Hmmm, The Can you elaborate in which way GCC 4.6.1 is broken for Sage? |
comment:13
We might also move the multi-arch check further down, since it is not directly related to the version of GCC. (I'd prefer fixing the GCC spkg anyway, by setting one or two environment variables.) |
comment:14
Replying to @nexttime:
GCC 4.6.1 as released doesn't have these bugs, but pre-releases of GCC-4.6.1 do still have those bugs. Basically I provided a work-around for this GCC bug in some spkg but somebody still had problems because he had a pre-release of GCC 4.6.1 (I don't know whether it came with the system or whether he installed it himself). |
comment:15
Attachment: 12825_change_include_grep.patch.gz Replying to @nexttime:
Fixed. |
Merged: sage-5.0.beta14 |
GCC-4.7.x on ia64 is very broken. We should install GCC in this case. Note that currently it won't actually work as MPIR and MPFR fail to build with gcc-4.7.x on ia64. For MPIR, see Upgrade MPIR to a more recent upstream release #11616; for MPFR, see MPFR doesn't compile with GCC-4.7.0 on ia64 #12837.
When Debian multiarch is detected, do not install GCC. The stderr of "gcc -v -E -x c /dev/null" says:
We can detect the '/usr/include/x86_64-linux-gnu' line here.
Apply to SAGE_ROOT repository:
Component: build
Author: Jeroen Demeyer
Reviewer: Dan Drake, Leif Leonhardy
Merged: sage-5.0.beta14
Issue created by migration from https://trac.sagemath.org/ticket/12825
The text was updated successfully, but these errors were encountered: