r/Gentoo•
bdblr

Just a heads-up about libvirt if you're using the mold linker

Tip

Noticed this morning that app-emulation/libvirt-8.9.0-r1 no longer compiles correctly with the mold linker while previous versions did. Use instructions as provide here https://wiki.gentoo.org/wiki/Mold to set up the proper env.

Posted Jan 27, 2023, 6:32 AM UTC

103
bdblrOP•

Add sys-apps/fwupd-efi to the list of packages suddenly behaving badly with mold.

1
ScottESanDiego•

Seems like a regression somewhere. 8.9.0 w/mold also fails with

Compiler for C supports link arguments -Wl,--version-script=/var/tmp/portage/app-emulation/libvirt-8.9.0-r1/work/libvirt-8.9.0/src/libvirt_qemu.syms: NO                                                                                                                                                                                                                meson.build:521:4: ERROR: Problem encountered: No supported version script link argument found.

I could have sworn that used to work with `mold`.

1
bdblrOP•

It did - up to this version. Recently more packages seem to be failing. I'll create bugs once I can find the time.

1