AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
241 stars 142 forks source link

Provide control over -fcallgraph-info in project wizard. #427

Closed simonjwright closed 7 months ago

simonjwright commented 7 months ago

In GCC PR 104342 we can see that, if checking out a non-release compiler (e.g. GCC 14.0.1), having -gnata and -fcallgraph-info=su will cause a crash (in stm32 code, anyway).

-gnata is used when Build is Debug.

This patch amends the Project Wizard so you can specify CALLGRAPHS=Disabled.

pat-rogers commented 7 months ago

Thanks Simon.