-
Notifications
You must be signed in to change notification settings - Fork 13.3k
xtensa-lx106-elf-g++ returned 139 on MAC OSX #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Greg,
The toolchain needs to be rebuilt with an appropriate |
I am getting the same compile error, except with OSX 10.7.5. I presume the I am really keen to get the Arduino platform going, I have been using NodeMCU with lua but it seems rather unstable and unpredictable. Lua isn't exactly my favourite language either. |
Got the toolchain built already. Will upload today. |
Updated package has been deployed. Please try updating your boards manager package. |
I Igor, Thank you for your help. My side, I get always the same error. Thank you Greg |
I added the new toolchain to the board manager package, so you don't need Ivan
|
I think I do something wrong.... and the trace : |
I might have broken something. Will check in a few hours...
|
Thanks for all your work igrr! I am having similar problems. I followed the directions on the front page to install and ended up getting the: xtensa-lx106-elf-g++ returned 139 P.s. I'm not sure how to uninstall a package. All I did was delete the package_esp8266com_index.json |
@igrr Working for me, but not directly as you predicted in one of your posts earlier. The steps I took (may not all be needed)
Other info:
|
Still not working for me. I tried claybar's suggestions but when I look in my Arduino15 directory I do not have a packages or esp8266 directory. I guess because of the "Tool esptool is not available for your operating system" error i get in the Board Manager when trying to install. |
After a Boards Manager "update" of the ESP8266 package, I also had the I followed the steps from the message from @claybar and this fixes it. It compiles OK now, many thanks. I'm on Arduino 1.6.4 and Mac OSX 10.10.3. |
Any progress on the :"Tool esptool is not available for your operating system" error during Board Manager esp8266 package install? |
Got the same exact issue as described by @arthead. Running Mac OS 10.7.5 with 1.6.4 IDE and I'm getting "esptool is not avaliable for your operating system". Is there any fix for this? |
Hi, Still the problem :-( Thanks |
Might be related: arduino/Arduino@e646ca2 Arduino 1.6.5 is out, can you try with it? |
I will try later as I haven't been able to use it yet. |
I've tried with both stable and 1.6.5-939-g033463a and geting the same result on i386-apple-darwin 10.7.5. That host key is missing from the list 'package_esp8266com_index.json' , hence I repeated the contents of x86_64-apple-darwin from the 'package_esp8266com_index.json' setting the host key to i386-apple-darwin. This allows the board manager to download and install the package into the user Library. Compile works fine however esptool falls over seems it's only been compiled for x86_64 arch. /Users/mac/Library/Arduino15/packages/esp8266/tools/esptool/0.4.5/esptool returned 139 |
Oh, so not all Macs are 64-bit? That explains why this issue happens. |
Not so. The hardware is Core 2 Duo and capable of running 64bit however for reasons I guess of backward support and overall system performance apple held back on supporting this kit on 10.8 in the final release. 10.8 Mountain lion was the first full 64bit OS. 10.7 seems to include 64bit program addressiblity however the kernel and extensions ran in 32 bit mode. So trying your universal binary: ./esptool file ~/Downloads/esptool does the package in the esp8266/Arduino.git repo offer universal build support? I can try building on this host? |
esptool is built from this repository: I've pushed a change into |
looks promising |
Sweet success! Blinkly blue light on pin 2 of NodeMCU 1.0... Thanks for your help and all the great work you're doing here! |
Looks good. Now what's left is to figure out how to achieve the same on a 10.10. |
I got the same problem getting /Users/mac/Library/Arduino15/packages/esp8266/tools/esptool/0.4.5/esptool returned 139 when I try to compile on 10.7.5. |
Worked it out after finding the right branch of esptool. Can also confirm it works now! |
I have merged osx-universal branch into master. However it appears that I'm still unable to build a binary on 10.10 which will work on 10.7.5, even with these changes. If there is anyone who runs 10.7.5 and can help debugging this issue (gdb or otherwise), I would appreciate some help. |
Hello, I am also unable unable to build the binaries :-((( When O try to build, I get : compile: BUILD FAILED where can I find the log ? Another question, will it be an option to only compile without download (i.e. without using esptool) ??? |
I am facing these issues ( 139 error when compiling ) too, and i can help to debug, but maybe need some directions. I am using mac os 10.7.5 and esptool 0.4.3 works like a charm. I used it to reflash my esp board to nodemcu firmware, but 0.4.5 and 0.4.6 always return a "Illegal instruction: 4" error or 139 error under Arduino. i have tried to replace esptool on Arduino/esp8266 folder, but all i got is another error (255): |
please retry in last release, I it still a problem feel free to reopen. |
I install esp requirement and I have this problem too and got this error:
Mac OS X 10.7.5 |
Need to make new release of esptool which will include the fix. |
esptool 0.4.7 has been released, includes 32-bit OS X compatibility. |
Thank you so much, igrr! As of this evening it is now working on my Macbook. The WiFiWebServer sketch works as expected. Looking forward to getting the ESP-12 working next. Thanks again for your hard work. |
Hi,
I have tried to compile the IDE for my Mac OSX (because I have OSX ver 10.6.8 and the precompiled version was for 10.7 !).
I have performed the steps as described, and the arduino ver 1.6.5 was build without problem :-)
But when I compile an *.ino file for ESP8266 hardware, I get that error :
Arduino: 1.6.5 (Mac OS X), Board: "Generic ESP8266 Module, 80 MHz, 115200, 512K (64K SPIFFS)"
/Applications/Programmation/Arduino_1_6_5.app/Contents/Resources/Java/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ returned 139
Error compiling.
?????
What can I do ????
Many thanks
Greg
The text was updated successfully, but these errors were encountered: