Page 1 of 1

All builds on macOS broken

Posted: Tue May 14, 2024 12:20 pm
by Luigi
Hello, I'm copy/pasting the GitHub issue:

## Bug Report

Users were able to build the devkitPro gba-examples on GCC 13.2 on macOS. I was one of them. I can no longer.

### What's the issue you encountered?

After updating to the latest devkitARM GCC 14.1, I experience this error when running make in the aforementioned project:

Code: Select all

$ make
mbv2print.c
linking cartridge
/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/14.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/devkitARM/bin/../libexec/gcc/arm-none-eabi/14.1.0/liblto_plugin.so: error loading plugin: dlsym(0x9afe6050, _onload): symbol not found
collect2: error: ld returned 1 exit status
make[2]: *** [/Users/isaac/sources/gba-examples/mbv2/mbv2print/mbv2print.elf] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 1
This appears to be a regression.

### How can the issue be reproduced?

This only happens on macOS. Within a Windows VM and a Linux VM I was unable to reproduce the issue.

Clone the examples and run `make`.

### Environment?

- What host OS are you using?

Code: Select all

OS: macOS 14.4.1 23E224 arm64
Host: MacBookPro18,2
 
- Official release or unofficial/self-compiled build:
- Official

### Additional context?

- Additional info about your environment:
- Happens on other macbooks I and others have tested on, seems to be unique to macOS

Re: All builds on macOS broken

Posted: Wed May 15, 2024 12:49 pm
by Atrill
Same issue. Hovewer, I'm using Intel-based machine. Not found in instructions any way to install version for my processor.

Model: Retina 5K, 27-inch, 2020
OS: 14.4.1 (23E224), Sonoma
Processor: 3,3 GHz 6-Core Intel Core i5

Re: All builds on macOS broken

Posted: Fri May 17, 2024 2:32 pm
by WinterMute
I've managed to track down the issue and implemented a fix that works for now. macOS users should be able to update and get a working devkitARM (r64-3). Apologies for the inconvenience.