about summary refs log tree commit diff
path: root/src/ci/docker/scripts/musl-toolchain.sh
AgeCommit message (Collapse)AuthorLines
2023-01-20Specify version of Linux headersWesley Wiser-2/+3
2023-01-20Bump musl-cross-make to get support for building musl 1.2.3Wesley Wiser-2/+2
2023-01-20Upgrade to musl 1.2.3Wesley Wiser-11/+4
2022-01-10Add note about upstream commit musl-patch-configure.diff is derived fromWesley Wiser-1/+3
2021-11-12Build musl dist artifacts with debuginfo enabledWesley Wiser-1/+8
Since our musl targets link to a version of musl we build and bundle with the targets, if users need to debug into musl or generate backtraces which contain parts of the musl library, they will be unable to do so unless we enable and ship the debug info. This patch changes our dist builds so they enabled debug info when building musl. This patch also includes a fix for CFI detection in musl's `configure` script which has been posted upstream[1]. The net effect of this is that we now ship debug info for musl in those targets. This adds ~90kb to those artifacts but running `strip` on binaries produced removes all of that. For a "hello world" Rust binary on x86_64, the numbers are: | | debug | release | release + strip | | - | - | - | - | | without musl debuginfo | 507kb | 495kb | 410kb | | with musl debuginfo | 595kb | 584kb | 410kb | Once stripped, the final binaries are the same size (down to the byte). [1]: https://www.openwall.com/lists/musl/2021/10/21/2
2020-11-06fix shellcheck error of SC2068Daiki Ihara-1/+1
2020-11-06fix shellcheck error of SC2148Daiki Ihara-0/+1
2020-10-24Use own mirror for linux headers in musl-toolchain CI script.Mara Bos-2/+8
2020-06-07Update musl to 1.1.24Tomasz Miąsko-4/+6
2019-08-15Use libunwind from llvm-project submodule for musl targetsMarco A L Barbosa-26/+0
2019-05-28Update musl-cross-make to 0.9.8Gregory Szorc-2/+2
This version uses musl 1.1.22 and GCC 6.4.0 by default. It also contains support for newer binutils and GCC versions, should we want to bump those as well. But I'm purposefully limiting this patch in order to reduce the surface area for controversy.
2019-05-10Conditionally provide cc in musl-toolchain.shMateusz Mikuła-6/+8
2019-05-10Make tests compatible with musl hostMateusz Mikuła-0/+7
2019-04-22Remove double trailing newlinesvarkor-1/+0
2019-03-27musl: build toolchain libs with -fPICMateusz Mikuła-0/+4
2019-03-15Fix TARGET variable in musl-toolchain.shMateusz Mikuła-1/+1
2019-03-14Address final reviewMateusz Mikuła-0/+6
2019-03-13Final cleanupsMateusz Mikuła-6/+4
2019-03-13Drop copyright notice from musl-toolchainMateusz Mikuła-10/+0
2019-03-13musl: update LLVM to 7Mateusz Mikuła-1/+1
2019-03-13Address review commentsMartell Malone-2/+2
2019-03-13musl-toolchain: fix global lib paths (dont create /lib/libc.so)Jonathan Sieber-2/+1
2019-03-13Make the musl dynamic loader known to the system, so it can execute target ↵Jonathan Sieber-0/+11
binaries
2019-03-13build a proper c++-enabled musl toolchain with musl-cross-makeJonathan Sieber-0/+66