From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B74B83858C52; Thu, 19 Jan 2023 10:41:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B74B83858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674124903; bh=hGW3m7h1ypHgMJalVft0ZRWLExlWtC7ESa0C0h82Whc=; h=From:To:Subject:Date:From; b=F7QxUqXlaTnrTeMpAr9yswj7x2Ou54ivk2RxHLOQj7gOGwQ+FQIQUlk0ra43PB+Tu L/Xdn64yYqp20JYBgpkJlMKqfVtk5o5fj3lbl9W7oX9MiA2rn0wZBn3EQww1/iB+z0 03wCCbexda9kGFnmTpgMNDCChaSa3GTJana1Gtb0= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108462] New: duplicate install of static libraries Date: Thu, 19 Jan 2023 10:41:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108462 Bug ID: 108462 Summary: duplicate install of static libraries Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- rguenther@ryzen:/tmp/obj> find ../install -name libm2cor.la=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ../install/lib64/gcc/x86_64-pc-linux-gnu/13.0.1/libm2cor.la ../install/lib64/gcc/x86_64-pc-linux-gnu/13.0.1/m2/m2cor/libm2cor.la ../install/lib64/gcc/x86_64-pc-linux-gnu/13.0.1/32/m2/m2cor/libm2cor.la rguenther@ryzen:/tmp/obj> find ../install -name libm2cor.a=20 ../install/lib64/gcc/x86_64-pc-linux-gnu/13.0.1/libm2cor.a ../install/lib64/gcc/x86_64-pc-linux-gnu/13.0.1/m2/m2cor/libm2cor.a ../install/lib64/gcc/x86_64-pc-linux-gnu/13.0.1/32/m2/m2cor/libm2cor.a both in ../13.0.1/ and ../13.0.1/m2/m2cor/ along .mod/.def files? They are installed via toolexeclib_LTLIBRARIES =3D libm2cor.la but in addition to that via install-data-local: force mkdir -p $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR) $(INSTALL_DATA) .libs/libm2cor.la $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR) chmod 644 $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR)libm2cor.la $(INSTALL_DATA) .libs/libm2cor.a $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR) chmod 644 $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR)libm2cor.a $(RANLIB) $(DESTDIR)$(inst_libdir)/$(MULTIDIR)$(M2LIBDIR)libm2cor.a why's that done? How could I check whether they are necessary or not?=