diff --git a/cmake/zephyr/generic.cmake b/cmake/zephyr/generic.cmake index 2c914d8e..f76d5c9d 100644 --- a/cmake/zephyr/generic.cmake +++ b/cmake/zephyr/generic.cmake @@ -31,3 +31,4 @@ set(CROSS_COMPILE ${one_toolchain_root}/${CROSS_COMPILE_TARGET}/bin/${CROSS_COMP set(SYSROOT_DIR ${one_toolchain_root}/${SYSROOT_TARGET}/${SYSROOT_TARGET}) set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib") set(TOOLCHAIN_HAS_PICOLIBC ON CACHE BOOL "True if toolchain supports picolibc") +set(TOOLCHAIN_HAS_PICOLIBC_DUAL ON CACHE BOOL "True if toolchain supports --picolibc-buildtype=release") diff --git a/configs/common.config b/configs/common.config index 9c317655..093101da 100644 --- a/configs/common.config +++ b/configs/common.config @@ -71,5 +71,6 @@ CT_COMP_LIBS_PICOLIBC=y CT_PICOLIBC_SRC_CUSTOM=y CT_PICOLIBC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/picolibc" CT_LIBC_PICOLIBC_GLOBAL_ATEXIT=y +CT_LIBC_PICOLIBC_ENABLE_TARGET_OPTBOTH=y CT_LIBC_PICOLIBC_EXTRA_SECTIONS=y CT_LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY="-Dthread-local-storage=auto -Derrno-function=zephyr -Dsysroot-install=true -Dsysroot-install-skip-checks=true -Dassert-verbose=false" diff --git a/contrib/linux_build_toolchain.sh b/contrib/linux_build_toolchain.sh old mode 100644 new mode 100755 index d8fdeacf..386014a2 --- a/contrib/linux_build_toolchain.sh +++ b/contrib/linux_build_toolchain.sh @@ -119,7 +119,7 @@ CT_LOG_EXTRA=y CT_LOG_LEVEL_MAX="EXTRA" CT_GDB_CROSS_PYTHON=y CT_GDB_CROSS_PYTHON_VARIANT=y -CT_GDB_CROSS_PYTHON_BINARY="python3.10" +CT_GDB_CROSS_PYTHON_BINARY="python3.12" CT_EXPERIMENTAL=y CT_ALLOW_BUILD_AS_ROOT=y CT_ALLOW_BUILD_AS_ROOT_SURE=y diff --git a/crosstool-ng b/crosstool-ng index 53b5327d..9f07f91c 160000 --- a/crosstool-ng +++ b/crosstool-ng @@ -1 +1 @@ -Subproject commit 53b5327d821a6b6949fa455f14a9631146af897c +Subproject commit 9f07f91c99cce5a0f2ff37986788f57360a9730d diff --git a/picolibc b/picolibc index 21d8fed7..5a0c482e 160000 --- a/picolibc +++ b/picolibc @@ -1 +1 @@ -Subproject commit 21d8fed73c34bfaf406ebedab2db46474baa1f20 +Subproject commit 5a0c482eb59c72dadae52eff54c867d2b3a02b7b