-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Bump gcc to gcc10 and binutils to 2.34 #89793
Conversation
We were at binutils 2.34 one or twice before but it got reverted. |
@FRidh We need to make sure that most of the things work before merging. |
Please look at the past work that has been done on 2.34. This involves more work than you probably imagine right now. |
Yes, I saw that, I have a lot of free time (not a lot of skills), and I hope people will help. |
While I appreciate the effort to try and bump binutils, I have a few comments:
|
Sorry, I was stupid.
You are right, should I try to patch python instead? Also I'm a bit stuck with numpy (who would have thought...). |
It isn't, but I do not have the technical abilities to make a proper fix, I don't understand the install phases of lapack and blas. |
40c966c
to
c07bec6
Compare
I'm really stuck on systemd...
I never thought systemd could brake so badly xD It fails to start a lot a services like Here is a |
Several aarch64 builds fail with
|
I didn't test on aarch64 and darwin at all, we might have to force gcc9 on them for now. |
Darwin uses clang as default. |
I can reproduce the build error with I can't reproduce it when cross-compiling from x86_64. |
Thanks everyone for working on this! I noticed two small issues building my system with 4008fd3:
I noticed that stripping was re-enabled on wine, so I will also confirm if binutils 2.34 fixes the original issue. EDIT: strip with binutils 2.34 now keeps the original DOS stub instead of resetting it, so |
cc @NixOS/exotic-platform-maintainers for assistance in fixing up aarch64. See #107783. |
possibly related aarch64 fix https://bugzilla.redhat.com/show_bug.cgi?id=1830472#c1
found via https://www.spinics.net/lists/fedora-devel/msg270592.html |
Sounds it could be "the same problem". Their patch: https://src.fedoraproject.org/rpms/gcc/c/95507e8b68 |
They remove
If I am correct We have
This is defined in
Note also the comment
|
The tests for |
Motivation for this change
I wanted to have a try at updating binutils (I took the work of @lovesegfault #86954), and as all packages needed to be recompiled, I tried to make gcc10 default.
Things done
ld: multiple definition of
(made gcc10 use-fcommon
by default)-fnocommon
_findLib_ld
ImportError: liblapack.so.3: ELF load command address/offset not properly aligned
)Make clean fixes for
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)