Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #383860

Bug#1095518: FTBFS: needs to depend explicitly on binutils-gold

From NoisyCoil <noisycoil@tutanota.com>
Newsgroups linux.debian.bugs.rc
Subject Bug#1095518: FTBFS: needs to depend explicitly on binutils-gold
Date 2025-02-08 19:10 +0100
Message-ID <KdXrb-fmlc-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: llvm-toolchain-19
Version: 1:19.1.7-1
Severity: serious
Tags: ftbfs patch
Justification: RT
X-Debbugs-Cc: noisycoil@tutanota.com

Dear Maintainer,

starting from 2.43.90.20250202-1, binutils now suggests binutils-gold instead
of depending on it [1]. As a consequence llvm must now depend explicitly on
binutils-gold in order to avoid to FTBFS due to ld.gold not being available
in the build:

```
CMake Error at cmake/modules/HandleLLVMOptions.cmake:396 (message):
  Host compiler does not support '-fuse-ld=gold'.  Please make sure that
  'gold' is installed and that your host compiler can compile a simple
  program when given the option '-fuse-ld=gold'.
```

You will find a patch in attachment, tested on arm64.

Cheers!

[1] https://tracker.debian.org/news/1612089/accepted-binutils-2439020250202-1-source-into-unstable/

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1095518: FTBFS: needs to depend explicitly on binutils-gold NoisyCoil <noisycoil@tutanota.com> - 2025-02-08 19:10 +0100
  Processed: binutils-gold "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-12 18:40 +0100
  Bug#1095518: closing 1095518 Sebastian Ramacher <sramacher@debian.org> - 2025-03-15 13:10 +0100

csiph-web