Opened 20 months ago

Last modified 2 months ago

#67163 new defect

m68k-elf-gcc: fails to build on macOS/arm64 13.2.1 (config.sub: invalid option -apple-darwin22.3.0)

Reported by: tmcintos Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: m68k-elf-gcc

Description (last modified by tmcintos)

m68k-elf-gcc fails with the error:

make: *** No rule to make target `all'.  Stop.`

The Makefile exists in the work directory, but is empty.

The key errors seem to be:

:info:configure checking host system type... config.sub: invalid option -apple-darwin22.3.0
1190	:info:configure Try `config.sub --help' for more information.
1191	:info:configure checking target system type... m68k-unknown-elf
1192	:info:configure checking build system type... config.sub: invalid option -apple-darwin22.3.0
1193	:info:configure Try `config.sub --help' for more information.

Attachments (1)

main.log (166.5 KB) - added by tmcintos 20 months ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 20 months ago by tmcintos

Attachment: main.log added

main.log

comment:1 Changed 20 months ago by tmcintos

Description: modified (diff)
Summary: m68k-elf-gcc: fails to build on macOS/arm64 13.2.1 (make: *** No rule to make target `all'. Stop.)m68k-elf-gcc: fails to build on macOS/arm64 13.2.1 (config.sub: invalid option -apple-darwin22.3.0)

comment:2 Changed 20 months ago by tmcintos

Description: modified (diff)

comment:3 Changed 20 months ago by tmcintos

Description: modified (diff)

comment:4 Changed 20 months ago by tmcintos

Description: modified (diff)

comment:5 Changed 20 months ago by tmcintos

Note: I was able to successfully install i386-elf-gcc on the same system. That port is based on a much later version of gcc:

/opt/local/bin/i386-elf-gcc --version
i386-elf-gcc (GCC) 12.2.0

whereas this port is still using GCC 3.4.6.

See also #67162 for mips-elf-gcc which is similarly out of date.

comment:6 Changed 20 months ago by jmroot (Joshua Root)

Even if you fix this error, there are a bunch of other ones including implicit declarations. Updating the port to a newer gcc version is indeed likely to be the easiest path forward.

comment:7 Changed 2 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.