You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build:
Build through CMake but the minimal command (/opt/wonderful/toolchain/gcc-arm-none-eabi/bin/arm-none-eabi-g++ -std=c++20 -fmodules-ts -Wall -c /.../dep.cppm) still cause the issue.
Error:
/.../dep.cppm:5:23: internal compiler error: Segmentation fault
5 | int ry() {return 41+1;}
| ^
0x1da594e diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
???:0
0x1db6672 internal_error(char const*, ...)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <http://github.com/WonderfulToolchain/wonderful-packages/issues> for instructions.
ninja: build stopped: subcommand failed.
Environment:
GCC/G++ version 15.1.0 on Ubuntu 22.04 (WSL - Windows 11)
Context:
Development on NDS using BlocksDS
Note that this works fine using another arm-none-eabi-gcc/g++ like the "default" one or the one provided with Devkitpro (DevkitARM), version 15.1.0 too, so this is likely an issue with the wonderful toolchain.
The toolchain (arm-none-eabi-gcc/g++) is unable to build a minimal C++20 module:
Code (
dep.cppm):Build:
Build through CMake but the minimal command (
/opt/wonderful/toolchain/gcc-arm-none-eabi/bin/arm-none-eabi-g++ -std=c++20 -fmodules-ts -Wall -c /.../dep.cppm) still cause the issue.Error:
Environment:
GCC/G++ version 15.1.0 on Ubuntu 22.04 (WSL - Windows 11)
Context:
Development on NDS using BlocksDS
Note that this works fine using another arm-none-eabi-gcc/g++ like the "default" one or the one provided with Devkitpro (DevkitARM), version 15.1.0 too, so this is likely an issue with the wonderful toolchain.