Skip to content

Commit

Permalink
xtensa-*-linux-uclibcfdpic: update versions
Browse files Browse the repository at this point in the history
binutils based on 2.42, uclibc based on 1.0.46 and gcc based on
gcc-14-9480 with TLS and NPTL support.
Disable RELRO default in binutils.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
jcmvbkbc committed Mar 15, 2024
1 parent f6bc711 commit 4760cbb
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 28 deletions.
11 changes: 6 additions & 5 deletions samples/xtensa-dc233c-linux-uclibcfdpic/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ CT_TARGET_CFLAGS="-mauto-litpools -mfdpic -Os"
CT_TARGET_LDFLAGS="-mfdpic"
CT_TARGET_VENDOR="dc233c"
CT_KERNEL_LINUX=y
CT_LINUX_SRC_DEVEL=y
CT_LINUX_DEVEL_BRANCH="v6.6"
CT_ARCH_BINFMT_FDPIC=y
CT_BINUTILS_SRC_DEVEL=y
CT_BINUTILS_DEVEL_URL="https://github.com/jcmvbkbc/binutils-gdb-xtensa.git"
CT_BINUTILS_DEVEL_BRANCH="xtensa-2.41-fdpic"
CT_BINUTILS_DEVEL_BRANCH="xtensa-2.42-fdpic"
CT_BINUTILS_PLUGINS=y
# CT_BINUTILS_RELRO is not set
CT_LIBC_UCLIBC_NG=y
CT_UCLIBC_NG_SRC_DEVEL=y
CT_UCLIBC_NG_DEVEL_URL="https://github.com/jcmvbkbc/uclibc-ng-xtensa.git"
CT_UCLIBC_NG_DEVEL_BRANCH="xtensa-1.0.45-fdpic"
CT_UCLIBC_NG_DEVEL_BRANCH="xtensa-1.0.46-fdpic"
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/xtensa-dc233c-linux-uclibcfdpic/uclibc.config"
CT_LIBC_UCLIBC_IPV6=y
CT_LIBC_UCLIBC_WCHAR=y
CT_THREADS_LT=y
CT_GCC_SRC_DEVEL=y
CT_GCC_DEVEL_URL="https://github.com/jcmvbkbc/gcc-xtensa.git"
CT_GCC_DEVEL_BRANCH="xtensa-14-8789-fdpic"
# CT_CC_GCC_CONFIG_TLS is not set
CT_GCC_DEVEL_BRANCH="xtensa-14-9480-fdpic"
# CT_CC_GCC_SJLJ_EXCEPTIONS is not set
12 changes: 8 additions & 4 deletions samples/xtensa-dc233c-linux-uclibcfdpic/uclibc.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# uClibc-ng 1.0.44 C Library Configuration
# uClibc-ng 1.0.46 C Library Configuration
#
# TARGET_aarch64 is not set
# TARGET_alpha is not set
Expand Down Expand Up @@ -68,6 +68,7 @@ HAVE_DOT_CONFIG=y
#
DOPIC=y
ARCH_HAS_UCONTEXT=y
HAVE_LDSO=y
HAVE_SHARED=y
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
LDSO_LDD_SUPPORT=y
Expand All @@ -86,10 +87,12 @@ LDSO_LD_LIBRARY_PATH=y
UCLIBC_CTOR_DTOR=y
LDSO_GNU_HASH_SUPPORT=y
# HAS_NO_THREADS is not set
UCLIBC_HAS_LINUXTHREADS=y
# UCLIBC_HAS_THREADS_NATIVE is not set
# UCLIBC_HAS_LINUXTHREADS is not set
UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_TLS=y
# PTHREADS_DEBUG_SUPPORT is not set
PTHREADS_STACK_DEFAULT_SIZE=16384
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
MALLOC=y
Expand Down Expand Up @@ -118,6 +121,7 @@ UCLIBC_HAS_TZ_FILE=y
UCLIBC_HAS_TZ_FILE_READ_MANY=y
UCLIBC_TZ_FILE_PATH="/etc/TZ"
UCLIBC_FALLBACK_TO_ETC_LOCALTIME=y
# UCLIBC_USE_TIME64 is not set

#
# Advanced Library Settings
Expand Down Expand Up @@ -166,6 +170,7 @@ UCLIBC_DNSRAND_MODE_PRNGPLUS=y
#
UCLIBC_HAS_STRING_GENERIC_OPT=y
UCLIBC_HAS_STRING_ARCH_OPT=y
UCLIBC_HAS_STDIO_FUTEXES=y
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
UCLIBC_HAS_CTYPE_UNSAFE=y
Expand Down Expand Up @@ -239,7 +244,6 @@ UCLIBC_BUILD_NOEXECSTACK=y
CROSS_COMPILER_PREFIX=""
UCLIBC_EXTRA_CFLAGS=""
DODEBUG=y
# DODEBUG_PT is not set
# DOASSERTS is not set
SUPPORT_LD_DEBUG=y
# SUPPORT_LD_DEBUG_EARLY is not set
Expand Down
13 changes: 7 additions & 6 deletions samples/xtensa-esp32-linux-uclibcfdpic/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ CT_TARGET_CFLAGS="-mauto-litpools -mfdpic -Os"
CT_TARGET_LDFLAGS="-mfdpic"
CT_TARGET_VENDOR="esp32"
CT_KERNEL_LINUX=y
CT_LINUX_SRC_DEVEL=y
CT_LINUX_DEVEL_BRANCH="v6.6"
CT_ARCH_BINFMT_FDPIC=y
CT_BINUTILS_SRC_DEVEL=y
CT_BINUTILS_DEVEL_URL="https://github.com/jcmvbkbc/binutils-gdb-xtensa.git"
CT_BINUTILS_DEVEL_BRANCH="xtensa-2.41-fdpic"
CT_BINUTILS_DEVEL_BRANCH="xtensa-2.42-fdpic"
CT_BINUTILS_PLUGINS=y
# CT_BINUTILS_RELRO is not set
CT_LIBC_UCLIBC_NG=y
CT_UCLIBC_NG_SRC_DEVEL=y
CT_UCLIBC_NG_DEVEL_URL="https://github.com/jcmvbkbc/uclibc-ng-xtensa.git"
CT_UCLIBC_NG_DEVEL_BRANCH="xtensa-1.0.45-fdpic"
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/xtensa-esp32s3-linux-uclibcfdpic/uclibc.config"
CT_UCLIBC_NG_DEVEL_BRANCH="xtensa-1.0.46-fdpic"
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/xtensa-esp32-linux-uclibcfdpic/uclibc.config"
CT_LIBC_UCLIBC_IPV6=y
CT_LIBC_UCLIBC_WCHAR=y
CT_THREADS_LT=y
CT_GCC_SRC_DEVEL=y
CT_GCC_DEVEL_URL="https://github.com/jcmvbkbc/gcc-xtensa.git"
CT_GCC_DEVEL_BRANCH="xtensa-14-8789-fdpic"
# CT_CC_GCC_CONFIG_TLS is not set
CT_GCC_DEVEL_BRANCH="xtensa-14-9480-fdpic"
# CT_CC_GCC_SJLJ_EXCEPTIONS is not set
12 changes: 8 additions & 4 deletions samples/xtensa-esp32-linux-uclibcfdpic/uclibc.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# uClibc-ng 1.0.42 C Library Configuration
# uClibc-ng 1.0.46 C Library Configuration
#
# TARGET_aarch64 is not set
# TARGET_alpha is not set
Expand Down Expand Up @@ -68,6 +68,7 @@ HAVE_DOT_CONFIG=y
#
DOPIC=y
ARCH_HAS_UCONTEXT=y
HAVE_LDSO=y
HAVE_SHARED=y
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
LDSO_LDD_SUPPORT=y
Expand All @@ -86,10 +87,12 @@ LDSO_LD_LIBRARY_PATH=y
UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
# HAS_NO_THREADS is not set
UCLIBC_HAS_LINUXTHREADS=y
# UCLIBC_HAS_THREADS_NATIVE is not set
# UCLIBC_HAS_LINUXTHREADS is not set
UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_TLS=y
# PTHREADS_DEBUG_SUPPORT is not set
PTHREADS_STACK_DEFAULT_SIZE=16384
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
MALLOC=y
Expand Down Expand Up @@ -118,6 +121,7 @@ UCLIBC_HAS_TZ_FILE=y
UCLIBC_HAS_TZ_FILE_READ_MANY=y
UCLIBC_TZ_FILE_PATH="/etc/TZ"
UCLIBC_FALLBACK_TO_ETC_LOCALTIME=y
# UCLIBC_USE_TIME64 is not set

#
# Advanced Library Settings
Expand Down Expand Up @@ -165,6 +169,7 @@ UCLIBC_DNSRAND_MODE_PRNGPLUS=y
#
UCLIBC_HAS_STRING_GENERIC_OPT=y
UCLIBC_HAS_STRING_ARCH_OPT=y
UCLIBC_HAS_STDIO_FUTEXES=y
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
UCLIBC_HAS_CTYPE_UNSAFE=y
Expand Down Expand Up @@ -240,7 +245,6 @@ UCLIBC_BUILD_NOEXECSTACK=y
CROSS_COMPILER_PREFIX=""
UCLIBC_EXTRA_CFLAGS=""
DODEBUG=y
# DODEBUG_PT is not set
# DOASSERTS is not set
SUPPORT_LD_DEBUG=y
# SUPPORT_LD_DEBUG_EARLY is not set
Expand Down
11 changes: 6 additions & 5 deletions samples/xtensa-esp32s3-linux-uclibcfdpic/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ CT_TARGET_CFLAGS="-mauto-litpools -mfdpic -Os"
CT_TARGET_LDFLAGS="-mfdpic"
CT_TARGET_VENDOR="esp32s3"
CT_KERNEL_LINUX=y
CT_LINUX_SRC_DEVEL=y
CT_LINUX_DEVEL_BRANCH="v6.6"
CT_ARCH_BINFMT_FDPIC=y
CT_BINUTILS_SRC_DEVEL=y
CT_BINUTILS_DEVEL_URL="https://github.com/jcmvbkbc/binutils-gdb-xtensa.git"
CT_BINUTILS_DEVEL_BRANCH="xtensa-2.41-fdpic"
CT_BINUTILS_DEVEL_BRANCH="xtensa-2.42-fdpic"
CT_BINUTILS_PLUGINS=y
# CT_BINUTILS_RELRO is not set
CT_LIBC_UCLIBC_NG=y
CT_UCLIBC_NG_SRC_DEVEL=y
CT_UCLIBC_NG_DEVEL_URL="https://github.com/jcmvbkbc/uclibc-ng-xtensa.git"
CT_UCLIBC_NG_DEVEL_BRANCH="xtensa-1.0.45-fdpic"
CT_UCLIBC_NG_DEVEL_BRANCH="xtensa-1.0.46-fdpic"
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/xtensa-esp32s3-linux-uclibcfdpic/uclibc.config"
CT_LIBC_UCLIBC_IPV6=y
CT_LIBC_UCLIBC_WCHAR=y
CT_THREADS_LT=y
CT_GCC_SRC_DEVEL=y
CT_GCC_DEVEL_URL="https://github.com/jcmvbkbc/gcc-xtensa.git"
CT_GCC_DEVEL_BRANCH="xtensa-14-8789-fdpic"
# CT_CC_GCC_CONFIG_TLS is not set
CT_GCC_DEVEL_BRANCH="xtensa-14-9480-fdpic"
# CT_CC_GCC_SJLJ_EXCEPTIONS is not set
12 changes: 8 additions & 4 deletions samples/xtensa-esp32s3-linux-uclibcfdpic/uclibc.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# uClibc-ng 1.0.42 C Library Configuration
# uClibc-ng 1.0.46 C Library Configuration
#
# TARGET_aarch64 is not set
# TARGET_alpha is not set
Expand Down Expand Up @@ -68,6 +68,7 @@ HAVE_DOT_CONFIG=y
#
DOPIC=y
ARCH_HAS_UCONTEXT=y
HAVE_LDSO=y
HAVE_SHARED=y
# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
LDSO_LDD_SUPPORT=y
Expand All @@ -86,10 +87,12 @@ LDSO_LD_LIBRARY_PATH=y
UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
# HAS_NO_THREADS is not set
UCLIBC_HAS_LINUXTHREADS=y
# UCLIBC_HAS_THREADS_NATIVE is not set
# UCLIBC_HAS_LINUXTHREADS is not set
UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_TLS=y
# PTHREADS_DEBUG_SUPPORT is not set
PTHREADS_STACK_DEFAULT_SIZE=16384
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
MALLOC=y
Expand Down Expand Up @@ -118,6 +121,7 @@ UCLIBC_HAS_TZ_FILE=y
UCLIBC_HAS_TZ_FILE_READ_MANY=y
UCLIBC_TZ_FILE_PATH="/etc/TZ"
UCLIBC_FALLBACK_TO_ETC_LOCALTIME=y
# UCLIBC_USE_TIME64 is not set

#
# Advanced Library Settings
Expand Down Expand Up @@ -165,6 +169,7 @@ UCLIBC_DNSRAND_MODE_PRNGPLUS=y
#
UCLIBC_HAS_STRING_GENERIC_OPT=y
UCLIBC_HAS_STRING_ARCH_OPT=y
UCLIBC_HAS_STDIO_FUTEXES=y
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
UCLIBC_HAS_CTYPE_UNSAFE=y
Expand Down Expand Up @@ -240,7 +245,6 @@ UCLIBC_BUILD_NOEXECSTACK=y
CROSS_COMPILER_PREFIX=""
UCLIBC_EXTRA_CFLAGS=""
DODEBUG=y
# DODEBUG_PT is not set
# DOASSERTS is not set
SUPPORT_LD_DEBUG=y
# SUPPORT_LD_DEBUG_EARLY is not set
Expand Down

0 comments on commit 4760cbb

Please sign in to comment.