Commit Graph

5 Commits

Author SHA1 Message Date
Vladimír Čunát
7c084fde74
bionic: fix evaluation on some platforms
Channel update scripts were blocked on this.
Conversion from hard errors to soft throws is significant.
2022-05-02 16:57:18 +02:00
s1341
1f399bac82 bionic_prebuilt: add x86_64 support 2022-04-26 09:30:37 +03:00
Moritz Angermann
cc545663ce Export static libc, libm, libdl from the prebuilt crt as well.
Adds enable{Static,Shared} flags as well.
2022-01-05 15:16:27 +08:00
sterni
bc6da68650
bionic: use fetchzip for everything (#123010)
Since the hashes of the remaining two archives that used fetchurl broke,
now as good a time as any to switch the remaining fetchurls to fetchzip.
2021-05-16 01:24:27 -04:00
s1341
1e1d29c2af treewide: Support aarch64-android using minimal prebuilt components
This PR adds a new aarch64 android toolchain, which leverages the
existing crossSystem infrastructure and LLVM builders to generate a
working toolchain with minimal prebuilt components.

The only thing that is prebuilt is the bionic libc. This is because it
is practically impossible to compile bionic outside of an AOSP tree. I
tried and failed, braver souls may prevail. For now I just grab the
relevant binaries from https://android.googlesource.com/.

I also grab the msm kernel sources from there to generate headers. I've
included a minor patch to the existing kernel-headers derivation in
order to expose an internal function.

Everything else, from binutils up, is using stock code. Many thanks to
@Ericson2314 for his help on this, and for building such a powerful
system in the first place!

One motivation for this is to be able to build a toolchain which will
work on an aarch64 linux machine. To my knowledge, there is no existing
toolchain for an aarch64-linux builder and an aarch64-android target.
2021-05-11 15:39:08 +00:00