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

gcc13 installation does not install static libstdc++.a #18

Closed
nbriggs opened this issue Dec 15, 2023 · 6 comments
Closed

gcc13 installation does not install static libstdc++.a #18

nbriggs opened this issue Dec 15, 2023 · 6 comments

Comments

@nbriggs
Copy link

nbriggs commented Dec 15, 2023

While the gcc13 build produces both

prototype/sparc/usr/gcc/13/lib/sparcv9/libstdc++.a
prototype/sparc/usr/gcc/13/lib/libstdc++.a

the manifest does not install these files.

When attempting to build rust this missing library results in an “Empty search path given via '-L’” error.

@psumbera
Copy link
Contributor

psumbera commented Dec 15, 2023

This looks like some older problem. You might need to look at rust-lang/rust#97260.

Generally we don't ship static libraries.

Do you know that we bundle Rust with Solaris?

@nbriggs
Copy link
Author

nbriggs commented Dec 15, 2023

Thanks - I had missed one of the places where it depended on the static library, so I had fixed it by installing the static library from the gcc13 build. I've fixed it properly now in rust 1.62.0.

I have been using a personal/non-commercial Solaris 11.4 system, but as far as I'm aware there hasn't been a Solaris 11.4 CBE release since the original one announced March 2, 2022, so for building open source packages that depend on more modern releases of things like Rust the only option seems to be building from the userland git repository.

It would be a great help if the solaris-userland git repository contained the intermediate versions of Rust, since it appears that you can never move more than one minor version ahead at at time (1.70.0 is definitely not compilable with 1.61.0 which was the previous checked in version).

@psumbera
Copy link
Contributor

I do some Rust interim version builds in my personal repo here: https://github.com/psumbera/solaris-userland/commits/master/

@nbriggs
Copy link
Author

nbriggs commented Dec 19, 2023

Thanks for that. I'm sure it will be helpful.

@vlmarek
Copy link
Member

vlmarek commented Dec 21, 2023

My understanding is that I can close the issue now. Thank you all.

@vlmarek
Copy link
Member

vlmarek commented Dec 21, 2023

.

@vlmarek vlmarek closed this as completed Dec 21, 2023
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

3 participants