Opened 2 months ago

Closed 7 weeks ago

#70754 closed defect (fixed)

arm-none-eabi-gcc @13.2.0_0: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces

Reported by: gounselor (Michael Stiller) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia arm64 Cc:
Port: arm-none-eabi-gcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

arm-none-eabi-gcc-13.2.0_0.darwin_24.arm64.tbz2 fails to build on macOS Sequoia 15.0 (24A335) (M1 CPU)

Xcode command line tools are freshly installed:

cc --version
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin24.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I will attach the log file.

Attachments (1)

main.log.bz2 (135.1 KB) - added by jmroot (Joshua Root) 2 months ago.

Download all attachments as: .zip

Change History (5)

Changed 2 months ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Owner: set to judaew
Status: newassigned

comment:2 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia arm64 added; Sequoia ARM64 removed
Summary: arm-none-eabi-gcc @13.2.0_0.darwin_24.arm64: build fails on macOS Sequoia 15.0 (24A335)arm-none-eabi-gcc @13.2.0_0: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces

Log says:

:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__locale:496:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
:info:build   496 |   _LIBCPP_HIDE_FROM_ABI char_type toupper(char_type __c) const { return do_toupper(__c); }
:info:build       |   ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__config:874:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
:info:build   874 |           __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
:info:build       |                          ^

comment:4 Changed 7 weeks ago by markmentovai (Mark Mentovai)

Resolution: fixed
Status: assignedclosed

In 1e0eee903ec34ab7a0a8182384fdef0f80135509/macports-ports (master):

arm-none-eabi-gcc: update to 14.2.0

This makes it possible to build arm-none-eabi-gcc using the Xcode 16
toolchain, enabling macOS 15 support. gcc 14 is currently the only gcc
version that can build under Xcode 16/macOS 15.

Closes: #70754

Note: See TracTickets for help on using tickets.