https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661 --- Comment #4 from Volker Braun <vbraun.name at gmail dot com> --- Good point, -lm is not necessary. It was necessary in the original GSL testsuite case, but I removed that part.