lede/toolchain/gcc/patches-11.x
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
..
002-case_insensitive.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
010-documentation.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch toolchain/gcc: fix build errors on macOS with Xcode 15.3 2024-12-02 18:56:09 +08:00
110-Fix-MIPS-PR-84790.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
230-musl_libssp.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
300-mips_Os_cpu_rtx_cost_model.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
400-libsanitizer-cherry-pick-9cf13067cb5088626ba7-from-u.patch treewide: sync with upstream (#10658) 2022-12-23 02:09:34 +08:00
810-arm-softfloat-libgcc.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
820-libgcc_pic.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
840-armv4_pass_fix-v4bx_to_ld.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
850-use_shared_libgcc.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
851-libgcc_no_compat.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
870-ppc_no_crtsavres.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
881-no_tm_section.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
900-bad-mips16-crt.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
910-mbsd_multi.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
920-specs_nonfatal_getenv.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
931-libffi-fix-MIPS-softfloat-build-issue.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
960-gotools-fix-compilation-when-making-cross-compiler.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
970-macos_arm64-building-fix.patch Revert "Revert "toolchain: gcc: improve patch handling by introducing major version"" 2022-10-24 14:29:05 +08:00
980-libiberty-set_32 call.patch toolchain: fix gcc 11 build error with host gcc-14 2024-11-22 10:43:46 +08:00