systemd-stable icon indicating copy to clipboard operation
systemd-stable copied to clipboard

systemd-boot fails to build due to linking `-lgcc` when using LLVM

Open RossComputerGuy opened this issue 1 year ago • 0 comments

systemd version the issue has been seen with

255

Used distribution

NixOS Unstable

Linux kernel version used

6.6.41

CPU architectures issue was seen on

x86_64

Component

systemd-boot

Expected behaviour you didn't see

It build

Unexpected behaviour you saw

It failed to build

Steps to reproduce the problem

  1. Build systemd using LLVM and not use GCC

Look at https://github.com/systemd/systemd-stable/blob/6c260ee0349c8ee169ac57d14f4effe366f19383/src/boot/efi/meson.build#L153

Additional program output to the terminal or log subsystem illustrating the issue

https://github.com/RossComputerGuy/nixpkgs-llvm-ws/runs/27894915464

RossComputerGuy avatar Jul 25 '24 05:07 RossComputerGuy