Closed exiledyorkie closed 2 years ago
This has nothing to do with this repository :) Such issues should be fixed by the library maintainer (if he wants to support ESP32 in the same lib)
@me-no-dev Howdy, long time no chat!
This is a GCC internal compiler error (internal compiler error: in extract_constrain_insn, at recog.c:2210
. Whatever rev of the compiler is being shipped is barfing on some legal C code.
\Users\cpmag\Documents\arduino\libraries\ESP8266Audio\src\libtinysoundfont/tsf.h:2100:1: error: insn does not satisfy its constraints: (insn 858 343 344 51 (set (reg:SF 19 f0 [407]) (mem/u/c:SF (symbol_ref/u:SI ("*.LC248") [flags 0x2]) [0 S4 A32])) "C:\Users\cpmag\Documents\arduino\libraries\ESP8266Audio\src\libtinysoundfont/tsf.h":2053 47 {movsf_internal} (nil)) during RTL pass: postreload C:\Users\cpmag\Documents\arduino\libraries\ESP8266Audio\src\libtinysoundfont/tsf.h:2100:1: internal compiler error: in extract_constrain_insn, at recog.c:2210 Please submit a full bug report,
@earlephilhower maybe then you can help diagnose/fix this at https://github.com/espressif/crosstool-NG ? Was your library supposed to work? Name suggests ESP8266 :)
The library actually built and ran on all earlier ESP32 toolchain releases (say from ~7 months ago??). It even has code to do audio-out using the ULP processor, in fact.
Since it seems to be a logic bug in the Xtensa compiler bits, most likely this is related to the specific GCC version you're building. Did you change it recently? I'll see what I can see in the repo you listed.
versions before 2.0.0 used older 5.2.0 toolchain. We are on 8.4 now. (And I heard we will go even higher soon)
Board
ESP32 Dev Module
Device Description
Just the board, nothing else attatched. The issue is compiling, prior to the board being tethered to the laptop.
Hardware Configuration
Nothing
Version
v2.0.2
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
115200
Description
Hi I'm trying to use the ESP8266Audio library with an ESP32 dev board. I've used the library for an ESP8266 board which worked fine but now I want to use and ESP32 board. It won't compile for any board, if I remove the ESP8266Audio library, then all is fine. I've tried partitions to increase space and changed the board manager multiple times but nothing works. Any idea's please?
I posted on the librarys github and was recomended posting here, due to it being a compiler bug.
Sketch