cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.8k stars 379 forks source link

Error Building with x86_64-pc-solaris #1536

Closed theory closed 3 months ago

theory commented 3 months ago

Checklist

Describe your issue

I tried building a crate on x86_64-pc-solaris, but it fails with:

  = note: /usr/bin/ld: warning: -z ignore ignored
          /usr/bin/ld: cannot find -lsendfile
          /usr/bin/ld: cannot find -llgrp
          /usr/bin/ld: cannot find -lsocket
          /usr/bin/ld: cannot find -lposix4
          collect2: error: ld returned 1 exit status

Not sure if there's something that needs updating in the switch from x86_64-pc-solaris or if there's something more I can install.

What target(s) are you cross-compiling for?

x86_64-pc-solaris

Which operating system is the host (e.g computer cross is on) running?

What architecture is the host?

What container engine is cross using?

cross version

0.2.5

Example

Additional information / notes

It worked fine with 0.2.5 on my Mac; might it be something up with the configuration on the GitHub Ubuntu worker?

Emilgardis commented 3 months ago

Please see the warning in the build log

https://github.com/pgxn/meta/actions/runs/10290361270/job/28480170809#step:5:715

You're not using cross here. You're probably uding cross from the main branch locally

[cross] warning: cross does not provide a Docker image for target x86_64-pc-solaris, specify a custom image in Cross.toml.

theory commented 3 months ago

Oh, I see. I presume this would start working with the next release then?