STM32L4 SystemCoreClock access crashes the program during HAL initialization
QBS / Qt Creator was adding the -fPIC (position independent code) option to gcc command line in my back. Someone solved it here.