-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Upgrade to GCC 4.9.1 #17169
Comments
Branch: u/vbraun/upgrade_to_gcc_4_8_3 |
comment:2
The files are indeed different, but after I strip them then they are identical. So its something wonky in the debug info... New commits:
|
Commit: |
comment:3
Fails just the same way on 10.9 so it is not the OS version at fault. The only thing I can think of is that the requirement for building gcc 4.8+ have been raised (that's not hypothetical, it is a fact) but I would be surprised if
|
comment:4
So I bootstrapped this with gcc 4.7.3 from sage 6.4.beta5 and it worked so
Apparently that's the case.
What do I know? |
comment:5
What happens is that GCC builds stage 2 with debug symbols, stage 3 without debug symbols. Then GCC checks that the code is identical using some tools from binutils. This checks are indeed broken on some systems. The line in
is supposed to disable that, but apparently this disabling no longer works. |
comment:6
GCC 4.8 requires a C++ compiler, so this ticket needs changes to the installation guide, to |
comment:7
Replying to @jdemeyer:
It seems that this line is the culprit in this case, somehow disabling bootstrap-debug (if this is still actually disabling it) is now breaking the build. |
comment:8
Replying to @jdemeyer:
The object files from stage 2 and 3 have the same size for me. That is, before stripping the size is the same, after stripping the size is the same, but stripping reduces the size. They compare identical after stripping. The difference is not in something that is human-readable (at least not to me ;-) |
comment:9
Confirmed. I tried a few things but I completely missed that line. That takes my number 2 spot in the "configuration option that leads to a build of gcc to fail" [my number one spot can be summarised with "it fails in stage 1 when I change the installation prefix (yes I mean --prefix=...)"]. I am relieved that clang++ is enough to build gcc 4.8+. |
This comment has been minimized.
This comment has been minimized.
comment:10
I can build gcc 4.9.1 so I suggest we go for that. I'm using it on my desktop daily (Fedora 21 alpha) |
Changed branch from u/vbraun/upgrade_to_gcc_4_8_3 to u/vbraun/upgrade_to_gcc_4_9_1 |
comment:12
Why not going to 4.9.x was one of the question I had when first seeing the ticket. For reference the bug for building on yosemite on gcc's bugzilla. The fix is merged in trunk along with a couple of other stuff that we probably don't care much about, but it will be in 4.9.2 and 5.0. I think this is ready for review. New commits:
|
Changed keywords from none to yosemite |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Replying to @sagetrac-git:
I think you forgot a bit in that commit. A destination file. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:77
To choose which languages to support sure, but I remember we also removed other things. I've put a stripped down tarball at: New commits:
|
comment:78
Presumably the checksum is different |
comment:79
Hopefully yes, and if it gets used, the spkg-src script should be put back. |
comment:80
IMHO this is not a "lets also beautify this script" ticket, right now Sage is broken on one of the main supported platforms. This ticket fixes it. If you want further changes feel free to open another ticket. |
comment:81
Replying to @vbraun:
It's not about beautifying any script, just about the decision whether or not to use it. |
comment:82
If you want to do things different then go ahead. I just don't think that pushing a broken branch in hopes that somedbody else will fix it for you is a good way to making progress here. |
comment:83
I'm confused. Are you refering to the removal of |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:85
No, I'm referring to JP changing the package-version.txt to 4.9.1.p0 without updating checksums or even naming the hand-crafted tarball correctly. |
comment:86
Oh no you committed that, Jeroen ;-) |
comment:87
I just put a stripped-down tarball on the web, using the name pattern we usually use for such stripped-down tarball, that is just including the upstream version number without any patch level... |
Changed reviewer from R. Andrew Ohana to R. Andrew Ohana, Jeroen Demeyer, François Bissey |
comment:88
OK the compiler now compiles and seem to work so far for me. I haven't needed to import the other yosemite tickets yet and I am at maxima. Make that ntl now. |
comment:89
You don't need other tickets for compiling if you don't have Jeroen: whats with 4.9.1.p0 now, you want to upload a modified tarball and add the checksum or should I revert that? |
comment:90
Replying to @vbraun:
For me it's fine as it is... in any case with the new configure options the difference between the vanilla tarball and the stripped down tarball is not very significant. It's essentially a choice between ease-of-maintaining and download size. |
comment:91
I added |
comment:92
And now I am at the conway_polynomial segfault which I think started everything. |
comment:93
Oh, that is because you didn't apply #17204. Forgot about that one since I merged it a while ago. |
Changed branch from u/jdemeyer/ticket/17169 to |
Changed commit from |
comment:96
Aaaand 4.9.2 was just released ;-) |
comment:97
Next is #17262 |
ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.1/gcc-4.9.1.tar.bz2
Upstream: Reported upstream. No feedback yet.
CC: @jpflori
Component: packages: standard
Keywords: yosemite
Author: Volker Braun
Branch:
e16d2ae
Reviewer: R. Andrew Ohana, Jeroen Demeyer, François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/17169
The text was updated successfully, but these errors were encountered: