osx-cross / homebrew-avr

Homebrew AVR Toolchain
BSD 2-Clause "Simplified" License
396 stars 79 forks source link

avr-gcc@12 make BOOT_LDFLAGS #310

Closed orfeas35 closed 1 year ago

orfeas35 commented 1 year ago

Hello there I'am trying to install avr-gcc@12 via brew on macos 12.5 on Apple M1 Pro and I am getting this error.

==> make BOOT_LDFLAGS=-Wl,-headerpad_max_install_names
Last 15 lines from /Users/orfeasmoraitis/Library/Logs/Homebrew/avr-gcc@12/02.make:
checking whether assembler supports CFI directives... yes
checking for target glibc version... 0.0
checking for __attribute__((visibility("hidden")))... yes
checking for .cfi_sections .debug_frame... yes
checking whether the target assembler supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... yes
checking for init priority support... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating auto-target.h
config.status: executing default commands
Adding multilib support to Makefile in ../../../../../libgcc
with_multisubdir=avrtiny/long-double32
make: *** [all] Error 2
jearbear1 commented 1 year ago

I wanted to comment and follow this chain because I am also getting the same error.

jearbear1 commented 1 year ago

Commenting to say that on my M1 Machine I was able to make install avr-gcc@12 after updating to OSX Ventura.

ladislas commented 1 year ago

@orfeas35 I'll close the issue for now. feel free to reopen if it still doesn't work