Opened 3 months ago

Last modified 3 months ago

#62356 new enhancement

gdb: add arm64 support

Reported by: platipodium (Carsten Lemmen) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: arm64 Cc:
Port: gdb


On Big Sur/arm64, installing gdb results in unwanted reinstallation of all dependencies with the +universal variant

 port install gdb
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.16_1+universal.darwin_20.arm64-x86_64.tbz2.rmd160 from
--->  Installing libiconv @1.16_1+universal
--->  Cleaning libiconv
--->  Deactivating libiconv @1.16_1
--->  Cleaning libiconv
--->  Activating libiconv @1.16_1+universal
--->  Cleaning libiconv
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-6.2_1+universal.darwin_20.arm64-x86_64.tbz2 from

.... and so forth for all dependencies boehmgc, expat, gettext, libiconv, ncurses, zlib

Change History (1)

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

Keywords: universal Big Sur removed
Summary: gdb erroneously installs +universal variants of dependenciesgdb: add arm64 support
Type: defectenhancement

This is because gdb sets supported_archs x86_64 i386. On an Apple Silicon system, that means that gdb will be built as x86_64, and thus all dependencies need to be universal.

I'll leave this open as a request to add native arm64 support.

Note: See TracTickets for help on using tickets.