Skip to content

Commit

Permalink
picolibc: Pull in ARC release build fix
Browse files Browse the repository at this point in the history
In release builds, several targets would get both asm and C versions
of strchr included, which is a fatal picolibc build error. Pull
in the fix for that.

Signed-off-by: Keith Packard <[email protected]>
  • Loading branch information
keith-packard committed Oct 11, 2024
1 parent 26590a0 commit 6fcbb43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/linux_build_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion picolibc
Submodule picolibc updated 48 files
+13 −18 .github/do-linux
+49 −0 .github/do-test-noopt
+1 −1 .github/linux-files.txt
+3 −3 .github/linux-packages.txt
+1 −1 CMakeLists.txt
+1 −0 cmake/TC-clang-thumbv6m.cmake
+1 −0 cmake/TC-clang-thumbv7m.cmake
+8 −1 meson.build
+2 −0 newlib/libc/errno/errno.c
+3 −3 newlib/libc/include/machine/ieeefp.h
+13 −0 newlib/libc/locale/locale.c
+29 −3 newlib/libc/machine/aarch64/machine/fenv.h
+26 −4 newlib/libc/machine/arc/strchr-stub.c
+4 −4 newlib/libc/machine/arm/machine/fenv.h
+4 −4 newlib/libc/machine/arm/machine/math.h
+62 −62 newlib/libc/machine/arm/memchr.S
+1 −1 newlib/libc/machine/arm/memcpy-armv7a.S
+3 −3 newlib/libc/machine/arm/memcpy-armv7m.S
+1 −1 newlib/libc/machine/arm/memset.S
+1 −1 newlib/libc/machine/arm/memset.c
+2 −1 newlib/libc/stdio/vfscanf.c
+4 −0 newlib/libc/tinystdio/conv_flt.c
+1 −1 newlib/libm/machine/arm/s_ceil.c
+1 −1 newlib/libm/machine/arm/s_fabs.c
+1 −1 newlib/libm/machine/arm/s_floor.c
+1 −1 newlib/libm/machine/arm/s_nearbyint.c
+1 −1 newlib/libm/machine/arm/s_rint.c
+1 −1 newlib/libm/machine/arm/s_round.c
+1 −1 newlib/libm/machine/arm/s_sqrt.c
+1 −1 newlib/libm/machine/arm/s_trunc.c
+1 −1 newlib/libm/machine/arm/sf_ceil.c
+1 −1 newlib/libm/machine/arm/sf_fabs.c
+1 −1 newlib/libm/machine/arm/sf_floor.c
+1 −1 newlib/libm/machine/arm/sf_nearbyint.c
+1 −1 newlib/libm/machine/arm/sf_rint.c
+1 −1 newlib/libm/machine/arm/sf_round.c
+1 −1 newlib/libm/machine/arm/sf_sqrt.c
+1 −1 newlib/libm/machine/arm/sf_trunc.c
+8 −0 picocrt/machine/aarch64/crt0.c
+3 −3 picocrt/machine/arm/crt0.c
+7 −7 scripts/cross-clang-aarch64-none-elf.txt
+46 −0 scripts/cross-clang-arm-none-eabi.txt
+2 −2 scripts/cross-clang-riscv64-unknown-elf.txt
+2 −2 scripts/cross-clang-rv32imafdc-unknown-elf.txt
+1 −1 scripts/do-clang-aarch64-configure
+1 −1 scripts/do-clang-arm-configure
+18 −1 scripts/run-arm
+14 −3 test/math_errhandling_tests.c

0 comments on commit 6fcbb43

Please sign in to comment.