-
Notifications
You must be signed in to change notification settings - Fork 16
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
glibc warnings compiling for 5.9-RELEASE_ubuntu_jammy_aarch64 #12
Comments
Did you mean |
sorry main.swift. will fix |
Also tracked as rdar://115492638 |
I've been having similar issues with my manually configured cross-compilation build where swift build --sdk <path/to/sysroot> no longer works as expected in 5.9. Swift neither seems to find libc nor any other libraries in the sysroot. For a full log, see e.g. this failed build (I prepare a sysroot in the first Docker stage, then copy it over into Would of course be nice to migrate over to the new SDK bundles once the Ubuntu host -> Ubuntu target scenario is properly supported, but I assume this is still a regression. |
This has gotten much worse in 5.9.1, now I get a ton of the following warnings:
The good news is that then after dozens of each of the above, I get:
|
I've created a simple helloworld tool, and compiling it generates warning messages that seem to be spurious. Here's the project structure:
Package consists of:
main.swift consists of:
This produces the following output:
The glibc warnings seem to be spurious.
The text was updated successfully, but these errors were encountered: