On Mon, 2024-01-15 at 00:19 +0100, Levente via Gcc-help wrote: > I'm trying to set up a toolchain for avr-dd MCUs, and I get this error > message when I try to compile gcc: /* snip */ > ../../../../libgcc/strub.c:95:1: internal compiler error: > 'global_options' are modified in local context /* snip */ > What do I do wrong? Not your mistake. This is a known bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113156 -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University