https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101491
Bug ID: 101491 Summary: [11 regression] /usr/local/include/libgccjit++.h conflicts between different GCC installations Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee: dmalcolm at gcc dot gnu.org Reporter: gerald at pfeifer dot com Target Milestone: --- In the FreeBSD Ports Collection (and presumably similarly other distros) we install different versions of GCC into the same prefix with --program-suffix= --libdir= --with-gxx-include-dir= which has been working very well for years. Recently users reported that /usr/local/include/libgccjit++.h is installed by both GCC 11 and GCC 12 at least, cf. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257060 Looks like this should go into a version-specific directory (such as --with-gxx-include-dir= maybe?