[Bug 1170826] Go packages miss binutils-gold dependency
https://bugzilla.suse.com/show_bug.cgi?id=1170826 https://bugzilla.suse.com/show_bug.cgi?id=1170826#c13 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(guillaume.gardet@ | |arm.com) --- Comment #13 from Richard Biener <rguenther@suse.com> --- (In reply to Guillaume GARDET from comment #0)
On arm and aarch64, 'go' requires 'binutils-gold' dependency at runtime, but go packages only require it as BuildRequires. So, binutils-gold must be installed manually, which breaks some builds in OBS, such as rclone [0].
Without 'binutils-gold', we ge the following error: [ 138s] /usr/lib64/go/1.11/pkg/tool/linux_arm64/link: running gcc failed: exit status 1 [ 138s] collect2: fatal error: cannot find 'ld'
This is not a good failure description since 'ld' is provided by plain binutils. What exact gold feature do they require that is not provided by GNU ld?
So, we need to add 'Requires: binutils-gold' to all go1.x packages.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com