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

[Runner] Add hot-fix to symlink libc.musl-<ARCH>.so.1 -> libc.so #192

Merged
merged 1 commit into from
Dec 5, 2021

Conversation

giordano
Copy link
Member

@giordano giordano commented Dec 5, 2021

Address #188 before rebuilding all the GCC compiler shards for Musl.

With this PR:

% julia-16 -e 'using BinaryBuilderBase; BinaryBuilderBase.runshell(Platform("aarch64", "linux"; libc="musl"))'
sandbox:${WORKSPACE} # ls -l /opt/${target}/${target}/sys-root/usr/lib/
total 15361
-r--r--r--    1 root     root          5320 Oct 21  2020 Scrt1.o
-r--r--r--    1 root     root          5120 Oct 21  2020 crt1.o
-r--r--r--    1 root     root          1072 Oct 21  2020 crti.o
-r--r--r--    1 root     root          1012 Oct 21  2020 crtn.o
-r--r--r--    1 root     root      11614452 Oct 21  2020 libc.a
lrwxrwxrwx    1 root     root             7 Dec  5 14:19 libc.musl-aarch64.so.1 -> libc.so
-r-xr-xr-x    1 root     root       4082299 Oct 21  2020 libc.so
-r--r--r--    1 root     root             8 Oct 21  2020 libcrypt.a
-r--r--r--    1 root     root             8 Oct 21  2020 libdl.a
-r--r--r--    1 root     root             8 Oct 21  2020 libm.a
-r--r--r--    1 root     root             8 Oct 21  2020 libpthread.a
-r--r--r--    1 root     root             8 Oct 21  2020 libresolv.a
-r--r--r--    1 root     root             8 Oct 21  2020 librt.a
-r--r--r--    1 root     root             8 Oct 21  2020 libutil.a
-r--r--r--    1 root     root             8 Oct 21  2020 libxnet.a
-r--r--r--    1 root     root         14032 Oct 21  2020 rcrt1.o

Note: this PR is built on top of #191, it's easier to read the second commit only. Edit: rebased on master now that #191 has been merged

@giordano giordano marked this pull request as draft December 5, 2021 14:16
@giordano giordano force-pushed the mg/symlink-musl-libc branch from b75301f to d7ffb30 Compare December 5, 2021 18:58
@giordano giordano force-pushed the mg/symlink-musl-libc branch from d7ffb30 to 86d8237 Compare December 5, 2021 21:52
@giordano giordano marked this pull request as ready for review December 5, 2021 21:53
@giordano giordano marked this pull request as draft December 5, 2021 22:14
@giordano giordano marked this pull request as ready for review December 5, 2021 22:16
@giordano giordano merged commit 0ecd8d7 into JuliaPackaging:master Dec 5, 2021
@giordano giordano deleted the mg/symlink-musl-libc branch December 5, 2021 22:31
@giordano giordano linked an issue Dec 6, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust 1.57.0 currently not working on non-x86_64 Musl platforms
1 participant