-
Notifications
You must be signed in to change notification settings - Fork 113
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
Take a glance at GCC 4(.8) in CI #429
Comments
This issue is phrased as a question. Does GCC 4(.8) run out-of-the-box on some CI tests when spun up in an (older LTS) Ubuntu CI machine? If so, consider adding such tests. |
Here is my report on taking a glance at GCC 4.8 running on some CI tests. I found the following relevant issues.
I would actually like help of point 4, since I would like to see something running. My separate projects do just fine with the above-mentioned changes in regard to running with Multiprecision together on 4.8. Point 3 raises the question if a Now I had an agreement with Matt (@mborland) that 4.8 needs to run out-of-the-box, or I'll give up. i'm fine with giving up, but this thing is really close. Thoughts? Comments? Cc: @jzmaddock and @mborland and @NAThompson |
Just a quick question: What is the incentive for supporting gcc 4.8? Personally I'd like to see feature complete C++14 be the minimum supported standard. |
There's been some discussion about that on the mailing lists, which led to this thread: https://lists.boost.org/boost-users/2022/05/91268.php Today's replies aren't in the archive yet, but there are some interesting data points, plus one private reply about needing boost.math with gcc-4.8 as it happens (they patched what they needed locally, and it wasn't too onerous). |
Good question. It's not simply because it's there. There are some tangible reasons. I actually use several (embedded) compiler systems that got stuck on 4.8. These include (among others) embedded free compilers for RX, RL78, V850 and TriCore. OK, mostly these are support for legacy, but I'm cutting code and benchmarking on these systems.
This ushers in the (somewhat precocious and, let's say, bottom-line) sentiment: Oh 11, 14, 17, whatever, ... Dude, who cares, you're already not modern, 'cause it's basically 2023. So basically we are about 200 mouse clicks and keyboard strokes away from getting it back. So I really like C++11 and legacy, so I'm saying, why not?. One reason why not is because subsequently carrying the extra baggage of that legacy compiler will hinder progress. This reason motivates me as well. So at the end of all the deliberations, I would like to get 4.8 back and retain it because:
|
Yeah, there's no sense in intentionally breaking 4.8, but supporting it is quite a bit of work. |
With regard to tests not running, we have:
And in the preamble for the tests I see:
Because gcc-4.x had an incomplete <type_traits> header. However, there may be enough in there for our purposes, so I suggest removing
|
Thanks John. A lot of tests did actually run. But (sigh of relief), 4.8 is, at the moment for me, too far out to reign back in. It's only one or two things in tommath and a few good catches in Math. But the agreement was "run out of the box" or give up. So it's time to give up (at least until we may decide otherwise). So i am ready and willing to give up on GCC 4.8 (in Multiprecision), wirth the following findings and stipulations:
Number 4 ends up being the biggest change. And I also forgot to remove the GCC 4 speialties from that new file So if we can agree on these items (or similar), then I'm more than happy to drop (at least for the moment) the GCC 4 strive. Anyway, we can see how the baseline 11/14 discussion goes and see if 11 is even going to be a future issue (I hope it will be), but that's open. Sorry for this long post. Comments? Thoughts? Cc: @jzmaddock and @mborland and @NAThompson |
Take a glance at GCC 4(.8) in CI and see how it goes. If it works well consider dealing with it as was done for GCC 5 in #425.
The text was updated successfully, but these errors were encountered: