libgccjit.so is installed by jit/Make-lang.in's jit.install-common, into $(DESTDIR)/$(libdir).
jit/config-lang.in listed "compilers" as "libgccjit.so", leading to the makefile variable COMPILERS containing libgccjit.so. This in turn led to gcc/Makefile's install-common installing a redundant copy of the library into $(DESTDIR)$(libexecsubdir). Drop the entry from jit/config-lang.in, eliminating the duplicate copy of the library. Tested with a clean rebuild; "make check-jit" and "make install" continue to work. Committed to trunk as r220133. gcc/jit/ChangeLog: PR jit/64708 * config-lang.in (compilers): Drop "libgccjit.so". --- gcc/jit/config-lang.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/jit/config-lang.in b/gcc/jit/config-lang.in index e4eb060..875a194 100644 --- a/gcc/jit/config-lang.in +++ b/gcc/jit/config-lang.in @@ -25,7 +25,7 @@ language="jit" -compilers="libgccjit.so" +compilers="" target_libs="" -- 1.8.5.3