https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997
Bug ID: 63997 Summary: gcc.dg/lto/pr61526 failing on darwin Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: fxcoudert at gcc dot gnu.org This testcase fails with the following error: Undefined symbols for architecture x86_64: "_master", referenced from: _bar in cccerobh.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status I don't think it's lto-related: even without the lto flags, the same error message is issued. In fact, even with the system compiler, the same error is issued.