https://sourceware.org/ml/binutils/2019-02/msg00010.html
Upgrading to binutils-2.32 , elfutils-0.175 , and then rebuilding everything went smoothly for me. Everything seems to be working fine. ...but, there is no easy downgrade path. binutils-2.31 breaks a bunch of packages including gcc just FYI :)
(In reply to cyrillic from comment #1) > ...but, there is no easy downgrade path. binutils-2.31 breaks a bunch of > packages including gcc Can you be a bit more specific on what actually breaks?
Created attachment 565508 [details] gcc-8.2.0-r6_buildlog.gz This is what happens for me, and it is the same for the other packages that fail.
Yeah, due to sourceware.org/PR23919 debugging sections would not be compatible to older binutils. ./../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.a(pure.o): unable to initialize decompress status for section .debug_info /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.a: error adding symbols: file format not recognized collect2: error: ld returned 1 exit status make[3]: *** [Makefile:2871: build/genmddeps] Error 1 I wonder if running # strip /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.a is enough to get you gcc against downgraded binutils.
I can test some downgrade scenarios if you want, but I am not too concerned about downgrading, because binutils-2.32 is working fine for me. I just wanted to give you a heads-up that downgrading binutils is a bad idea, kinda like downgrading glibc.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b792b02dbe0eb57ec7945bf1a721a336fbfc114 commit 7b792b02dbe0eb57ec7945bf1a721a336fbfc114 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-16 10:33:44 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-16 10:35:41 +0000 sys-devel/binutils: bump up to 2.32, patchset 1 Initial patchset is based on current binutils-2.32 branch. Reported-by: Lars Wendler Bug: https://bugs.gentoo.org/677342 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/binutils/Manifest | 2 + sys-devel/binutils/binutils-2.32.ebuild | 438 ++++++++++++++++++++++++++++++++ 2 files changed, 440 insertions(+)
Pushed (unkeyworded so far) binutils-2.32 as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b792b02dbe0eb57ec7945bf1a721a336fbfc114 To get into ~arch we'll need to: - go through FEATURES=test failures at least on amd64, check how bad they are, file bugs upstream - build @system and check if it still boots as kernel, glibc and boot-leaders are most vulnerable to break
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35565322d84de69e9af61fe8e752f7f1d83979f0 commit 35565322d84de69e9af61fe8e752f7f1d83979f0 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-16 12:28:16 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-16 12:28:34 +0000 sys-devel/binutils-hppa64: bump up to 2.32, patchset 1 Initial patchset is based on current binutils-2.32 branch. Reported-by: Lars Wendler Bug: https://bugs.gentoo.org/677342 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/binutils-hppa64/Manifest | 2 + .../binutils-hppa64/binutils-hppa64-2.32.ebuild | 442 +++++++++++++++++++++ sys-devel/binutils-hppa64/metadata.xml | 27 +- 3 files changed, 461 insertions(+), 10 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb23a8f0b5190c5987c233075c671c39761985e commit fbb23a8f0b5190c5987c233075c671c39761985e Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-16 11:49:09 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-16 12:28:34 +0000 sys-libs/binutils-libs: bump up to 2.32, patchset 1 Initial patchset is based on current binutils-2.32 branch. Reported-by: Lars Wendler Bug: https://bugs.gentoo.org/677342 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/binutils-libs/Manifest | 2 + sys-libs/binutils-libs/binutils-libs-2.32.ebuild | 119 +++++++++++++++++++++++ 2 files changed, 121 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37685bc7efeb44b54fbb44808d21815205e3acab commit 37685bc7efeb44b54fbb44808d21815205e3acab Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-23 13:03:42 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-23 13:06:11 +0000 sys-libs/binutils-libs: put 2.32 into ~arch, bug #677342 Reported-by: Lars Wendler Closes: https://bugs.gentoo.org/677342 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/binutils-libs/binutils-libs-2.32.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9006656559ccf4445641a3ddff6a88bcbe091992 commit 9006656559ccf4445641a3ddff6a88bcbe091992 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-23 13:03:00 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-23 13:06:10 +0000 sys-devel/binutils: put 2.32 into ~arch, bug #677342 Reported-by: Lars Wendler Closes: https://bugs.gentoo.org/677342 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/binutils/binutils-2.32.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)