coolsnowwolf-lede/toolchain
Georgi Valkov 72bab93bc3 toolchain/gcc: fix build errors on macOS with Xcode 15.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:550:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
    _LIBCPP_INLINE_VISIBILITY
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:891:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
 #  define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:870:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
          __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))

Fixed using backport of upstream commits [1-2] as discussed here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111632#c21

[1] Include safe-ctype.h after C++ standard headers, to avoid over-poisoning
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9970b576b7e4ae337af1268395ff221348c4b34a

[2] libcc1: fix <vector> include
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5213047b1d50af63dfabb5e5649821a6cb157e33

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-12-02 18:56:09 +08:00
..
binutils tools/zstd: update to 1.5.5 2024-01-14 21:47:34 +08:00
fortify-headers build: prefer HTTPS if available (for packages) 2022-10-07 12:33:08 +08:00
gcc toolchain/gcc: fix build errors on macOS with Xcode 15.3 2024-12-02 18:56:09 +08:00
gdb toolchain: gdb: Add optional python support 2024-01-12 13:28:00 +08:00
glibc toolchain: glibc: Update to glibc 2.37 2024-01-11 11:40:01 +08:00
kernel-headers add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
musl toolchain/musl: add support for renameat2() 2024-06-25 13:45:16 +08:00
nasm treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
wrapper update source 2017-09-06 19:19:45 +08:00
build_version sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
Config.in toolchain: gdb: fix optional python support 2024-01-20 21:43:17 +08:00
info.mk update source 2017-09-06 19:19:45 +08:00
Makefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00