Bump gcc to gcc10 and binutils to 2.34#89793
Bump gcc to gcc10 and binutils to 2.34#89793luc65r wants to merge 26 commits intoNixOS:staging-nextfrom
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
|
|
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-fcommonby default)-fnocommon_findLib_ldImportError: liblapack.so.3: ELF load command address/offset not properly aligned)Make clean fixes for
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)