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

Bug 302450

Summary: sys-devel/binutils-2.20.51.0.5 with USE=+gold breaks wine and samba
Product: Gentoo Linux Reporter: Jan Psota <jasiupsota>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: major CC: jasiupsota, pva
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    

Description Jan Psota 2010-01-27 13:30:10 UTC
(at least)
sys-devel/binutils-2.20.51.0.5 with USE=+gold breaks:
app-emulation/wine (tested with 1.1.36 and 1.1.37)
and net-fs/samba (tested with 3.3.10)
with USE=-gold wine works OK,
with USE=+gold wine and samba gives "Segmentation fault"

1. I tested it only on amd64.
2. older binutils (2.20.51.0.4) didn't do this.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-01-27 13:39:04 UTC
From USE flag description:

gold:sys-devel/binutils: Use the new gold linker (written in C++) rather than the standard linker (this _will_ break things)

Also, please, don't CC individual maintainers.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-01-27 13:40:36 UTC
btw, it cause other applications to crash too. See bug 301176 as another example.
Comment 3 Jan Psota 2010-01-27 13:50:37 UTC
> gold:sys-devel/binutils: Use the new gold linker (written in C++) rather than
> the standard linker (this _will_ break things)
So: not to use it?

> Also, please, don't CC individual maintainers.
Sorry.
I will not.
Comment 4 SpanKY gentoo-dev 2010-01-28 00:26:50 UTC
wine/samba are huge packages and gold is a ways away from even being "unstable".  per Bug 301480, USE=gold no longer exists and gold can no longer be the default `ld`.  people have to manually use `ld.gold`.