Commit Graph

13 Commits

Author SHA1 Message Date
Svyatoslav Scherbina aecf18b842 Native: move copying of toolchain builder artifact from Docker to host
Don't make Docker container copy artifact to a host directory mounted
with -v, because this fails due to a file permission issue:
build is run by a regular user, but the volume directory inside the
container is owned by root.

Instead, make the host copy the artifact from the container.

Also, make the container print the artifact path before that.
Just in case, in order to easily copy file manually, should something
go wrong.

^KT-58864
2023-07-21 10:40:13 +00:00
Svyatoslav Scherbina a276ad48a0 Native: don't use -it for docker run in toolchain builder
To make it more suitable for running in a CI

^KT-58864
2023-07-21 10:40:13 +00:00
Svyatoslav Scherbina 28a736ea30 Native: update isl download URL in a toolchain builder config
The previous URL no longer works. The isl project has moved hosting to
sourceforge.io. Update the mirror accordingly.
This is fixed in Crosstool-NG 1.25.0, but the URL is included in config
and needs to be updated there.

Note: to make the rest of toolchains buildable, the same change should
be applied to their configs.

See also https://github.com/crosstool-ng/crosstool-ng/pull/1614.

^KT-58864
2023-07-21 10:40:12 +00:00
Svyatoslav Scherbina 4e563aa299 Native: add arm toolchain gcc-8.3.0-glibc-2.12.1-kernel-4.9.config
Based on gcc-8.3.0-glibc-2.19-kernel-4.9.config, but with glibc version
downgraded from 2.19 to 2.12.1.

^KT-58864
2023-07-21 10:40:12 +00:00
Svyatoslav Scherbina 3c568e7b86 Native: update zlib download URL in toolchain builder
zlib 1.2.11 has been moved to fossils/ on the official website.

^KT-58864
2023-07-21 10:40:12 +00:00
Svyatoslav Scherbina 785e70c31a Native: update toolchain builder Docker image to Ubuntu 16.04
Ubuntu 14.04, used before, has expired root SSL certificate for
Let's Encrypt. As a result, OpenSSL couldn't verify SSL certificates
issued by Let's Encrypt, failing, in particular, kernel download.

^KT-58864
2023-07-21 10:40:12 +00:00
Sergey Bogolepov f5f7e976f6 Fix #KT-45094
Rebuild linux toolchains with an older OS.

(cherry picked from commit 1d249ad7b592573dc4478f0f6cefe2766c323e12)
2021-03-09 20:19:33 +00:00
Sergey Bogolepov 357f2be14e [Toolchain] Archive versioning
Allow toolchain builder to add a suffix to toolchain name.
It is useful for rebuilding the same toolchain in different environment.

(cherry picked from commit 83148fc5bb4e8bcc5afcf119df53ec1bc854be17)
2021-03-09 20:19:32 +00:00
Sergey Bogolepov e6d202a2aa More robust toolchain builder script 2020-12-14 15:31:10 +01:00
Sergey Bogolepov ddaf477849 Support new linux_arm32_hfp_toolchain 2020-12-14 15:31:10 +01:00
Sergey Bogolepov 73c27df1be Support new linux_mips32 and linux_mipsel32 toolchains 2020-12-14 15:31:07 +01:00
Sergey Bogolepov 60c491e000 Minor fixes to toolchain build scripts 2020-12-14 15:25:36 +01:00
Sergey Bogolepov 333685c7ee Add a toolchain for toolchain building 2020-12-14 15:25:36 +01:00