https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80600
Bug ID: 80600 Summary: hidden symbol `__cpu_model' is referenced by DSO Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: coypu at sdf dot org Target Milestone: --- building a simple fortran hello world: /usr/bin/ld: a.out: hidden symbol `__cpu_model' in /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.1.0/libgcc.a(cpuinfo.o) is referenced by DSO /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status Trying the test case in target/65612 which sounds related: mv20.cc:11:5: error: multiversioning needs ifunc which is not supported on this target