You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
613: freebsd: include libkvm in build image r=Emilgardis a=wg
Cross builds targeting FreeBSD currently fail for projects depending on version 0.2.105+ of the libc crate due to a new dependency on libkvm, introduced here: rust-lang/libc@9ab890d#diff-75cac48df6376b0d5783bc764c591d1a896a92429653beda3f0b3e93aa8c339fR290
The compilation error looks like:
```
error: linking with `x86_64-unknown-freebsd12-gcc` failed: exit status: 1
...
= note: /usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -lkvm
collect2: error: ld returned 1 exit status
```
This PR adds the static and shared libkvm binaries to the build image to resolve this issue.
Co-authored-by: Will <[email protected]>
0 commit comments