Fix manylinux2014-aarch64 image building

* switch image to crosstool-ng 1.25.0
* remove support of ct-ng 1.13.0 and set 1.25.0 as the default version
This commit is contained in:
Mickaël Guérin 2023-01-27 13:19:09 +01:00 committed by Mickaël Guérin
parent 670f7f7c5c
commit f152c4b25e
10 changed files with 614 additions and 321 deletions

View File

@ -932,25 +932,25 @@ jobs:
cpython: "yes", cpython: "yes",
cpython_arg: "", cpython_arg: "",
} }
# - { - {
# image: "manylinux2014-aarch64", image: "manylinux2014-aarch64",
# stockfish: "no", stockfish: "no",
# stockfish_arg: "", stockfish_arg: "",
# ninja: "no", ninja: "no",
# ninja_arg: "", ninja_arg: "",
# openssl: "yes", openssl: "yes",
# openssl_arg: "linux-aarch64", openssl_arg: "linux-aarch64",
# C: "no", C: "no",
# C_arg: "", C_arg: "",
# C-Plus-Plus: "no", C-Plus-Plus: "no",
# C-Plus-Plus_arg: "", C-Plus-Plus_arg: "",
# fmt: "no", fmt: "no",
# fmt_arg: "", fmt_arg: "",
# raylib: "no", raylib: "no",
# raylib_arg: "", raylib_arg: "",
# cpython: "yes", cpython: "yes",
# cpython_arg: "", cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu",
# } }
# web-wasm images # web-wasm images
- { - {
image: "web-wasm", image: "web-wasm",

View File

@ -47,8 +47,6 @@ ENV XCC_PREFIX=/usr/xcc
# for users. # for users.
COPY \ COPY \
imagefiles/install-crosstool-ng-toolchain.sh \ imagefiles/install-crosstool-ng-toolchain.sh \
imagefiles/patch/crosstool-ng/crosstool-ng-expat.patch \
imagefiles/patch/crosstool-ng/Fix-error-with-bash-5-and-up.patch \
manylinux2014-aarch64/crosstool-ng.config \ manylinux2014-aarch64/crosstool-ng.config \
/dockcross/ /dockcross/
@ -58,7 +56,8 @@ RUN \
cd /dockcross/crosstool && \ cd /dockcross/crosstool && \
/dockcross/install-crosstool-ng-toolchain.sh \ /dockcross/install-crosstool-ng-toolchain.sh \
-p "${XCC_PREFIX}" \ -p "${XCC_PREFIX}" \
-c /dockcross/crosstool-ng.config && \ -c /dockcross/crosstool-ng.config \
-v "${CT_VERSION}" && \
rm -rf /dockcross/crosstool /dockcross/install-crosstool-ng-toolchain.sh && \ rm -rf /dockcross/crosstool /dockcross/install-crosstool-ng-toolchain.sh && \
# Remove sudo provided by devtoolset since it doesn't work with # Remove sudo provided by devtoolset since it doesn't work with
# our sudo wrapper calling gosu. # our sudo wrapper calling gosu.

View File

@ -38,8 +38,6 @@ ENV XCC_PREFIX=/usr/xcc
# for users. # for users.
COPY \ COPY \
imagefiles/install-crosstool-ng-toolchain.sh \ imagefiles/install-crosstool-ng-toolchain.sh \
imagefiles/patch/crosstool-ng/crosstool-ng-expat.patch \
imagefiles/patch/crosstool-ng/Fix-error-with-bash-5-and-up.patch \
crosstool-ng.config \ crosstool-ng.config \
/dockcross/ /dockcross/

View File

@ -53,8 +53,8 @@ if [ -z ${CONFIG_PATH} ] || [ ! -f ${CONFIG_PATH} ]; then
fi fi
if [ -z ${REV} ]; then if [ -z ${REV} ]; then
echo "WARNING: No version selected, use default version: crosstool-ng-1.23.0 (-v)." echo "WARNING: No version selected, use default version: crosstool-ng-1.25.0 (-v)."
REV=crosstool-ng-1.23.0 REV=crosstool-ng-1.25.0
fi fi
@ -75,15 +75,6 @@ git fetch --tags
# checkout # checkout
git checkout ${REV} git checkout ${REV}
if [ ${REV} = "crosstool-ng-1.23.0" ]; then
patch scripts/build/companion_libs/210-expat.sh -i /dockcross/crosstool-ng-expat.patch
# Patch to fix error with bash 5 and up: https://github.com/pfalcon/esp-open-sdk/issues/365
patch configure.ac -i /dockcross/Fix-error-with-bash-5-and-up.patch
# Clean patch
rm /dockcross/Fix-error-with-bash-5-and-up.patch
rm /dockcross/crosstool-ng-expat.patch
fi
# Bootstrap and install the tool. # Bootstrap and install the tool.
BOOTSTRAP_PREFIX="${CTNG}/prefix" BOOTSTRAP_PREFIX="${CTNG}/prefix"
./bootstrap ./bootstrap

View File

@ -1,28 +0,0 @@
From 67368ebe9d9259e9f34a4f9166a33357858813f1 Mon Sep 17 00:00:00 2001
From: Bensuperpc <bensuperpc@gmail.com>
Date: Thu, 24 Jun 2021 11:55:48 +0200
Subject: [PATCH 1/1] Fix error with bash 5 and up
Fix error with bash 5 and up
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index d10bf71d..e2302b4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -274,7 +274,7 @@ ACX_PROG_VERSION_REQ_STRICT([BASH_SHELL],
[GNU bash >= 3.1],
[bash],
[bash],
- ['^GNU bash, version (3\.[1-9]|4)'])
+ ['^GNU bash, version (3\.[1-9]|4|5)'])
# We need a awk that *is* GNU awk
ACX_PROG_VERSION_REQ_STRICT([AWK],
--
2.32.0

View File

@ -1,11 +0,0 @@
--- crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh 2021-04-05 13:55:31.047130000 +0000
+++ crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh.new 2021-04-05 13:57:13.841170000 +0000
@@ -10,7 +10,7 @@
do_expat_get() {
CT_GetFile "expat-${CT_EXPAT_VERSION}" .tar.gz \
- http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}
+ https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//./_}
}
do_expat_extract() {

View File

@ -2,15 +2,15 @@
# run the container on a x86_64 host. # run the container on a x86_64 host.
# This image is not based on "pypa/manylinux2014_aarch64" because it would require the host to be aarch64. # This image is not based on "pypa/manylinux2014_aarch64" because it would require the host to be aarch64.
# For more details, read https://github.com/dockcross/dockcross/issues/367 # For more details, read https://github.com/dockcross/dockcross/issues/367
FROM dockcross/manylinux2014-x64:20210708-94745ff ARG ORG=dockcross
FROM ${ORG}/manylinux2014-x64:latest
LABEL maintainer="Matt McCormick matt.mccormick@kitware.com" LABEL maintainer="Matt McCormick matt.mccormick@kitware.com"
# This is for 64-bit ARM Manylinux machine # This is for 64-bit ARM Manylinux machine
# Crosstool-ng version # Crosstool-ng version
# Issues with crosstool-ng-1.24.0 and up : https://github.com/dockcross/dockcross/issues/367 ENV CT_VERSION crosstool-ng-1.25.0
ENV CT_VERSION crosstool-ng-1.23.0
#include "common-manylinux.crosstool" #include "common-manylinux.crosstool"
@ -22,11 +22,10 @@ RUN \
qemu-system-arm && \ qemu-system-arm && \
yum clean all yum clean all
# The CROSS_TRIPLE is a configured alias of the "aarch64-unknown-linux-gnueabi" target. # The CROSS_TRIPLE is a configured alias of the "aarch64-unknown-linux-gnu" target.
ENV CROSS_TRIPLE aarch64-unknown-linux-gnueabi ENV CROSS_TRIPLE aarch64-unknown-linux-gnu
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
RUN cd ${XCC_PREFIX}/${CROSS_TRIPLE}/${CROSS_TRIPLE}/include && \ ENV PATH ${PATH}:${CROSS_ROOT}/bin
wget https://gist.githubusercontent.com/nhatminhle/5181506/raw/541482dbc61862bba8a156edaae57faa2995d791/stdatomic.h
# Running scripts to cross compile python and copy libstdc++ into toolcain # Running scripts to cross compile python and copy libstdc++ into toolcain
ADD manylinux2014-aarch64/xc_script /tmp/ ADD manylinux2014-aarch64/xc_script /tmp/
@ -35,14 +34,15 @@ RUN /tmp/docker_setup_scrpits/prepare_cross_env.sh
RUN rm -rf /tmp/docker_setup_scrpits RUN rm -rf /tmp/docker_setup_scrpits
RUN rm -rf /tmp/usr/ RUN rm -rf /tmp/usr/
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE} ENV AS=${CROSS_TRIPLE}-as \
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \ AR=${CROSS_TRIPLE}-ar \
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \ CC=${CROSS_TRIPLE}-gcc \
CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \ CPP=${CROSS_TRIPLE}-cpp \
CPP=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-cpp \ CXX=${CROSS_TRIPLE}-g++ \
CXX=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-g++ \ LD=${CROSS_TRIPLE}-ld \
LD=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ld \ FC=${CROSS_TRIPLE}-gfortran \
FC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gfortran STRIP=${CROSS_TRIPLE}-strip \
OBJCOPY=${CROSS_TRIPLE}-objcopy
ENV QEMU_LD_PREFIX "${CROSS_ROOT}/${CROSS_TRIPLE}/sysroot" ENV QEMU_LD_PREFIX "${CROSS_ROOT}/${CROSS_TRIPLE}/sysroot"
ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${QEMU_LD_PREFIX}" ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${QEMU_LD_PREFIX}"
@ -53,23 +53,10 @@ ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake
ENV PKG_CONFIG_PATH /usr/lib/aarch64-linux-gnu/pkgconfig ENV PKG_CONFIG_PATH /usr/lib/aarch64-linux-gnu/pkgconfig
# Linux kernel cross compilation variables # Linux kernel cross compilation variables
ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm64 ENV ARCH arm64
ENV AUDITWHEEL_ARCH aarch64 ENV AUDITWHEEL_ARCH aarch64
ENV AUDITWHEEL_PLAT manylinux2014_$AUDITWHEEL_ARCH ENV AUDITWHEEL_PLAT manylinux2014_$AUDITWHEEL_ARCH
# Build-time metadata as defined at http://label-schema.org #include "common.label-and-env"
ARG BUILD_DATE
ARG IMAGE=dockcross/manylinux2014-aarch64
ARG VERSION=latest
ARG VCS_REF
ARG VCS_URL
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name=$IMAGE \
org.label-schema.version=$VERSION \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.schema-version="1.0"
ENV DEFAULT_DOCKCROSS_IMAGE ${IMAGE}:${VERSION}

View File

@ -3,7 +3,7 @@ set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_SYSTEM_PROCESSOR aarch64) set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(MANYLINUX2014 TRUE) set(MANYLINUX2014 TRUE)
set(cross_triple "aarch64-unknown-linux-gnueabi") set(cross_triple "aarch64-unknown-linux-gnu")
set(cross_root /usr/xcc/${cross_triple}) set(cross_root /usr/xcc/${cross_triple})
set(CMAKE_C_COMPILER $ENV{CC}) set(CMAKE_C_COMPILER $ENV{CC})

View File

@ -1,18 +1,33 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Crosstool-NG Configuration # crosstool-NG 1.25.0 Configuration
# #
CT_CONFIGURE_has_static_link=y CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y
CT_CONFIGURE_has_wget=y CT_CONFIGURE_has_wget=y
CT_CONFIGURE_has_curl=y CT_CONFIGURE_has_curl=y
CT_CONFIGURE_has_stat_flavor_GNU=y CT_CONFIGURE_has_ninja=y
CT_CONFIGURE_has_make_3_81_or_newer=y CT_CONFIGURE_has_make_3_81_or_newer=y
CT_CONFIGURE_has_libtool_2_4_or_newer=y CT_CONFIGURE_has_libtool_2_4_or_newer=y
CT_CONFIGURE_has_libtoolize_2_4_or_newer=y CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
CT_CONFIGURE_has_autoconf_2_63_or_newer=y CT_CONFIGURE_has_autoconf_2_65_or_newer=y
CT_CONFIGURE_has_autoreconf_2_63_or_newer=y CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
CT_CONFIGURE_has_automake_1_15_or_newer=y
CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
CT_CONFIGURE_has_python_3_4_or_newer=y
CT_CONFIGURE_has_bison_2_7_or_newer=y
CT_CONFIGURE_has_python=y
CT_CONFIGURE_has_git=y CT_CONFIGURE_has_git=y
CT_CONFIGURE_has_md5sum=y
CT_CONFIGURE_has_sha1sum=y
CT_CONFIGURE_has_sha256sum=y
CT_CONFIGURE_has_sha512sum=y
CT_CONFIGURE_has_install_with_strip_program=y
CT_VERSION="1.25.0"
CT_VCHECK=""
CT_CONFIG_VERSION_ENV="4"
CT_CONFIG_VERSION_CURRENT="4"
CT_CONFIG_VERSION="4"
CT_MODULES=y CT_MODULES=y
# #
@ -31,11 +46,14 @@ CT_MODULES=y
# #
CT_LOCAL_TARBALLS_DIR="${HOME}/src" CT_LOCAL_TARBALLS_DIR="${HOME}/src"
CT_SAVE_TARBALLS=y CT_SAVE_TARBALLS=y
# CT_TARBALLS_BUILDROOT_LAYOUT is not set
CT_WORK_DIR="${CT_TOP_DIR}/.build" CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_BUILD_TOP_DIR="${CT_WORK_DIR}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" CT_BUILD_TOP_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
CT_BUILD_DIR="${CT_BUILD_TOP_DIR}/build"
CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}" CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
CT_RM_RF_PREFIX_DIR=y CT_RM_RF_PREFIX_DIR=y
CT_REMOVE_DOCS=y CT_REMOVE_DOCS=y
CT_INSTALL_LICENSES=y
CT_PREFIX_DIR_RO=y CT_PREFIX_DIR_RO=y
CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y
# CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set # CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set
@ -52,6 +70,13 @@ CT_CONNECT_TIMEOUT=10
CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary" CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary"
# CT_ONLY_DOWNLOAD is not set # CT_ONLY_DOWNLOAD is not set
# CT_USE_MIRROR is not set # CT_USE_MIRROR is not set
CT_VERIFY_DOWNLOAD_DIGEST=y
CT_VERIFY_DOWNLOAD_DIGEST_SHA512=y
# CT_VERIFY_DOWNLOAD_DIGEST_SHA256 is not set
# CT_VERIFY_DOWNLOAD_DIGEST_SHA1 is not set
# CT_VERIFY_DOWNLOAD_DIGEST_MD5 is not set
CT_VERIFY_DOWNLOAD_DIGEST_ALG="sha512"
# CT_VERIFY_DOWNLOAD_SIGNATURE is not set
# #
# Extracting # Extracting
@ -60,12 +85,7 @@ CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary"
CT_OVERRIDE_CONFIG_GUESS_SUB=y CT_OVERRIDE_CONFIG_GUESS_SUB=y
# CT_ONLY_EXTRACT is not set # CT_ONLY_EXTRACT is not set
CT_PATCH_BUNDLED=y CT_PATCH_BUNDLED=y
# CT_PATCH_LOCAL is not set
# CT_PATCH_BUNDLED_LOCAL is not set # CT_PATCH_BUNDLED_LOCAL is not set
# CT_PATCH_LOCAL_BUNDLED is not set
# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
# CT_PATCH_NONE is not set
CT_PATCH_ORDER="bundled" CT_PATCH_ORDER="bundled"
# #
@ -75,6 +95,7 @@ CT_PARALLEL_JOBS=0
CT_LOAD="" CT_LOAD=""
CT_USE_PIPES=y CT_USE_PIPES=y
CT_EXTRA_CFLAGS_FOR_BUILD="" CT_EXTRA_CFLAGS_FOR_BUILD=""
CT_EXTRA_CXXFLAGS_FOR_BUILD=""
CT_EXTRA_LDFLAGS_FOR_BUILD="" CT_EXTRA_LDFLAGS_FOR_BUILD=""
CT_EXTRA_CFLAGS_FOR_HOST="" CT_EXTRA_CFLAGS_FOR_HOST=""
CT_EXTRA_LDFLAGS_FOR_HOST="" CT_EXTRA_LDFLAGS_FOR_HOST=""
@ -98,37 +119,38 @@ CT_LOG_LEVEL_MAX="EXTRA"
CT_LOG_PROGRESS_BAR=y CT_LOG_PROGRESS_BAR=y
CT_LOG_TO_FILE=y CT_LOG_TO_FILE=y
CT_LOG_FILE_COMPRESS=y CT_LOG_FILE_COMPRESS=y
# end of Paths and misc options
# #
# Target options # Target options
# #
# CT_ARCH_ALPHA is not set
# CT_ARCH_ARC is not set
CT_ARCH_ARM=y
# CT_ARCH_AVR is not set
# CT_ARCH_M68K is not set
# CT_ARCH_MIPS is not set
# CT_ARCH_NIOS2 is not set
# CT_ARCH_POWERPC is not set
# CT_ARCH_PRU is not set
# CT_ARCH_S390 is not set
# CT_ARCH_SH is not set
# CT_ARCH_SPARC is not set
# CT_ARCH_X86 is not set
# CT_ARCH_XTENSA is not set
CT_ARCH="arm" CT_ARCH="arm"
# CT_ARCH_alpha is not set CT_ARCH_CHOICE_KSYM="ARM"
CT_ARCH_arm=y CT_ARCH_CPU=""
# CT_ARCH_avr is not set CT_ARCH_TUNE=""
# CT_ARCH_m68k is not set CT_ARCH_ARM_SHOW=y
# CT_ARCH_mips is not set
# CT_ARCH_nios2 is not set #
# CT_ARCH_powerpc is not set # Options for arm
# CT_ARCH_s390 is not set #
# CT_ARCH_sh is not set CT_ARCH_ARM_PKG_KSYM=""
# CT_ARCH_sparc is not set CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR C6X M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 POWERPC PRU RISCV S390 SH SPARC X86 XTENSA"
# CT_ARCH_x86 is not set
# CT_ARCH_xtensa is not set
CT_ARCH_alpha_AVAILABLE=y
CT_ARCH_arm_AVAILABLE=y
CT_ARCH_avr_AVAILABLE=y
CT_ARCH_m68k_AVAILABLE=y
CT_ARCH_microblaze_AVAILABLE=y
CT_ARCH_mips_AVAILABLE=y
CT_ARCH_nios2_AVAILABLE=y
CT_ARCH_powerpc_AVAILABLE=y
CT_ARCH_s390_AVAILABLE=y
CT_ARCH_sh_AVAILABLE=y
CT_ARCH_sparc_AVAILABLE=y
CT_ARCH_x86_AVAILABLE=y
CT_ARCH_xtensa_AVAILABLE=y
CT_ARCH_SUFFIX="" CT_ARCH_SUFFIX=""
# CT_OMIT_TARGET_VENDOR is not set
# #
# Generic target options # Generic target options
@ -138,7 +160,8 @@ CT_DEMULTILIB=y
CT_ARCH_SUPPORTS_BOTH_MMU=y CT_ARCH_SUPPORTS_BOTH_MMU=y
CT_ARCH_DEFAULT_HAS_MMU=y CT_ARCH_DEFAULT_HAS_MMU=y
CT_ARCH_USE_MMU=y CT_ARCH_USE_MMU=y
CT_ARCH_SUPPORTS_BOTH_ENDIAN=y CT_ARCH_SUPPORTS_FLAT_FORMAT=y
CT_ARCH_SUPPORTS_EITHER_ENDIAN=y
CT_ARCH_DEFAULT_LE=y CT_ARCH_DEFAULT_LE=y
# CT_ARCH_BE is not set # CT_ARCH_BE is not set
CT_ARCH_LE=y CT_ARCH_LE=y
@ -158,21 +181,9 @@ CT_ARCH_SUPPORTS_WITH_CPU=y
CT_ARCH_SUPPORTS_WITH_TUNE=y CT_ARCH_SUPPORTS_WITH_TUNE=y
CT_ARCH_EXCLUSIVE_WITH_CPU=y CT_ARCH_EXCLUSIVE_WITH_CPU=y
CT_ARCH_ARCH="" CT_ARCH_ARCH=""
CT_ARCH_CPU=""
CT_ARCH_TUNE=""
CT_TARGET_CFLAGS="" CT_TARGET_CFLAGS=""
CT_TARGET_LDFLAGS="" CT_TARGET_LDFLAGS=""
CT_ARCH_FLOAT="" # end of Target options
#
# arm other options
#
CT_ARCH_ARM_MODE="arm"
CT_ARCH_ARM_MODE_ARM=y
# CT_ARCH_ARM_MODE_THUMB is not set
# CT_ARCH_ARM_INTERWORKING is not set
CT_ARCH_ARM_EABI_FORCE=y
CT_ARCH_ARM_EABI=y
# #
# Toolchain options # Toolchain options
@ -188,6 +199,7 @@ CT_SYSROOT_DIR_PREFIX=""
CT_WANTS_STATIC_LINK=y CT_WANTS_STATIC_LINK=y
CT_WANTS_STATIC_LINK_CXX=y CT_WANTS_STATIC_LINK_CXX=y
# CT_STATIC_TOOLCHAIN is not set # CT_STATIC_TOOLCHAIN is not set
CT_SHOW_CT_VERSION=y
CT_TOOLCHAIN_PKGVERSION="" CT_TOOLCHAIN_PKGVERSION=""
CT_TOOLCHAIN_BUGURL="" CT_TOOLCHAIN_BUGURL=""
@ -216,74 +228,134 @@ CT_BUILD_SUFFIX=""
# Misc options # Misc options
# #
# CT_TOOLCHAIN_ENABLE_NLS is not set # CT_TOOLCHAIN_ENABLE_NLS is not set
# end of Toolchain options
# #
# Operating System # Operating System
# #
CT_KERNEL_SUPPORTS_SHARED_LIBS=y CT_KERNEL_SUPPORTS_SHARED_LIBS=y
# CT_KERNEL_BARE_METAL is not set
CT_KERNEL_LINUX=y
CT_KERNEL="linux" CT_KERNEL="linux"
CT_KERNEL_VERSION="4.10.8" CT_KERNEL_CHOICE_KSYM="LINUX"
# CT_KERNEL_bare_metal is not set CT_KERNEL_LINUX_SHOW=y
CT_KERNEL_linux=y
CT_KERNEL_bare_metal_AVAILABLE=y
CT_KERNEL_linux_AVAILABLE=y
# CT_KERNEL_LINUX_CUSTOM is not set
CT_KERNEL_V_4_10=y
# CT_KERNEL_V_4_9 is not set
# CT_KERNEL_V_4_4 is not set
# CT_KERNEL_V_4_1 is not set
# CT_KERNEL_V_3_16 is not set
# CT_KERNEL_V_3_12 is not set
# CT_KERNEL_V_3_10 is not set
# CT_KERNEL_V_3_4 is not set
# CT_KERNEL_V_3_2 is not set
CT_KERNEL_windows_AVAILABLE=y
# #
# Common kernel options # Options for linux
# #
CT_SHARED_LIBS=y CT_KERNEL_LINUX_PKG_KSYM="LINUX"
CT_LINUX_DIR_NAME="linux"
CT_LINUX_USE_WWW_KERNEL_ORG=y
# CT_LINUX_USE_ORACLE is not set
CT_LINUX_USE="LINUX"
CT_LINUX_PKG_NAME="linux"
CT_LINUX_SRC_RELEASE=y
# CT_LINUX_SRC_DEVEL is not set
CT_LINUX_PATCH_ORDER="global"
# CT_LINUX_V_5_2 is not set
# CT_LINUX_V_5_1 is not set
# CT_LINUX_V_5_0 is not set
# CT_LINUX_V_4_20 is not set
# CT_LINUX_V_4_19 is not set
# CT_LINUX_V_4_18 is not set
# CT_LINUX_V_4_17 is not set
# CT_LINUX_V_4_16 is not set
# CT_LINUX_V_4_15 is not set
# CT_LINUX_V_4_14 is not set
# CT_LINUX_V_4_13 is not set
# CT_LINUX_V_4_12 is not set
# CT_LINUX_V_4_11 is not set
CT_LINUX_V_4_10=y
# CT_LINUX_V_4_9 is not set
# CT_LINUX_V_4_4 is not set
# CT_LINUX_V_4_1 is not set
# CT_LINUX_V_3_16 is not set
# CT_LINUX_V_3_13 is not set
# CT_LINUX_V_3_12 is not set
# CT_LINUX_V_3_10 is not set
CT_LINUX_VERSION="4.10.17"
CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_LINUX_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_LINUX_SIGNATURE_FORMAT="unpacked/.sign"
CT_LINUX_5_12_or_older=y
CT_LINUX_older_than_5_12=y
CT_LINUX_5_3_or_older=y
CT_LINUX_older_than_5_3=y
CT_LINUX_REQUIRE_older_than_5_3=y
CT_LINUX_later_than_4_8=y
CT_LINUX_4_8_or_later=y
CT_LINUX_later_than_3_7=y
CT_LINUX_3_7_or_later=y
CT_LINUX_REQUIRE_3_7_or_later=y
CT_LINUX_later_than_3_2=y
CT_LINUX_3_2_or_later=y
CT_KERNEL_DEP_RSYNC=y
# #
# linux other options # Linux >=5.3 requires rsync
# #
CT_KERNEL_LINUX_VERBOSITY_0=y CT_KERNEL_LINUX_VERBOSITY_0=y
# CT_KERNEL_LINUX_VERBOSITY_1 is not set # CT_KERNEL_LINUX_VERBOSITY_1 is not set
# CT_KERNEL_LINUX_VERBOSITY_2 is not set # CT_KERNEL_LINUX_VERBOSITY_2 is not set
CT_KERNEL_LINUX_VERBOSE_LEVEL=0 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
CT_KERNEL_LINUX_INSTALL_CHECK=y CT_KERNEL_LINUX_INSTALL_CHECK=y
CT_ALL_KERNEL_CHOICES="BARE_METAL LINUX WINDOWS"
#
# Common kernel options
#
CT_SHARED_LIBS=y
# end of Operating System
# #
# Binary utilities # Binary utilities
# #
CT_ARCH_BINFMT_ELF=y CT_ARCH_BINFMT_ELF=y
CT_BINUTILS_BINUTILS=y
CT_BINUTILS="binutils" CT_BINUTILS="binutils"
CT_BINUTILS_binutils=y CT_BINUTILS_CHOICE_KSYM="BINUTILS"
CT_BINUTILS_BINUTILS_SHOW=y
#
# Options for binutils
#
CT_BINUTILS_BINUTILS_PKG_KSYM="BINUTILS"
CT_BINUTILS_DIR_NAME="binutils"
CT_BINUTILS_USE_GNU=y
# CT_BINUTILS_USE_ORACLE is not set
CT_BINUTILS_USE="BINUTILS"
CT_BINUTILS_PKG_NAME="binutils"
CT_BINUTILS_SRC_RELEASE=y
# CT_BINUTILS_SRC_DEVEL is not set
CT_BINUTILS_PATCH_ORDER="global"
# CT_BINUTILS_V_2_29 is not set
CT_BINUTILS_V_2_28=y
# CT_BINUTILS_V_2_27 is not set
# CT_BINUTILS_V_2_26 is not set
CT_BINUTILS_VERSION="2.28.1"
CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
CT_BINUTILS_2_30_or_older=y
CT_BINUTILS_older_than_2_30=y
CT_BINUTILS_REQUIRE_older_than_2_30=y
CT_BINUTILS_later_than_2_27=y
CT_BINUTILS_2_27_or_later=y
CT_BINUTILS_later_than_2_26=y
CT_BINUTILS_2_26_or_later=y
# #
# GNU binutils # GNU binutils
# #
CT_BINUTILS_VERSION="2.28"
# CT_BINUTILS_SHOW_LINARO is not set
CT_BINUTILS_V_2_28=y
# CT_BINUTILS_V_2_27 is not set
# CT_BINUTILS_V_2_26 is not set
CT_BINUTILS_2_27_or_later=y
CT_BINUTILS_2_26_or_later=y
CT_BINUTILS_2_25_1_or_later=y
CT_BINUTILS_2_25_or_later=y
CT_BINUTILS_2_24_or_later=y
CT_BINUTILS_2_23_2_or_later=y
CT_BINUTILS_HAS_HASH_STYLE=y
CT_BINUTILS_HAS_GOLD=y
CT_BINUTILS_GOLD_SUPPORTS_ARCH=y CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
CT_BINUTILS_GOLD_SUPPORT=y CT_BINUTILS_GOLD_SUPPORT=y
CT_BINUTILS_HAS_PLUGINS=y
CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
CT_BINUTILS_FORCE_LD_BFD_DEFAULT=y CT_BINUTILS_FORCE_LD_BFD_DEFAULT=y
# CT_BINUTILS_LINKER_LD is not set # CT_BINUTILS_LINKER_LD is not set
CT_BINUTILS_LINKER_LD_GOLD=y CT_BINUTILS_LINKER_LD_GOLD=y
# CT_BINUTILS_LINKER_GOLD_LD is not set
CT_BINUTILS_GOLD_INSTALLED=y CT_BINUTILS_GOLD_INSTALLED=y
CT_BINUTILS_GOLD_THREADS=y CT_BINUTILS_GOLD_THREADS=y
CT_BINUTILS_LINKER_BOTH=y CT_BINUTILS_LINKER_BOTH=y
@ -291,35 +363,110 @@ CT_BINUTILS_LINKERS_LIST="ld,gold"
CT_BINUTILS_LD_WRAPPER=y CT_BINUTILS_LD_WRAPPER=y
CT_BINUTILS_LINKER_DEFAULT="bfd" CT_BINUTILS_LINKER_DEFAULT="bfd"
CT_BINUTILS_PLUGINS=y CT_BINUTILS_PLUGINS=y
CT_BINUTILS_RELRO=m
CT_BINUTILS_DETERMINISTIC_ARCHIVES=y
CT_BINUTILS_EXTRA_CONFIG_ARRAY="" CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
# CT_BINUTILS_FOR_TARGET is not set # CT_BINUTILS_FOR_TARGET is not set
CT_ALL_BINUTILS_CHOICES="BINUTILS"
# # end of Binary utilities
# binutils other options
#
# #
# C-library # C-library
# #
CT_LIBC_GLIBC=y
# CT_LIBC_UCLIBC_NG is not set
CT_LIBC="glibc" CT_LIBC="glibc"
CT_LIBC_VERSION="2.17" CT_LIBC_CHOICE_KSYM="GLIBC"
CT_LIBC_glibc=y
# CT_LIBC_uClibc is not set
CT_LIBC_avr_libc_AVAILABLE=y
CT_LIBC_glibc_AVAILABLE=y
CT_THREADS="nptl" CT_THREADS="nptl"
CT_CC_GLIBC_SHOW_LINARO=y CT_LIBC_GLIBC_SHOW=y
# CT_LIBC_GLIBC_V_2_25 is not set
# CT_LIBC_GLIBC_V_2_24 is not set #
# CT_LIBC_GLIBC_V_2_23 is not set # Options for glibc
# CT_LIBC_GLIBC_2_23_or_later=y #
# CT_LIBC_GLIBC_2_20_or_later=y CT_LIBC_GLIBC_PKG_KSYM="GLIBC"
CT_LIBC_GLIBC_2_17_or_later=y CT_GLIBC_DIR_NAME="glibc"
CT_LIBC_mingw_AVAILABLE=y CT_GLIBC_USE_GNU=y
CT_LIBC_musl_AVAILABLE=y # CT_GLIBC_USE_ORACLE is not set
CT_LIBC_newlib_AVAILABLE=y CT_GLIBC_USE="GLIBC"
CT_LIBC_none_AVAILABLE=y CT_GLIBC_PKG_NAME="glibc"
CT_LIBC_uClibc_AVAILABLE=y CT_GLIBC_SRC_RELEASE=y
# CT_GLIBC_SRC_DEVEL is not set
CT_GLIBC_PATCH_ORDER="global"
# CT_GLIBC_V_2_35 is not set
# CT_GLIBC_V_2_34 is not set
# CT_GLIBC_V_2_33 is not set
# CT_GLIBC_V_2_32 is not set
# CT_GLIBC_V_2_31 is not set
# CT_GLIBC_V_2_30 is not set
# CT_GLIBC_V_2_29 is not set
# CT_GLIBC_V_2_28 is not set
# CT_GLIBC_V_2_27 is not set
# CT_GLIBC_V_2_26 is not set
# CT_GLIBC_V_2_25 is not set
# CT_GLIBC_V_2_24 is not set
# CT_GLIBC_V_2_23 is not set
# CT_GLIBC_V_2_19 is not set
CT_GLIBC_V_2_17=y
CT_GLIBC_VERSION="2.17"
CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)"
CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GLIBC_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
CT_GLIBC_SIGNATURE_FORMAT="packed/.sig"
CT_GLIBC_2_34_or_older=y
CT_GLIBC_older_than_2_34=y
CT_GLIBC_2_32_or_older=y
CT_GLIBC_older_than_2_32=y
CT_GLIBC_2_31_or_older=y
CT_GLIBC_older_than_2_31=y
CT_GLIBC_2_30_or_older=y
CT_GLIBC_older_than_2_30=y
CT_GLIBC_2_29_or_older=y
CT_GLIBC_older_than_2_29=y
CT_GLIBC_2_28_or_older=y
CT_GLIBC_older_than_2_28=y
CT_GLIBC_2_27_or_older=y
CT_GLIBC_older_than_2_27=y
CT_GLIBC_2_26_or_older=y
CT_GLIBC_older_than_2_26=y
CT_GLIBC_2_25_or_older=y
CT_GLIBC_older_than_2_25=y
CT_GLIBC_2_24_or_older=y
CT_GLIBC_older_than_2_24=y
CT_GLIBC_2_23_or_older=y
CT_GLIBC_older_than_2_23=y
CT_GLIBC_2_20_or_older=y
CT_GLIBC_older_than_2_20=y
CT_GLIBC_2_17_or_later=y
CT_GLIBC_2_17_or_older=y
CT_GLIBC_later_than_2_14=y
CT_GLIBC_2_14_or_later=y
CT_GLIBC_DEP_KERNEL_HEADERS_VERSION=y
CT_GLIBC_DEP_BINUTILS=y
CT_GLIBC_DEP_GCC=y
CT_GLIBC_DEP_PYTHON=y
CT_GLIBC_SPARC_ALLOW_V7=y
CT_GLIBC_HAS_NPTL_ADDON=y
CT_GLIBC_HAS_PORTS_ADDON=y
CT_GLIBC_HAS_LIBIDN_ADDON=y
CT_GLIBC_USE_PORTS_ADDON=y
CT_GLIBC_USE_NPTL_ADDON=y
# CT_GLIBC_USE_LIBIDN_ADDON is not set
CT_GLIBC_HAS_OBSOLETE_RPC=y
CT_GLIBC_EXTRA_CONFIG_ARRAY=""
CT_GLIBC_CONFIGPARMS=""
CT_GLIBC_EXTRA_CFLAGS=""
CT_GLIBC_ENABLE_OBSOLETE_RPC=y
# CT_GLIBC_DISABLE_VERSIONING is not set
CT_GLIBC_OLDEST_ABI=""
CT_GLIBC_FORCE_UNWIND=y
# CT_GLIBC_LOCALES is not set
# CT_GLIBC_KERNEL_VERSION_NONE is not set
CT_GLIBC_KERNEL_VERSION_AS_HEADERS=y
# CT_GLIBC_KERNEL_VERSION_CHOSEN is not set
CT_GLIBC_MIN_KERNEL="4.10.17"
# CT_GLIBC_ENABLE_COMMON_FLAG is not set
CT_ALL_LIBC_CHOICES="AVR_LIBC BIONIC GLIBC MINGW_W64 MOXIEBOX MUSL NEWLIB NONE UCLIBC_NG"
CT_LIBC_SUPPORT_THREADS_ANY=y CT_LIBC_SUPPORT_THREADS_ANY=y
CT_LIBC_SUPPORT_THREADS_NATIVE=y CT_LIBC_SUPPORT_THREADS_NATIVE=y
@ -329,45 +476,67 @@ CT_LIBC_SUPPORT_THREADS_NATIVE=y
CT_THREADS_NATIVE=y CT_THREADS_NATIVE=y
# CT_CREATE_LDSO_CONF is not set # CT_CREATE_LDSO_CONF is not set
CT_LIBC_XLDD=y CT_LIBC_XLDD=y
# end of C-library
#
# glibc other options
#
CT_LIBC_GLIBC_NEEDS_PORTS=y
CT_LIBC_glibc_family=y
CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
CT_LIBC_GLIBC_CONFIGPARMS=""
CT_LIBC_GLIBC_EXTRA_CFLAGS=""
# CT_LIBC_DISABLE_VERSIONING is not set
CT_LIBC_OLDEST_ABI=""
CT_LIBC_GLIBC_FORCE_UNWIND=y
CT_LIBC_ADDONS_LIST="ports"
# CT_LIBC_LOCALES is not set
# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
CT_LIBC_GLIBC_MIN_KERNEL="4.10.8"
# #
# C compiler # C compiler
# #
CT_CC_CORE_NEEDED=y
CT_CC_SUPPORT_CXX=y
CT_CC_SUPPORT_FORTRAN=y
CT_CC_SUPPORT_ADA=y
CT_CC_SUPPORT_OBJC=y
CT_CC_SUPPORT_OBJCXX=y
CT_CC_SUPPORT_GOLANG=y
CT_CC_GCC=y
CT_CC="gcc" CT_CC="gcc"
CT_CC_CORE_PASSES_NEEDED=y CT_CC_CHOICE_KSYM="GCC"
CT_CC_CORE_PASS_1_NEEDED=y CT_CC_GCC_SHOW=y
CT_CC_CORE_PASS_2_NEEDED=y
CT_CC_gcc=y #
CT_CC_GCC_VERSION="9.3.0" # Options for gcc
# CT_CC_GCC_SHOW_LINARO is not set #
CT_CC_GCC_V_9_3_0=y CT_CC_GCC_PKG_KSYM="GCC"
# CT_CC_GCC_V_5_4_0 is not set CT_GCC_DIR_NAME="gcc"
# CT_CC_GCC_V_4_9_4 is not set CT_GCC_USE_GNU=y
CT_CC_GCC_9_3_or_later=y CT_GCC_USE="GCC"
# CT_CC_GCC_4_9_or_later=y CT_GCC_PKG_NAME="gcc"
CT_CC_GCC_9_or_later=y CT_GCC_SRC_RELEASE=y
CT_CC_GCC_9=y # CT_GCC_SRC_DEVEL is not set
# CT_CC_GCC_6_or_later=y CT_GCC_PATCH_ORDER="global"
# CT_GCC_V_11 is not set
# CT_GCC_V_10 is not set
# CT_GCC_V_9 is not set
CT_GCC_V_8=y
# CT_GCC_V_7 is not set
# CT_GCC_V_6 is not set
# CT_GCC_V_5 is not set
# CT_GCC_V_4_9 is not set
CT_GCC_VERSION="8.5.0"
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GCC_SIGNATURE_FORMAT=""
CT_GCC_11_or_older=y
CT_GCC_older_than_11=y
CT_GCC_10_or_older=y
CT_GCC_older_than_10=y
CT_GCC_9_or_older=y
CT_GCC_older_than_9=y
CT_GCC_later_than_8=y
CT_GCC_8_or_later=y
CT_GCC_later_than_7=y
CT_GCC_7_or_later=y
CT_GCC_later_than_6=y
CT_GCC_6_or_later=y
CT_GCC_later_than_5=y
CT_GCC_5_or_later=y
CT_GCC_later_than_4_9=y
CT_GCC_4_9_or_later=y
CT_CC_GCC_ENABLE_PLUGINS=y CT_CC_GCC_ENABLE_PLUGINS=y
CT_CC_GCC_GOLD=y CT_CC_GCC_GOLD=y
CT_CC_GCC_HAS_LIBMPX=y
CT_CC_GCC_ENABLE_CXX_FLAGS="-I/usr/include -fpermissive" CT_CC_GCC_ENABLE_CXX_FLAGS="-I/usr/include -fpermissive"
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="" CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=""
CT_CC_GCC_EXTRA_CONFIG_ARRAY="" CT_CC_GCC_EXTRA_CONFIG_ARRAY=""
@ -404,121 +573,308 @@ CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set # CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
CT_CC_GCC_LNK_HASH_STYLE="" CT_CC_GCC_LNK_HASH_STYLE=""
CT_CC_GCC_DEC_FLOAT_AUTO=y CT_CC_GCC_DEC_FLOATS_AUTO=y
# CT_CC_GCC_DEC_FLOAT_BID is not set # CT_CC_GCC_DEC_FLOATS_BID is not set
# CT_CC_GCC_DEC_FLOAT_DPD is not set # CT_CC_GCC_DEC_FLOATS_DPD is not set
# CT_CC_GCC_DEC_FLOATS_NO is not set # CT_CC_GCC_DEC_FLOATS_NO is not set
CT_CC_SUPPORT_CXX=y CT_CC_GCC_DEC_FLOATS=""
CT_CC_SUPPORT_FORTRAN=y CT_ALL_CC_CHOICES="GCC"
CT_CC_SUPPORT_JAVA=y
CT_CC_SUPPORT_ADA=y
CT_CC_SUPPORT_OBJC=y
CT_CC_SUPPORT_OBJCXX=y
CT_CC_SUPPORT_GOLANG=y
# #
# Additional supported languages: # Additional supported languages:
# #
CT_CC_LANG_CXX=y CT_CC_LANG_CXX=y
CT_CC_LANG_FORTRAN=y CT_CC_LANG_FORTRAN=y
# CT_CC_LANG_JAVA is not set # end of C compiler
# #
# Debug facilities # Debug facilities
# #
# CT_DEBUG_duma is not set # CT_DEBUG_DUMA is not set
CT_DEBUG_gdb=y CT_DEBUG_GDB=y
CT_DEBUG_GDB_PKG_KSYM="GDB"
CT_GDB_DIR_NAME="gdb"
CT_GDB_PKG_NAME="gdb"
CT_GDB_SRC_RELEASE=y
# CT_GDB_SRC_DEVEL is not set
CT_GDB_PATCH_ORDER="global"
CT_GDB_V_9=y
# CT_GDB_V_8_3 is not set
CT_GDB_VERSION="9.2"
CT_GDB_MIRRORS="$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)"
CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GDB_SIGNATURE_FORMAT=""
CT_GDB_11_or_older=y
CT_GDB_older_than_11=y
CT_GDB_10_or_older=y
CT_GDB_older_than_10=y
CT_GDB_REQUIRE_older_than_10=y
CT_GDB_later_than_8_3=y
CT_GDB_8_3_or_later=y
CT_GDB_later_than_8_0=y
CT_GDB_8_0_or_later=y
CT_GDB_later_than_7_12=y
CT_GDB_7_12_or_later=y
CT_GDB_later_than_7_11=y
CT_GDB_7_11_or_later=y
CT_GDB_CROSS=y CT_GDB_CROSS=y
# CT_GDB_CROSS_STATIC is not set # CT_GDB_CROSS_STATIC is not set
# CT_GDB_CROSS_SIM is not set # CT_GDB_CROSS_SIM is not set
CT_GDB_CROSS_PYTHON=y # CT_GDB_CROSS_PYTHON is not set
CT_GDB_CROSS_PYTHON_BINARY=""
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" CT_GDB_CROSS_EXTRA_CONFIG_ARRAY=""
# CT_GDB_NATIVE is not set # CT_GDB_NATIVE is not set
CT_GDB_GDBSERVER=y CT_GDB_GDBSERVER=y
CT_GDB_GDBSERVER_HAS_IPA_LIB=y # CT_GDB_NATIVE_BUILD_IPA_LIB is not set
# CT_GDB_GDBSERVER_BUILD_IPA_LIB is not set # CT_GDB_NATIVE_STATIC_LIBSTDCXX is not set
CT_GDB_DEP_NO_STD_FUTURE=y
# # CT_DEBUG_LTRACE is not set
# gdb version # CT_DEBUG_STRACE is not set
# CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE"
CT_GDB_VERSION="7.12.1" # end of Debug facilities
# CT_GDB_V_7_12_1 is not set
# CT_GDB_V_7_11_1 is not set
CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set
# #
# Companion libraries # Companion libraries
# #
CT_COMPLIBS_NEEDED=y # CT_COMPLIBS_CHECK is not set
CT_LIBICONV_NEEDED=y # CT_COMP_LIBS_CLOOG is not set
CT_GETTEXT_NEEDED=y CT_COMP_LIBS_EXPAT=y
CT_GMP_NEEDED=y CT_COMP_LIBS_EXPAT_PKG_KSYM="EXPAT"
CT_MPFR_NEEDED=y CT_EXPAT_DIR_NAME="expat"
CT_ISL_NEEDED=y CT_EXPAT_PKG_NAME="expat"
CT_MPC_NEEDED=y CT_EXPAT_SRC_RELEASE=y
# CT_EXPAT_NEEDED=y # CT_EXPAT_SRC_DEVEL is not set
CT_NCURSES_NEEDED=y CT_EXPAT_PATCH_ORDER="global"
CT_COMPLIBS=y CT_EXPAT_V_2_4=y
CT_LIBICONV=y CT_EXPAT_VERSION="2.4.1"
CT_GETTEXT=y CT_EXPAT_MIRRORS="http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION} https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//./_}"
CT_GMP=y CT_EXPAT_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPFR=y CT_EXPAT_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_ISL=y CT_EXPAT_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2 .tar.gz"
CT_MPC=y CT_EXPAT_SIGNATURE_FORMAT=""
# CT_EXPAT=y CT_COMP_LIBS_GETTEXT=y
CT_NCURSES=y CT_COMP_LIBS_GETTEXT_PKG_KSYM="GETTEXT"
# CT_ZLIB is not set CT_GETTEXT_DIR_NAME="gettext"
CT_LIBICONV_V_1_15=y CT_GETTEXT_PKG_NAME="gettext"
# CT_LIBICONV_V_1_14 is not set CT_GETTEXT_SRC_RELEASE=y
CT_LIBICONV_VERSION="1.15" # CT_GETTEXT_SRC_DEVEL is not set
CT_GETTEXT_PATCH_ORDER="global"
# CT_GETTEXT_V_0_21 is not set
# CT_GETTEXT_V_0_20_1 is not set
CT_GETTEXT_V_0_19_8_1=y CT_GETTEXT_V_0_19_8_1=y
CT_GETTEXT_VERSION="0.19.8.1" CT_GETTEXT_VERSION="0.19.8.1"
CT_GMP_V_6_1_2=y CT_GETTEXT_MIRRORS="$(CT_Mirrors GNU gettext)"
CT_GMP_5_0_2_or_later=y CT_GETTEXT_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GETTEXT_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GETTEXT_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.gz"
CT_GETTEXT_SIGNATURE_FORMAT="packed/.sig"
CT_GETTEXT_0_21_or_older=y
CT_GETTEXT_older_than_0_21=y
CT_COMP_LIBS_GMP=y
CT_COMP_LIBS_GMP_PKG_KSYM="GMP"
CT_GMP_DIR_NAME="gmp"
CT_GMP_PKG_NAME="gmp"
CT_GMP_SRC_RELEASE=y
# CT_GMP_SRC_DEVEL is not set
CT_GMP_PATCH_ORDER="global"
# CT_GMP_V_6_2 is not set
CT_GMP_V_6_1=y
CT_GMP_VERSION="6.1.2" CT_GMP_VERSION="6.1.2"
CT_MPFR_V_3_1_5=y CT_GMP_MIRRORS="https://gmplib.org/download/gmp https://gmplib.org/download/gmp/archive $(CT_Mirrors GNU gmp)"
CT_MPFR_VERSION="3.1.5" CT_GMP_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GMP_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GMP_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2"
CT_GMP_SIGNATURE_FORMAT="packed/.sig"
CT_COMP_LIBS_ISL=y
CT_COMP_LIBS_ISL_PKG_KSYM="ISL"
CT_ISL_DIR_NAME="isl"
CT_ISL_PKG_NAME="isl"
CT_ISL_SRC_RELEASE=y
# CT_ISL_SRC_DEVEL is not set
CT_ISL_PATCH_ORDER="global"
# CT_ISL_V_0_24 is not set
# CT_ISL_V_0_23 is not set
# CT_ISL_V_0_22 is not set
# CT_ISL_V_0_21 is not set
# CT_ISL_V_0_20 is not set
# CT_ISL_V_0_19 is not set
# CT_ISL_V_0_18 is not set
# CT_ISL_V_0_17 is not set
# CT_ISL_V_0_16 is not set
CT_ISL_V_0_15=y CT_ISL_V_0_15=y
# CT_ISL_V_0_15_or_later=y
# CT_ISL_V_0_14_or_later=y
CT_ISL_V_0_15_or_later=y
CT_ISL_VERSION="0.15" CT_ISL_VERSION="0.15"
CT_MPC_V_1_0_3=y CT_ISL_MIRRORS="https://libisl.sourceforge.io"
CT_ISL_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_ISL_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_ISL_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
CT_ISL_SIGNATURE_FORMAT=""
CT_ISL_0_18_or_older=y
CT_ISL_older_than_0_18=y
CT_ISL_0_15_or_later=y
CT_ISL_0_15_or_older=y
# CT_COMP_LIBS_LIBELF is not set
CT_COMP_LIBS_LIBICONV=y
CT_COMP_LIBS_LIBICONV_PKG_KSYM="LIBICONV"
CT_LIBICONV_DIR_NAME="libiconv"
CT_LIBICONV_PKG_NAME="libiconv"
CT_LIBICONV_SRC_RELEASE=y
# CT_LIBICONV_SRC_DEVEL is not set
CT_LIBICONV_PATCH_ORDER="global"
# CT_LIBICONV_V_1_16 is not set
CT_LIBICONV_V_1_15=y
CT_LIBICONV_VERSION="1.15"
CT_LIBICONV_MIRRORS="$(CT_Mirrors GNU libiconv)"
CT_LIBICONV_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_LIBICONV_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_LIBICONV_ARCHIVE_FORMATS=".tar.gz"
CT_LIBICONV_SIGNATURE_FORMAT="packed/.sig"
CT_COMP_LIBS_MPC=y
CT_COMP_LIBS_MPC_PKG_KSYM="MPC"
CT_MPC_DIR_NAME="mpc"
CT_MPC_PKG_NAME="mpc"
CT_MPC_SRC_RELEASE=y
# CT_MPC_SRC_DEVEL is not set
CT_MPC_PATCH_ORDER="global"
# CT_MPC_V_1_2 is not set
# CT_MPC_V_1_1 is not set
CT_MPC_V_1_0=y
CT_MPC_VERSION="1.0.3" CT_MPC_VERSION="1.0.3"
# CT_EXPAT_V_2_2_0=y CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
# CT_EXPAT_VERSION="2.2.0" CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MPC_ARCHIVE_FORMATS=".tar.gz"
CT_MPC_SIGNATURE_FORMAT="packed/.sig"
CT_MPC_1_1_0_or_older=y
CT_MPC_older_than_1_1_0=y
CT_COMP_LIBS_MPFR=y
CT_COMP_LIBS_MPFR_PKG_KSYM="MPFR"
CT_MPFR_DIR_NAME="mpfr"
CT_MPFR_PKG_NAME="mpfr"
CT_MPFR_SRC_RELEASE=y
# CT_MPFR_SRC_DEVEL is not set
CT_MPFR_PATCH_ORDER="global"
CT_MPFR_V_3_1=y
CT_MPFR_VERSION="3.1.6"
CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
CT_MPFR_SIGNATURE_FORMAT="packed/.asc"
CT_MPFR_4_0_0_or_older=y
CT_MPFR_older_than_4_0_0=y
CT_MPFR_REQUIRE_older_than_4_0_0=y
CT_COMP_LIBS_NCURSES=y
CT_COMP_LIBS_NCURSES_PKG_KSYM="NCURSES"
CT_NCURSES_DIR_NAME="ncurses"
CT_NCURSES_PKG_NAME="ncurses"
CT_NCURSES_SRC_RELEASE=y
# CT_NCURSES_SRC_DEVEL is not set
CT_NCURSES_PATCH_ORDER="global"
# CT_NCURSES_V_6_2 is not set
# CT_NCURSES_V_6_1 is not set
CT_NCURSES_V_6_0=y CT_NCURSES_V_6_0=y
CT_NCURSES_VERSION="6.0" CT_NCURSES_VERSION="6.0"
CT_NCURSES_MIRRORS="https://invisible-mirror.net/archives/ncurses $(CT_Mirrors GNU ncurses)"
CT_NCURSES_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_NCURSES_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_NCURSES_ARCHIVE_FORMATS=".tar.gz"
CT_NCURSES_SIGNATURE_FORMAT="packed/.sig"
CT_NCURSES_NEW_ABI=y
CT_NCURSES_HOST_CONFIG_ARGS="" CT_NCURSES_HOST_CONFIG_ARGS=""
CT_NCURSES_HOST_DISABLE_DB=y CT_NCURSES_HOST_DISABLE_DB=y
CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100" CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100"
CT_NCURSES_TARGET_CONFIG_ARGS="" CT_NCURSES_TARGET_CONFIG_ARGS=""
# CT_NCURSES_TARGET_DISABLE_DB is not set # CT_NCURSES_TARGET_DISABLE_DB is not set
CT_NCURSES_TARGET_FALLBACKS="" CT_NCURSES_TARGET_FALLBACKS=""
CT_COMP_LIBS_ZLIB=y
# CT_COMP_LIBS_ZLIB_PKG_KSYM="ZLIB"
# Companion libraries common options CT_ZLIB_DIR_NAME="zlib"
# CT_ZLIB_PKG_NAME="zlib"
# CT_COMPLIBS_CHECK is not set CT_ZLIB_SRC_RELEASE=y
# CT_ZLIB_SRC_DEVEL is not set
CT_ZLIB_PATCH_ORDER="global"
CT_ZLIB_V_1_2_12=y
CT_ZLIB_VERSION="1.2.13"
CT_ZLIB_MIRRORS="http://downloads.sourceforge.net/project/libpng/zlib/${CT_ZLIB_VERSION} https://www.zlib.net/"
CT_ZLIB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_ZLIB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_ZLIB_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_ZLIB_SIGNATURE_FORMAT="packed/.asc"
CT_ALL_COMP_LIBS_CHOICES="CLOOG EXPAT GETTEXT GMP GNUPRUMCU ISL LIBELF LIBICONV MPC MPFR NCURSES NEWLIB_NANO PICOLIBC ZLIB"
CT_LIBICONV_NEEDED=y
CT_GETTEXT_NEEDED=y
CT_GMP_NEEDED=y
CT_MPFR_NEEDED=y
CT_ISL_NEEDED=y
CT_MPC_NEEDED=y
CT_EXPAT_NEEDED=y
CT_NCURSES_NEEDED=y
CT_ZLIB_NEEDED=y
CT_LIBICONV=y
CT_GETTEXT=y
CT_GMP=y
CT_MPFR=y
CT_ISL=y
CT_MPC=y
CT_EXPAT=y
CT_NCURSES=y
CT_ZLIB=y
# end of Companion libraries
# #
# Companion tools # Companion tools
# #
# CT_COMP_TOOLS_FOR_HOST is not set # CT_COMP_TOOLS_FOR_HOST is not set
# CT_COMP_TOOLS_autoconf is not set # CT_COMP_TOOLS_AUTOCONF is not set
CT_COMP_TOOLS_automake=y CT_COMP_TOOLS_AUTOMAKE=y
CT_COMP_TOOLS_AUTOMAKE_PKG_KSYM="AUTOMAKE"
CT_AUTOMAKE_DIR_NAME="automake"
CT_AUTOMAKE_PKG_NAME="automake"
CT_AUTOMAKE_SRC_RELEASE=y
# CT_AUTOMAKE_SRC_DEVEL is not set
CT_AUTOMAKE_PATCH_ORDER="global"
# CT_AUTOMAKE_V_1_16 is not set
CT_AUTOMAKE_V_1_15=y CT_AUTOMAKE_V_1_15=y
CT_AUTOMAKE_VERSION="1.15" CT_AUTOMAKE_VERSION="1.15.1"
CT_COMP_TOOLS_libtool=y CT_AUTOMAKE_MIRRORS="$(CT_Mirrors GNU automake)"
CT_LIBTOOL_V_2_4_6=y CT_AUTOMAKE_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_AUTOMAKE_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_AUTOMAKE_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_AUTOMAKE_SIGNATURE_FORMAT="packed/.sig"
# CT_COMP_TOOLS_BISON is not set
# CT_COMP_TOOLS_DTC is not set
CT_COMP_TOOLS_LIBTOOL=y
CT_COMP_TOOLS_LIBTOOL_PKG_KSYM="LIBTOOL"
CT_LIBTOOL_DIR_NAME="libtool"
CT_LIBTOOL_PKG_NAME="libtool"
CT_LIBTOOL_SRC_RELEASE=y
# CT_LIBTOOL_SRC_DEVEL is not set
CT_LIBTOOL_PATCH_ORDER="global"
CT_LIBTOOL_V_2_4=y
CT_LIBTOOL_VERSION="2.4.6" CT_LIBTOOL_VERSION="2.4.6"
# CT_COMP_TOOLS_m4 is not set CT_LIBTOOL_MIRRORS="$(CT_Mirrors GNU libtool)"
# CT_COMP_TOOLS_make is not set CT_LIBTOOL_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_LIBTOOL_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_LIBTOOL_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_LIBTOOL_SIGNATURE_FORMAT="packed/.sig"
# CT_COMP_TOOLS_M4 is not set
CT_COMP_TOOLS_MAKE=y
CT_COMP_TOOLS_MAKE_PKG_KSYM="MAKE"
CT_MAKE_DIR_NAME="make"
CT_MAKE_PKG_NAME="make"
CT_MAKE_SRC_RELEASE=y
# CT_MAKE_SRC_DEVEL is not set
CT_MAKE_PATCH_ORDER="global"
# CT_MAKE_V_4_3 is not set
CT_MAKE_V_4_2=y
CT_MAKE_VERSION="4.2.1"
CT_MAKE_MIRRORS="$(CT_Mirrors GNU make)"
CT_MAKE_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MAKE_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MAKE_ARCHIVE_FORMATS=".tar.bz2 .tar.gz"
CT_MAKE_SIGNATURE_FORMAT="packed/.sig"
# CT_MAKE_GMAKE_SYMLINK is not set
CT_MAKE_GNUMAKE_SYMLINK=y
CT_ALL_COMP_TOOLS_CHOICES="AUTOCONF AUTOMAKE BISON DTC LIBTOOL M4 MAKE"
# end of Companion tools

View File

@ -42,7 +42,7 @@ done
# Adding cross compiler path in PATH env variable # Adding cross compiler path in PATH env variable
export PATH=/usr/xcc/aarch64-unknown-linux-gnueabi/bin:$PATH export PATH=/usr/xcc/aarch64-unknown-linux-gnu/bin:$PATH
OLD_PATH=$PATH OLD_PATH=$PATH
CROSS_PY_BASE=/opt/_internal CROSS_PY_BASE=/opt/_internal
@ -94,8 +94,9 @@ for python_ver in $python_vers; do
export PATH export PATH
./configure --prefix=${TARGET_PYPATH} \ ./configure --prefix=${TARGET_PYPATH} \
--host=aarch64-unknown-linux-gnueabi \ --host=aarch64-unknown-linux-gnu \
--build=x86_64-linux-gnu \ --build=x86_64-linux-gnu \
--with-build-python=yes \
--without-ensurepip \ --without-ensurepip \
ac_cv_buggy_getaddrinfo=no \ ac_cv_buggy_getaddrinfo=no \
ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptmx=yes \