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>
Status: RESOLVED FIXED    
Severity: normal CC: tsmksubc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=21861
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 627914    

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