2025-04-29 4:09 AM - last edited on 2025-04-29 4:19 AM by Andrew Neil
Hello.
I'm upgrading from version 1.0.0 to 2.0.0 of the X-CUBE STL for STMF4, but I'm struggling to resolve this warning:
Warning: L6775W: stl_sch_main.o(.debug_frame) has FDEs which use CIEs which are not in this section.
The warning disappears when turning of debug symbols.
I'm using Arm Compiler 6.16.2 with Keil Uvision and an STM32F437. The STL version is V2.0.0 / 19-December-2022
The example projects that follow the STL package also have debug symbols enabled and produce the same warning.
Is this an issue with how the library has been compiled, or is it possible to resolve this without disabling debug symbols or just suppressing the warning?
Any inputs would be greatly appreciated.
2025-05-05 3:31 AM - edited 2025-05-05 3:32 AM
Hello @enlectomacto
Please try to compare the settings of your project with those of the example projects provided with the STL package. Look for any differences in compiler settings that might be causing the issue.
2025-05-05 3:41 AM
Hello again, and thanks a lot for the reply.
In the initial post I perhaps was not able to communicate clear enough the fact that the example projects provided with the STL package have the exact same issue.
The example projects give the same warning as I get in my project.
Additionally, as a side note, the example projects also require a modification to the compile options to even build, which is to ensure that short wchar is disabled (ARM Compiler 6) or to set wchar size to 32 (ARM Compiler 5), since the STL lib is compiled in this way. This leads me to believe that the Keil example projects may not be particularly well maintained.
2025-05-05 7:10 AM
Hello,
pls open Release notes file at Project directory where you can read comment about the L6775W warning as well as about handling the wchar issue. This is not question of any frequent maintenance but note that whatever change of compilation parameters of the library requires recertification of the whole package what is time and cost consuming process. Anyway, the industrial STL is under NDA, so at case of trouble with this FW, please use your official ST support channel. Thank you for understanding.
Best regards,
Petr
2025-05-05 7:15 AM
Yes I understand the difficulty of recompiling the package, I was refering to the example projects.
But I found the comment regarding this warning in the release notes now:
Arm/keil: when “Debug information” is selected in Output windows of project option, a warning appears (Warning: L6775W). This warning message is only a debug information issue. It doesn’t effect the actual project at all. So it would be safe to ignore this warning
Have a great day, thanks a lot for your help!