Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627706 - sys-devel/binutils: crossdev: ${CARCH}-windres segfault on musl
Summary: sys-devel/binutils: crossdev: ${CARCH}-windres segfault on musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Crossdev team
URL: https://sourceware.org/bugzilla/show_...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: crossdev-bugs
  Show dependency tree
 
Reported: 2017-08-12 17:45 UTC by hanetzer
Modified: 2017-10-11 20:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanetzer 2017-08-12 17:45:16 UTC
Upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21861

Basic gist is binutils, when installed as either cross-x86_64-w64-mingw32/binutils or cross-i686-w64-mingw32/binutils will segfault when
building sys-devel/zlib with cross-emerge.

Upstream has accepted a small, one-liner patch to fix the issue, which
doesn't break glibc system (no idea/word on uclibc). I'd like this patch to be added into the gentoo toolchain patch series for binutils.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-12 22:35:50 UTC
Was also applied upstream as: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=54387c7fe27848e41a51c1eccc6a24b3d6d3441f

Next step is to add it to binutils patchset.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-10-11 20:10:51 UTC
Fixed in sys-devel/binutils-2.29.1