platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
138 stars 105 forks source link

macOS will soon drop 32-bit support #100

Closed tiferrei closed 5 years ago

tiferrei commented 6 years ago

What kind of issue is this?

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system: macOS 10.14 Beta (18A293u)

PlatformIO Version (platformio --version): 3.5.3

Description of problem

macOS Mojave drops support for 32 bit binaries, the atmelavr toolchain seems to be almost all 32 bit, which means that every time I compile something I get:

screenshot 2018-06-18 at 16 45 09

Here's a list of all the platformio binaries the system has complained about so far:

screenshot 2018-06-18 at 16 45 37

More info here: https://support.apple.com/en-gb/HT208436

Steps to Reproduce

  1. Install Mojave
  2. platformio run

Additional info

Everything still works for now, this is more of a deprecation warning. Is there any way I can fix this?

Thanks, Tiago

ivankravets commented 5 years ago

Should be fixed with the latest release.

MacWyznawca commented 5 years ago

I have the current version (there is no newer version according to platform update) and still macOS issues 32-bit warnings.

MacWyznawca commented 5 years ago

But my problem is with cc1plus command. It's runing when I complile AVR core (no Arduino).

noisymime commented 5 years ago

I'm still seeing this with the latest versions installed also. The following utilities (at least) are running 32-bit versions: avr-as avr-ld avr-c++ collect2 cc1plus lto1

All of these are executed when doing a compile. Additionally the avr-dude binary is 32-bit. I've also confirmed with the developer preview that compiling and uploading using the currently published tools does not work under macOS 10.15

Versions: PIO: 3.6.7 atmelavr: @ 1.14.0 toolchain-atmelavr: @ 1.50400.0 framework-arduinoavr: @ 4.0.0 tool-avrdude: @ 1.60300.190424

ivankravets commented 5 years ago

Atmel AVR toolchains (Windows, Linux 32/64, macOS) has been updated to the latest official version by Microchip:

Also, patches for Atmega328PB were applied using http://packs.download.atmel.com/

Please update PlatformIO packages via $ pio update.

noisymime commented 5 years ago

Thanks @ivankravets, I can confirm all compile tools are working after updating to 1.50400.180928 of toolchain-atmelavr

avr-dude from the tool-avrdude package remains 32-bit though. Does this need a separate issue over at https://github.com/platformio/platform-atmelavr/ ?

ivankravets commented 5 years ago

Yes, please create a separate issue for avrdude.