-
Notifications
You must be signed in to change notification settings - Fork 136
gcc14 14.2.0 #1286
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
base: master
Are you sure you want to change the base?
gcc14 14.2.0 #1286
Conversation
Hmm, need to add
|
Good catch! Does look like that's in the Macports portfile as a dependency, and I'd missed it. |
1b6911d
to
236e8d8
Compare
Looks like both Macports and Homebrew build with zstd, but I'm going to omit that for now if we can get away with it just because the build is a little irritating. |
Looks like it failed after ~11 hours, oof. Somehow, it looks like it forgot about the zlib flags that it used in the previous stages, and dropped them in the final stage build.
https://gist.github.com/mistydemeo/13729f459fa583e4b7205945cc8ccef6 |
I'll just turn off the Tigerbrew-provided zlib here and let it build its own. |
I suspect this might be superfluous in our case since zstd support in GCC is for LTO & we're not building with LTO enabled. The other use is for compressed debug info in generated binaries, but we have nothing which supports zstd (ld64/cctools/gdb). |
oof indeed :D |
Hm, telling it to use its own zlib didn't work either. It still seems to have prioritized picking up the system zlib despite the
|
Haha, might be worth it! What's broken here is used in C/C++. It looks like zlib support is for compressed debug sections. I suppose we could turn those off for now, even if that's not quite ideal. Better than it not building at all! |
Found the changelog entry for when the use of
|
I reduced the language list to C & C++, added |
If we can't work around the build flag issue, and the system zlib has |
Yes. |
With the upstream change, after 292 minutes, on Tiger/i386:
Now to see if the change can be dropped & |
bleh, no.
|
That's too bad. :/ Did you edit both |
Just the former, added |
Might need to do both; (If worse comes to worst, I guess we could just replace the |
I'll give it a go. |
A person on Mastodon mentioned to me why we had the issue with the builtin zlib. OS X's |
b8d7cd0
to
2c39da2
Compare
Built GCC 14 with isl 0.27 on Tiger/i386 in 320 minutes with GCC 8 (2Ghz c2d mac mini) |
Ok, so I removed all copies of GCC from my tigerbrew install and all direct dependencies as well (
So I install |
It should be safe to turn off Python support, it installs a Python script for debugging isl ( |
Since all the previous versions of GCC that were packaged could build off |
Success!!
|
|
I did a bit of testing building things that we already knew didn't work with the system compilers - gnupg2, avrdude, and fswatch. All building fine, and seem to work well as well. I think we're probably good to merge this. How're you feeling? |
I forgot to run |
This is on the x86 builds where you'll get -O3 -mtune=pentium-mobile from the isl build infra & Tigerbrew adds -Os -mtune=penryn. On PowerPC the isl build infra just uses -O1. |
Unfortunately, yeah, I don't think there's a clean path to |
Ok, no worries, just so when people raise issues, know what to say or if they find this PR. :) |
Looks like clang on Lion, Mountain Lion and their C++ library are insufficient. Need guarding off.
Same on Mountain Lion:
|
This likely applies to the next major release, in gcc-14.2.0/INSTALL/prerequisites.html (extracted source archive) it states:
|
|
Excellent! Good thought on testing the absolute compatibility floor. Took some changes to get gcc48 working? |
Nothing hefty or controversial, switched back to default options, turned off optimisation, and updated its dependencies. |
Since we're building GCC itself without optimisation, I wonder if we can spare everyone's hardware by providing a generic package which can be installed on G3/G4/G5s. I think that would spare everyone's aging G3 & G4s (my poor PowerBook). |
All OS releases have now been tested. |
GCC 4.9 built on a PowerBook G4 running Tiger in 481 minutes using GCC 4.0.1. |
Is there anything further that we need to check / test? |
Getting there, but not quite building yet. Fails after about 60-90 minutes.
Full logs: https://gist.github.com/mistydemeo/7bc051e52a0750467f71b20449a7e9e8
refs #1201