Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 627706

Summary: sys-devel/binutils: crossdev: ${CARCH}-windres segfault on musl
Product: Gentoo Linux Reporter: hanetzer
Component: Current packagesAssignee: Gentoo Crossdev team <crossdev>
Severity: normal CC: tsmksubc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 627914    

Description hanetzer 2017-08-12 17:45:16 UTC
Upstream bug:

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:;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