Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Building with x86_64-pc-solaris #1536

Closed
4 of 11 tasks
theory opened this issue Aug 7, 2024 · 2 comments
Closed
4 of 11 tasks

Error Building with x86_64-pc-solaris #1536

theory opened this issue Aug 7, 2024 · 2 comments

Comments

@theory
Copy link

theory commented Aug 7, 2024

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?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

0.2.5

Example

  • Fork https://github.com/pgxn/meta

  • Uncomment these lines in .github/workflows/build-and-release.yml:

              # - os_name: solaris-amd64
              #   os: ubuntu-20.04
              #   target: x86_64-pc-solaris
              #   bin: pgxn_meta
              #   emoji: ☀️
  • Push to trigger the workflow and examine the results

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
Copy link
Member

Emilgardis commented Aug 7, 2024

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
Copy link
Author

theory commented Aug 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants