Skip to content
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

Compiler bug #66

Open
3 tasks done
Jason2866 opened this issue Oct 17, 2024 · 1 comment
Open
3 tasks done

Compiler bug #66

Jason2866 opened this issue Oct 17, 2024 · 1 comment

Comments

@Jason2866
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

often

Expected behavior

Generate correct code

Actual behavior (suspected bug)

Compile of https://github.com/earlephilhower/ESP8266Audio/blob/master/examples/PlayMIDIFromSPIFFS/PlayMIDIFromSPIFFS.ino
fails with esp32

Error logs or terminal output

home/earle/Arduino/libraries/ESP8266Audio/src/libtinysoundfont/tsf.h: In function 'void tsf_channel_midi_control(tsf*, int, int, int)':
/home/earle/Arduino/libraries/ESP8266Audio/src/libtinysoundfont/tsf.h:2101:1: error: insn does not satisfy its constraints:
  2101 | }
       | ^


### Steps to reproduce the behavior

Compiling the linked example above

### Project release version

starting from gcc v8 until latest version

### System architecture

ARM 64-bit (Apple M1/M2, Raspberry Pi 4/5)

### Operating system

MacOS

### Operating system version

Ventura

### Shell

ZSH

### Additional context

_No response_
@igrr
Copy link
Member

igrr commented Oct 18, 2024

Please see jcmvbkbc/gcc-xtensa#14 (comment) for a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants