https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80600
--- Comment #3 from coypu <coypu at sdf dot org> --- $ /usr/pkg/gcc7/bin/gfortran -Wl,--verbose test.f95 |grep succeeded |sort -u .. attempt to open /usr/lib/crt0.o succeeded attempt to open /usr/lib/crtbegin.o succeeded attempt to open /usr/lib/crtend.o succeeded attempt to open /usr/lib/crti.o succeeded attempt to open /usr/lib/crtn.o succeeded attempt to open /usr/lib/libc.so succeeded attempt to open /usr/lib/libm.so succeeded attempt to open /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/../../../libgcc_s.so succeeded attempt to open /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/../../../libgfortran.so succeeded attempt to open /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/../../../libquadmath.so succeeded attempt to open /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/libgcc.a succeeded attempt to open /var/tmp//ccCfh5i1.o succeeded if I 'nm library | grep cpu_model' I get: /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/../../../libgcc_s.so: 0000000000214540 b __cpu_model /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/../../../libgfortran.so: U __cpu_model /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/libgcc.a: 0000000000000000 B __cpu_model I got everything (all those) under /usr/pkg/gcc7 from building GCC 7.1.0, it's possible I built it wrong I hope this is the right information