Add gcc/lib/app versions to trace log