-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
[WIP] Make GCC 5.x the default #8729
Comments
Currently blocking is a known bug with syslinux 6.03 which prevents getting past the initial isolinux splash on the livecd in bios mode. This should be testable using |
/cc #7807. |
Not sure this should be a blocker |
Blocker for the 16.xx release? Status of that doesn't seem important ATM. |
Sounds like a good way to mark major desired features of the new release. The "blocker" status can always be removed, of course. However, before we make GCC 5 the default, we should decide what to do about the C++ ABI issue. I would suggest setting _GLIBCXX_USE_CXX11_ABI to 0 by default for now to minimize incompatibilities. (I think Fedora 22 did this as well.) |
Got an example of what not dealing with the abi change breaks? I've been On Mon, Aug 31, 2015, 02:32 Eelco Dolstra notifications@github.com wrote:
|
I believe for any decent packages the problems will be build-time only, i.e. Hydra will discover them and then we can decide. (Well, I hope no packages depend on implementation details that weren't guaranteed by C++ standard.) Note that Fedora's main reasoning to keep the old ABI was that they didn't have enough time for a mass rebuild :-D http://developerblog.redhat.com/2015/02/10/gcc-5-in-fedora/ |
I see no reason to disable this in nix given that they promise old binaries On Mon, Aug 31, 2015, 09:30 Eelco Dolstra notifications@github.com wrote:
|
Well, the cooperation between packages using different ABI can be a problem, e.g. passing the affected containers ( |
@wkennington No, it's also an issue in Nix. For instance, if you link together libraries compiled with GCC 4 and with GCC 5. |
I can't imagine there will be more than a handful of cases like this, we On Mon, Aug 31, 2015, 10:37 Eelco Dolstra notifications@github.com wrote:
|
ati-drivers will not compile using gcc5 at the moment. Ubuntu had to patch their package to force compilation with gcc4 https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1493888/comments/215. |
Yes, I believe that would solve it. |
Relevant: #8962 |
GCC 5 is now in staging (dd53c65). |
Using the changes in staging / master, we should be able to start isolating the remaining problems breaking adoption of gcc5. I already maintain my own branch which has defaulted to gcc5 for a while so a lot of major kinks have already been worked out. Please test the changes in staging.post-15.06 if you would like to help the effort of getting nixpkgs ready for gcc5. The migration should be easiest if we mainline transition patches into master / staging where appropriate, as they have been entirely backward compatible with the old compiler. Merging the patches into mainline should reduce the effort of keeping a separate branch, as the branch is just the switch to gcc5.
The text was updated successfully, but these errors were encountered: