What | Removed | Added |
---|---|---|
Flags | needinfo?(guillaume.gardet@arm.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. > > [0]: https://build.opensuse.org/package/show/network/rclone