• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Error compiling ESP 32 sketches on older MACs

Q&A Forum › Category: Other › Error compiling ESP 32 sketches on older MACs
0 Vote Up Vote Down
Rainer Mueller-Knoche asked 7 years ago

I have the foloiwing error

“c1plus: internal compiler error: Illegal instruction: 4
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
exit status 1
Fehler beim Kompilieren für das Board DOIT ESP32 DEVKIT V1”

> > I get this error since trying to work with the ESP 32 end of last
> year. I
> > know this error is known and I tried all solutions I found on the
> internet.
I’m using a MAC with OS X El Capitan 10.11.6, 2,8 GHz Intel Core 2
Duo with
4 GB RAM.
I know it is an older system but work fine and I would not throw it
away as it runs still fin bought is January 2008.
I learned it is a simple problem Espressif could solve by activating
a simple switch. Do somw know a solution beside those on the internet

I apreciate any hint

Thanks

Rainer

Question Tags: ESP 32 compile error
1 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

Hi Rainer,
For what you told me in your question, sounds like you already read this GitHub issue: https://github.com/espressif/arduino-esp32/issues/764
That error seems to happen on older Mac computers and according to some readers on GitHub the toolchain installation is not fixed, yet.
Sounds like the solution is to build the Xtensa toolchain on your Mac from strach, but I don’t have any instructions on that exact subject: https://github.com/espressif/esp-idf/issues/1488
The comment by wulph111 might point you in the right direction, but you might need to build the Xtensa toolchain from scratch: http://esp-idf.readthedocs.io/en/latest/get-started/macos-setup-scratch.html
I hope that helps!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.