Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Build error after updating to latest version with 3.3.7 Arduino core (Read 311 times)
MarcinP
Newbies
*
Offline


Posts: 5
Joined: Aug 29th, 2019
Build error after updating to latest version with 3.3.7 Arduino core
Apr 10th, 2026 at 11:54am
Print Post  
After updating to the latest version of the extension, the project, which successfully compiled previously, now fails to compile. 
Same project compiles successfully with Arduino IDE

the error in log shows:
during RTL pass*: pro_and_epilogue
WebResponses.cpp: In member function virtual size_t AsyncAbstractResponse::_ack(AsyncWebServerRequest*, size_t, uint32_t)
WebResponses.cpp:365: internal compiler error  in try_forward_edges, at cfgcleanup.cc
   365 | }
   | ^
   Please submit a full bug report, with preprocessed source (by using -freport-bug)
   gcc.gnu.org\bugs\> for instructions

Any ideas what can cause this ?
« Last Edit: Apr 10th, 2026 at 12:15pm by MarcinP »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2892
Joined: Feb 13th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #1 - Apr 10th, 2026 at 1:09pm
Print Post  
Thanks for the report and log.

Could you attach the log from the Arduino IDE with the File > Preferences > Verbose Output During Compile enabled?
  
Back to top
IP Logged
 
MarcinP
Newbies
*
Offline


Posts: 5
Joined: Aug 29th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #2 - Apr 10th, 2026 at 1:33pm
Print Post  
Simon@Visual Micro wrote on Apr 10th, 2026 at 1:09pm:
Thanks for the report and log.

Could you attach the log from the Arduino IDE with the File > Preferences > Verbose Output During Compile enabled?

Sure here it is, 
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2892
Joined: Feb 13th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #3 - Apr 13th, 2026 at 10:43am
Print Post  
Could you email us your project as a ZIP file (excluding the ".vs" folder to save space) as we are having trouble identifying the AsyncWebServer and AsyncTCP libraries in use within the Projects src folder.

Alternatively just email the projects src folder as a ZIP so we can replicate and investigate the issue further.
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2892
Joined: Feb 13th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #4 - Apr 14th, 2026 at 3:26pm
Print Post  
Thanks for the files via GitHub, and the project compiles succesfully on my machine.

In your initial logs the Arduino IDE was compiling a different project to the Visual Micro Log.

Do you still get the same error when compiling the latest version from GitHub, in Visual Micro?
  
Back to top
IP Logged
 
MarcinP
Newbies
*
Offline


Posts: 5
Joined: Aug 29th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #5 - Apr 15th, 2026 at 12:29pm
Print Post  
Hi 
I'm loosing my mind on this
I tried compile yesterday and it worked just fine, today tried again and fails again.
Build Folder: g"
AsyncWebSocket.cpp:1301: internal compiler error  in prune_unused_types_update_strings, at dwarf2out.cc
   1301 | }
   | ^
   Please submit a full bug report, with preprocessed source (by using -freport-bug)
   gcc.gnu.org\bugs\> for instructions
 
during RTL pass*: cprop
Audio.cpp: In member function int32_t Audio::getChunkSize(uint16_t*, bool)
Audio.cpp:7208: internal compiler error  in try_forward_edges, at cfgcleanup.cc
   7208 | }
   | ^
   Please submit a full bug report, with preprocessed source (by using -freport-bug)
   gcc.gnu.org\bugs\> for instructions
 
flac_decoder.cpp:1134: internal compiler error  in prune_unused_types_update_strings, at dwarf2out.cc
   1134 | } \\ virtual method
   | ^
   Please submit a full bug report, with preprocessed source (by using -freport-bug)
   gcc.gnu.org\bugs\> for instructions
 
mp3_decoder.cpp:3711: internal compiler error  in prune_unused_types_update_strings, at dwarf2out.cc
   3711 | }
   | ^
   Please submit a full bug report, with preprocessed source (by using -freport-bug)
   gcc.gnu.org\bugs\> for instructions
 
vorbis_decoder.cpp:3316: internal compiler error  in prune_unused_types_update_strings, at dwarf2out.cc
   3316 | }
   | ^
   Please submit a full bug report, with preprocessed source (by using -freport-bug)
   gcc.gnu.org\bugs\> for instructions
 
Error compiling project sources
Debug build failed for project 'YoRadioVS'
  
Back to top
 
IP Logged
 
MarcinP
Newbies
*
Offline


Posts: 5
Joined: Aug 29th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #6 - Apr 15th, 2026 at 7:47pm
Print Post  
Further investigation after installing clean 3.3.8 lib today. 
Step 1. build only runs fine no errors, no warnings. 
Step 2. Do not touch anything just change to build and upload throws above errors.

now when i switch to IDE Location Arduino 2 it compiles clean again once then fails again, 

seems that behaviour changes as well when i change the Optimisation level in settings. 

  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2892
Joined: Feb 13th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #7 - Apr 16th, 2026 at 9:23am
Print Post  
Thanks for the updates and detail around this.

Can you confirm whether the problem still happens when all of these are true:
1) In vMicro, the board options exactly match the Arduino IDE build that succeeds
2) You build the Release configuration in vMicro
3) No vMicro debugging is enabled
4) vMicro > Debugger > Optimization is set to Default Optimization

If it still fails with all of the above, please send one full verbose failing vMicro build log from the first failing build, and the Arduino IDE log for the same sources being compiled in the Arduino IDE?
  
Back to top
IP Logged
 
MarcinP
Newbies
*
Offline


Posts: 5
Joined: Aug 29th, 2019
Re: Build error after updating to latest version with 3.3.7 Arduino core
Reply #8 - Apr 17th, 2026 at 12:04pm
Print Post  
Hi Simon, 
Yes the issue is still visible and i can confirm it has something to do with the optimalisation. 
As a workaround currently i do code with VS and build and compile with IDE, 

As a separate issue i've noticed as well that VS Micro builds seems to be missing some Build complete/ event publishing as it seems that AI Agents (GH Copilot)  cant recognise the end of build event. 

If You have time we can do a quick session on teams. 

BR 
Marcin
« Last Edit: Apr 17th, 2026 at 12:04pm by MarcinP »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint