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

Toolchain Bug #265

Closed
bwjohns4 opened this issue Jan 7, 2022 · 1 comment
Closed

Toolchain Bug #265

bwjohns4 opened this issue Jan 7, 2022 · 1 comment

Comments

@bwjohns4
Copy link

bwjohns4 commented Jan 7, 2022

Apparently there is a toolchain bug that was discovered and fixed in ESP8266/Arduino after the latest release that platform-espressif8266 points to. Here are the details:

GCC 10.3 had an issue with addressing constant literals which would result
in crazy offsets being used and random crashes in production. Update
with an upstream GCC 11 bugfix.

Link to the issue

Can this toolchain be added in PlatformIO as well?

@bwjohns4
Copy link
Author

bwjohns4 commented May 7, 2022

For anyone else looking, it appears that using the below will fix this issue until a more official PIO release incorporates this:

platform_packages = mcspr/toolchain-xtensa @ ~5.100300.211127

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

1 participant