Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677342 - sys-devel/binutils-2.32 released
Summary: sys-devel/binutils-2.32 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/ml/binutils/20...
Whiteboard:
Keywords:
Depends on:
Blocks: 616038 671760
  Show dependency tree
 
Reported: 2019-02-05 21:43 UTC by Sergei Trofimovich (RETIRED)
Modified: 2019-02-23 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc-8.2.0-r6_buildlog.gz (gcc-8.2.0-r6_buildlog.gz,26.25 KB, application/octet-stream)
2019-02-15 23:24 UTC, cyrillic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-05 21:43:57 UTC
https://sourceware.org/ml/binutils/2019-02/msg00010.html
Comment 1 cyrillic 2019-02-15 21:10:19 UTC
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 :)
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-15 22:53:27 UTC
(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?
Comment 3 cyrillic 2019-02-15 23:24:49 UTC
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.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-15 23:47:17 UTC
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.
Comment 5 cyrillic 2019-02-16 00:48:05 UTC
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.
Comment 6 Larry the Git Cow gentoo-dev 2019-02-16 10:35:49 UTC
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(+)
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-16 10:38:42 UTC
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
Comment 8 Larry the Git Cow gentoo-dev 2019-02-16 12:28:44 UTC
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(+)
Comment 9 Larry the Git Cow gentoo-dev 2019-02-23 13:06:22 UTC
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(-)