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

use defconfig for ct-ng, minimizing the config #1335

Closed
Emilgardis opened this issue Sep 16, 2023 · 1 comment · Fixed by #1468
Closed

use defconfig for ct-ng, minimizing the config #1335

Emilgardis opened this issue Sep 16, 2023 · 1 comment · Fixed by #1468

Comments

@Emilgardis
Copy link
Member

We should switch to using a minimal .config for our crosstool-ng targets.

A way to do this is with ct-ng savedefconfig and ct-ng olddefconfig

An issue with this is that it doesn't seem to respect comp lib versions, need to solve that somehow.

@Emilgardis
Copy link
Member Author

for example

CT_CONFIG_VERSION="4"
CT_PREFIX_DIR="/x-tools/${CT_TARGET}"
CT_ARCH_ARM=y
CT_USE_MIRRORS=y
CT_ARCH_ARCH="armv6"
CT_ARCH_FPU="vfp"
CT_ARCH_FLOAT_HW=y
CT_KERNEL_LINUX=y
CT_LINUX_V_4_19=y
CT_BINUTILS_V_2_32=y
CT_GLIBC_V_2_31=y
CT_GCC_V_8=y
CT_CC_LANG_CXX=y
CT_GETTEXT_V_0_19_8_1=y
CT_GMP_V_6_1=y
CT_ISL_V_0_20=y
CT_LIBICONV_V_1_15=y
CT_NCURSES_V_6_1=y
CT_ZLIB_V_1_2_13=y
CT_ZLIB_MIRRORS="https://github.com/madler/zlib/releases/download/v${CT_ZLIB_VERSION}/ https://www.zlib.net/"

expands to using zlib 1.2.12 using ct-ng 1.25.0

github-merge-queue bot pushed a commit that referenced this issue Apr 6, 2024
This PR switches to using `defconfig` for ct-ng, minimizing the config.

The `docker/crosstool-config/loongarch64-unknown-linux-gnu.config` is
generated by:

```sh
GCC_VERSION=13.2.0 GLIBC_VERSION=2.36 LINUX_VERSION=5.19.16 cargo xtask configure-crosstool
```

and `docker/crosstool-config/arm-unknown-linux-gnueabihf.config`:

```sh
GCC_VERSION=8.5.0 GLIBC_VERSION=2.31 LINUX_VERSION=4.19.287 cargo xtask configure-crosstool
```

Fixes #1335
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant