Skip to content

Commit

Permalink
toolchain: disable TM using config instead of patch
Browse files Browse the repository at this point in the history
JIRA: RTOS-927
  • Loading branch information
badochov committed Oct 1, 2024
1 parent bb39f7d commit 21479c2
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 15 deletions.
8 changes: 3 additions & 5 deletions toolchain/build-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ if command -v "${TARGET}-gcc" > /dev/null; then
exit 1
fi

# old legacy versions of the compiler:
#BINUTILS=binutils-2.28
#GCC=gcc-7.1.0

BINUTILS=binutils-2.43
GCC=gcc-14.2.0

Expand Down Expand Up @@ -139,6 +135,7 @@ build_gcc_stage1() {
# --enable-initfini-array -> force init/fini array support instead of .init .fini sections
# --disable-decimal-float -> not relevant for other than i386 and PowerPC
# --disable-libquadmath -> not using fortran and quad floats
# --disable-tm-clone-registry -> no support for Transactional Memory
# --enable-threads=posix -> enable POSIX threads


Expand All @@ -153,7 +150,8 @@ build_gcc_stage1() {
--disable-decimal-float \
--disable-libquadmath \
--disable-libssp --disable-nls \
--enable-threads=posix
--enable-threads=posix \
--disable-tm-clone-registry

make all-gcc

Expand Down
10 changes: 0 additions & 10 deletions toolchain/gcc-14.2.0-04-disable_tm.patch

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 21479c2

Please sign in to comment.