X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files Resent-From: Damian Szuberski <szuberskidamian@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 16 Feb 2022 01:42:02 +0000 Resent-Message-ID: <handler.54020.B.164497572124982 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 54020 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-automake@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.164497572124982 (code B ref -1); Wed, 16 Feb 2022 01:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2022 01:42:01 +0000 Received: from localhost ([127.0.0.1]:46984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nK9KP-0006Ul-JQ for submit <at> debbugs.gnu.org; Tue, 15 Feb 2022 20:42:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:33870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <szuberskidamian@HIDDEN>) id 1nK5uo-0000Bn-TD for submit <at> debbugs.gnu.org; Tue, 15 Feb 2022 17:03:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <szuberskidamian@HIDDEN>) id 1nK5uo-0004Rh-DY for bug-automake@HIDDEN; Tue, 15 Feb 2022 17:03:18 -0500 Received: from [2607:f8b0:4864:20::b33] (port=38632 helo=mail-yb1-xb33.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <szuberskidamian@HIDDEN>) id 1nK5um-0005Wt-Lm for bug-automake@HIDDEN; Tue, 15 Feb 2022 17:03:18 -0500 Received: by mail-yb1-xb33.google.com with SMTP id y6so305122ybc.5 for <bug-automake@HIDDEN>; Tue, 15 Feb 2022 14:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=90dDqZ10wX9Tgpgu+5Ylkd+/xe/tzAR8zj4YL2CubZE=; b=M3HUMxkc0an7jdPTRGaqlGUGO7uSdvUEZA6J5cZuFaze+HTuSsUXunysRcyGfcQJ/g 71tnCWaKIqqu0AcVaHAYwsOqSclIwRpS76u2+wcn7fskhitpZcPQRrhS9ROd82GJZ2kD h0k7wUhpLWICMGnPs5AV4kgaB6CaxSB62Pz/lvHdkw/tt0Q77CkJQge+bGLp2UxDliB1 +l24xb5R8HPJfXHAbwTEdZptQn9A6Yp78Lbm0xzHXkNg73nTQajO5NjJowCVBKAstGkL lFDVyy1JdBK87WYiLqk+JTb+crXT9a+NE7HloS+Mx0P59gQ0FznxrqA9lX94TK+NYrHg FTnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=90dDqZ10wX9Tgpgu+5Ylkd+/xe/tzAR8zj4YL2CubZE=; b=HH77490KCxn6w0lQO2uXzKx5P0c4fcM6pZLMqyeFKZEUmQorskOFDMDOGnfjYWUHUX yEmMV1oO3s5L3wpb8dGLyG28JszHDrdV99RRShHcdei3EZwxjdxnEDsu1jrwgbVTZ4nS y17v5a1fgi8V5DV4kR1xs4WJ3/6Ba8xmiCmiphvAtg86/5QG4sd+B2ZFULqr7+lYNlva HR4F6rW+ZFjPbRXZKW6rsH8ucStDMzcQFe8qTJeMHV/O0mWo0jrFxtUHvW/zdN7K5475 K7u1l3UedHXx0VFH1sJygagKNyrArvfygSgB5R8n293gFGYHI4ROTqZLqBYKsr3dtT5H CaZQ== X-Gm-Message-State: AOAM533HI2rzxUQUvGDGW53J4a7/eLiWthuq6nHhNo0UFf3qIEsetlmA DU7awkAgzJ1cwSlGCLFHpGsbVBkWjXGt3asOMEVcZfol0/Q= X-Google-Smtp-Source: ABdhPJyXx136cYnOTHnXU3Ln2I61oKJGO3/9qerq50vqnSRDOUtePnFMirieSGS+5IQUGaP7wn2LBNLFaa4ouQnEK38= X-Received: by 2002:a25:ab70:: with SMTP id u103mr938880ybi.765.1644962592996; Tue, 15 Feb 2022 14:03:12 -0800 (PST) MIME-Version: 1.0 From: Damian Szuberski <szuberskidamian@HIDDEN> Date: Tue, 15 Feb 2022 23:03:02 +0100 Message-ID: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000006419505d815b30c" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b33 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=szuberskidamian@HIDDEN; helo=mail-yb1-xb33.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.904, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Mailman-Approved-At: Tue, 15 Feb 2022 20:41:56 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --00000000000006419505d815b30c Content-Type: text/plain; charset="UTF-8" Dear automake developers! A standard `libtool` invocation line generated by automake looks like: ``` LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) ``` Sometimes files compiled using the method above make the compiler emit errors. Those errors are suppressed by default which makes troubleshooting impossible. `libtool` has a command line option, `-no-suppress` which can be used to make the compiler verbose. Unfortunately, there is no way to inject that option since `libtool` demands that it comes after `--mode=compile`. `AM_LIBTOOLFLAGS` nor `LIBTOOLFLAGS` cannot be used for that purpose since "it is too early", according to `libtool`'s command line parser. It is somewhat possible to use `AM_CFLAGS` for that purpose but then it breaks modes other than `--mode=compile`. Is there any way to make libtool more verbose? Thanks in advance! Software used: ``` autoconf (GNU Autoconf) 2.71 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>, < https://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. automake (GNU automake) 1.16.5 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later < https://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tromey@HIDDEN> and Alexandre Duret-Lutz <adl@HIDDEN>. ``` -- Damian Szuberski --00000000000006419505d815b30c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Dear automake developers!<div><br></div><div>A standard `l= ibtool` invocation line generated by automake looks like:</div><div>```</di= v><div>LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(LIBTOOLFLAGS) --mode=3Dcompile $(CC) $(DEF= S) \<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CP= PFLAGS) $(CPPFLAGS) \<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(AM_CFLAGS) $(CFLAGS)= <br></div><div>```</div><div>Sometimes files compiled using the method abov= e make the compiler emit errors. Those errors are suppressed by default whi= ch makes troubleshooting impossible. `libtool` has a command line option, `= -no-suppress` which can be used to make the compiler verbose. Unfortunately= , there is no way to inject that option since `libtool` demands that it com= es after `--mode=3Dcompile`. `AM_LIBTOOLFLAGS` nor `LIBTOOLFLAGS` cannot be= used for that purpose since "it is too early", according to `lib= tool`'s command line parser. It is somewhat possible to use `AM_CFLAGS`= for that purpose but then it breaks modes other than `--mode=3Dcompile`.</= div><div><br></div><div>Is there any way to make libtool more verbose?</div= ><div>Thanks in advance!</div><div><br></div><div>Software used:</div><div>= ```</div><div>autoconf (GNU Autoconf) 2.71<br>Copyright (C) 2021 Free Softw= are Foundation, Inc.<br>License GPLv3+/Autoconf: GNU GPL version 3 or later= <br><<a href=3D"https://gnu.org/licenses/gpl.html">https://gnu.org/licen= ses/gpl.html</a>>, <<a href=3D"https://gnu.org/licenses/exceptions.ht= ml">https://gnu.org/licenses/exceptions.html</a>><br>This is free softwa= re: you are free to change and redistribute it.<br>There is NO WARRANTY, to= the extent permitted by law.<br><br>Written by David J. MacKenzie and Akim= Demaille.<br>automake (GNU automake) 1.16.5<br>Copyright (C) 2021 Free Sof= tware Foundation, Inc.<br>License GPLv2+: GNU GPL version 2 or later <<a= href=3D"https://gnu.org/licenses/gpl-2.0.html">https://gnu.org/licenses/gp= l-2.0.html</a>><br>This is free software: you are free to change and red= istribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><= br>Written by Tom Tromey <<a href=3D"mailto:tromey@HIDDEN">tromey@re= dhat.com</a>><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0and Alexandre Duret-Lutz <= ;<a href=3D"mailto:adl@HIDDEN">adl@HIDDEN</a>>.<br><div>```</div><div>= <br></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail= =3D"gmail_signature">Damian Szuberski</div></div></div> --00000000000006419505d815b30c--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Damian Szuberski <szuberskidamian@HIDDEN> Subject: bug#54020: Acknowledgement (Impossible to pass `-no-suppress` to `libtool` via automake files) Message-ID: <handler.54020.B.164497572124982.ack <at> debbugs.gnu.org> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> X-Gnu-PR-Message: ack 54020 X-Gnu-PR-Package: automake Reply-To: 54020 <at> debbugs.gnu.org Date: Wed, 16 Feb 2022 01:42:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-automake@HIDDEN If you wish to submit further information on this problem, please send it to 54020 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 54020: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54020 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> Resent-From: Karl Berry <karl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Thu, 17 Feb 2022 23:34:01 +0000 Resent-Message-ID: <handler.54020.B54020.164514079122610 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: szuberskidamian@HIDDEN Cc: 54020 <at> debbugs.gnu.org Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.164514079122610 (code B ref 54020); Thu, 17 Feb 2022 23:34:01 +0000 Received: (at 54020) by debbugs.gnu.org; 17 Feb 2022 23:33:11 +0000 Received: from localhost ([127.0.0.1]:52972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nKqGs-0005sb-Qw for submit <at> debbugs.gnu.org; Thu, 17 Feb 2022 18:33:10 -0500 Received: from freefriends.org ([96.88.95.60]:60410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <karl@HIDDEN>) id 1nKqGr-0005sT-2j for 54020 <at> debbugs.gnu.org; Thu, 17 Feb 2022 18:33:09 -0500 X-Envelope-From: karl@HIDDEN Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 21HNX7bi016011 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Feb 2022 16:33:08 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 21HNX75F016010; Thu, 17 Feb 2022 16:33:07 -0700 Date: Thu, 17 Feb 2022 16:33:07 -0700 Message-Id: <202202172333.21HNX75F016010@HIDDEN> From: Karl Berry <karl@HIDDEN> In-Reply-To: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Damian - thanks for the report. LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) ... `libtool` has a command line option, `-no-suppress` ... Well, the immediate answer would apparently be to add yet another variable after the --mode=compile, say LTMODEOPTS for the sake of argument (have to think about the name), so the output is LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(LTMODEOPTS) $(CC) ... Mike, Jim, wdyt? --thanks, karl.
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 23 Feb 2022 06:13:01 +0000 Resent-Message-ID: <handler.54020.B54020.164559676725353 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Karl Berry <karl@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, szuberskidamian@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.164559676725353 (code B ref 54020); Wed, 23 Feb 2022 06:13:01 +0000 Received: (at 54020) by debbugs.gnu.org; 23 Feb 2022 06:12:47 +0000 Received: from localhost ([127.0.0.1]:43591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nMktL-0006ar-HK for submit <at> debbugs.gnu.org; Wed, 23 Feb 2022 01:12:47 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:34260 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1nMktJ-0006ad-TJ for 54020 <at> debbugs.gnu.org; Wed, 23 Feb 2022 01:12:46 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id C5BF3343135; Wed, 23 Feb 2022 06:12:39 +0000 (UTC) Date: Wed, 23 Feb 2022 01:12:40 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <YhXQWGMLASChBkOm@vapier> Mail-Followup-To: Karl Berry <karl@HIDDEN>, szuberskidamian@HIDDEN, 54020 <at> debbugs.gnu.org References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <202202172333.21HNX75F016010@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xZdXEIYkMGTiZy5n" Content-Disposition: inline In-Reply-To: <202202172333.21HNX75F016010@HIDDEN> X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) --xZdXEIYkMGTiZy5n Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 17 Feb 2022 16:33, Karl Berry wrote: > Hi Damian - thanks for the report. >=20 > LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ > $(LIBTOOLFLAGS) --mode=3Dcompile $(CC) $(DEFS) \ > $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ > $(AM_CFLAGS) $(CFLAGS) > ... > `libtool` has a command line option, `-no-suppress` ... >=20 > Well, the immediate answer would apparently be to add yet another > variable after the --mode=3Dcompile, say LTMODEOPTS for the sake of > argument (have to think about the name), so the output is >=20 > LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ > $(LIBTOOLFLAGS) --mode=3Dcompile $(LTMODEOPTS) $(CC) ... to clarify, Damian isn't saying it has to be between --mode=3Dcompile & $(C= C). in fact, pretty sure this doesn't work as libtool expects the argv to be the arguments right after --mode=3Dcompile. $ libtool --tag=3DCC --mode=3Dcompile -no-suppress gcc test.c -c -o test.o Usage: /usr/bin/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. libtool: error: unrecognised option: '-no-suppress' the right command line is: $ libtool --tag=3DCC --mode=3Dcompile gcc test.c -c -o test.o -no-suppress so i think we can reframe the request as: Automake offers no way of specify= ing flags that are only used at compile time. breaking down LTCOMPILE (for C): * $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mod= e=3Dcompile: doesn't help as comes before $(CC) and we need flags to be after * $(CC): used for preprocessing & compiling, and linking, and default for linking via `CCLD =3D $(CC)` * $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS): used = for preprocessing (dep generation, etc...) and compiling * $(AM_CFLAGS) $(CFLAGS): used for preprocessing, compiling, and linking if we look at the linking phase specifically, it's possible to put libtool flags into xxx_LDFLAGS. this is good, and what we already document+recomme= nd. my inclination is to introduce two new variables that would be used for lib= tool & non-libtool, and only when compiling. * xxx_COMPILE: to provide parity with existing xxx_LINK setting -- override the compiler on a per-program basis * xxx_COMPILEFLAGS: appended only to compile calls so it can override all t= he variables that are shared with other commands my only gripe is the lack of parity between other stages from a naming pov, but i think we just have to swallow this pill. most flags are based on the language selection rather than the phase (e.g. CFLAGS is for C language and is used for preprocessing, compiling, and linking C code). LDFLAGS is only for linking -- it's language independent. if we added xxx_LINKFLAGS, it would serve the same exact purpose as xxx_LDFLAGS, so doesn't add a whole lot of value. -mike --xZdXEIYkMGTiZy5n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmIV0FgACgkQQWM7n+g3 9YFENhAA0I0bqOchno6I2fD6YBldn5Lrs1MtYR4EZDoB6apOXZZ/2o+AwhVNcAaO +zjtjPXbSAdxkPVIMUf45kCr0tBn5J6o14z0YR6ZwgRIKmuW299FZrLpiQjx4oc4 TRdzTEIzJOZlUNuuF2YcElTQuf+vPmCiLhLVgM0nSw/QYiOp5J9DnzHi0gTijSPs P7NYh2amEtwOu4QJFH4PWZf2cwRzTyc5mmfEQORHicOEbSeZMp8XUYgNj1JThceE uFL5pgD+/knm8/zPjVZ887Aiy0ZennTLm3wixGSqb2I+axoGheX7jN8/VpJbrOP5 03OoPhOtZKlQ432JYvgIixin0InKKihPNnnANRBI0geChCvGv+waXm+PEB5r8sM3 BieuzomJuc6cMeMQuMqXdu6lin1Bg/XbkKfQVc2RaOOEwsNQ2F0LbIxCMmEz7BvQ f89+naexG1N30PcMctZatFAUh5SPRAjepFsT4N/0vh+njULvBviB7Wpwjahosz44 6pIDLPRtVlLXlY8DQa1nBn0J7iKbCIWgkyAhuESAlX1Jo6UEHmm3nLfvMb4/U02X 7VqojSLaWN3YZhnqCzRrmdtHbV+SqbJ73BA3MDGT4nLSRuCbjlj6bCCjWh4ZW12s MmL9+R+h28X8TNGWX5x7QtdJokaD8P7HNPE6F5fYs7qNi7NoAqk= =wzmS -----END PGP SIGNATURE----- --xZdXEIYkMGTiZy5n--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 23 Feb 2022 07:29:01 +0000 Resent-Message-ID: <handler.54020.B54020.1645601302461 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Karl Berry <karl@HIDDEN>, szuberskidamian@HIDDEN, 54020 <at> debbugs.gnu.org Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.1645601302461 (code B ref 54020); Wed, 23 Feb 2022 07:29:01 +0000 Received: (at 54020) by debbugs.gnu.org; 23 Feb 2022 07:28:22 +0000 Received: from localhost ([127.0.0.1]:43674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nMm4T-00007N-Sz for submit <at> debbugs.gnu.org; Wed, 23 Feb 2022 02:28:22 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:50386 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1nMm4S-00006q-LY for 54020 <at> debbugs.gnu.org; Wed, 23 Feb 2022 02:28:21 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id EDDEC342EC1; Wed, 23 Feb 2022 07:28:13 +0000 (UTC) Date: Wed, 23 Feb 2022 02:28:14 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <YhXiDk1BnGN/G9aA@vapier> Mail-Followup-To: Karl Berry <karl@HIDDEN>, szuberskidamian@HIDDEN, 54020 <at> debbugs.gnu.org References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <202202172333.21HNX75F016010@HIDDEN> <YhXQWGMLASChBkOm@vapier> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Lpy1Ldn/dBSQQyD8" Content-Disposition: inline In-Reply-To: <YhXQWGMLASChBkOm@vapier> X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) --Lpy1Ldn/dBSQQyD8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 23 Feb 2022 01:12, Mike Frysinger wrote: > my inclination is to introduce two new variables that would be used for libtool > & non-libtool, and only when compiling. > * xxx_COMPILE: to provide parity with existing xxx_LINK setting -- override > the compiler on a per-program basis > * xxx_COMPILEFLAGS: appended only to compile calls so it can override all the > variables that are shared with other commands having glanced through the implementation a bit, i don't know that i'll try to implement this myself, at least any time soon. this is heavily in the perl side of things, and i'm not really versed in it. -mike --Lpy1Ldn/dBSQQyD8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmIV4g4ACgkQQWM7n+g3 9YFmZBAAt51JgU3S85vTJHhQ/eQrQDwKVtyHZA3b2JvWT0vRi9LvrsGIjSSSUI3G M2wr8A+nUqTWD2nTOMjB7t0+HgvbZATkBMlYWA4NW2t8ydRDVNpvGbtnCfesjstg mSV6ViJK28Px3XmjtrrVtfg3Hh0YKyqJdSqk6iZHyg/b/bNbeFd/QnA5vQFz0q5f 7wR/r23wmUcShOwiXIkAJ61bxZyKws74fU10IqW3rraPnbW/orVE/IP61O2U26or Y1EprlAf86o/3e3emLwjr217vZUOUu8RrwkjjsarfoKTlR0D1Pes8DtQQg3pLN1s fjt4LxJrYHAQdycUb2r6ByMJSHa9dlau4Q9mjyTl4LBpx2UvLLfkY8icLIw0OEiw jC6/NPoF+ZEbAguyuKtIAVx5uulJsIO3tF2YI2XZBjPXsYZA33QpwYXCk600Gaua wAFHHm7H25GPNS45I4SL89L8DrhUvmF56LqdP5XvRFDjOJWcIlsw52/4PYnSItuW HeOyJwnb6/Up97CXfXCvCwxt2eI07cxZ7OAmfYkLQG4umDkKerWB0sz2onhr+fYS OCV4CdAp3NeEnr+KR/PsQfpSiOjrfRqwLyzGfu2XqUT4BmtGwC1DvBRqbA2tvR2e 4sFEvrqGl6iEs0w/0Er2rHIGXHZfTPPpLdEKPJoY4Yh+v0GGdEM= =qQWf -----END PGP SIGNATURE----- --Lpy1Ldn/dBSQQyD8--
Received: (at control) by debbugs.gnu.org; 24 Feb 2022 01:42:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 23 20:42:56 2022 Received: from localhost ([127.0.0.1]:46884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nN39k-0004m0-70 for submit <at> debbugs.gnu.org; Wed, 23 Feb 2022 20:42:56 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:50294 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1nN39h-0004ln-Tp for control <at> debbugs.gnu.org; Wed, 23 Feb 2022 20:42:54 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id A2CD8342EB4; Thu, 24 Feb 2022 01:42:47 +0000 (UTC) From: Mike Frysinger <vapier@HIDDEN> To: control <at> debbugs.gnu.org Subject: Control message Message-Id: <20220224014247.A2CD8342EB4@HIDDEN> Date: Thu, 24 Feb 2022 01:42:47 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) retitle 54020 support compile-specific flags tag 54020 = confirmed help thankyou
Received: (at control) by debbugs.gnu.org; 24 Feb 2022 01:42:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 23 20:42:56 2022 Received: from localhost ([127.0.0.1]:46884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nN39k-0004m0-70 for submit <at> debbugs.gnu.org; Wed, 23 Feb 2022 20:42:56 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:50294 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1nN39h-0004ln-Tp for control <at> debbugs.gnu.org; Wed, 23 Feb 2022 20:42:54 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id A2CD8342EB4; Thu, 24 Feb 2022 01:42:47 +0000 (UTC) From: Mike Frysinger <vapier@HIDDEN> To: control <at> debbugs.gnu.org Subject: Control message Message-Id: <20220224014247.A2CD8342EB4@HIDDEN> Date: Thu, 24 Feb 2022 01:42:47 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) retitle 54020 support compile-specific flags tag 54020 = confirmed help thankyou
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> In-Reply-To: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 15 Mar 2023 18:59:02 +0000 Resent-Message-ID: <handler.54020.B.167890671326557 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: automake-patches@HIDDEN, 54020 <at> debbugs.gnu.org Received: via spool by submit <at> debbugs.gnu.org id=B.167890671326557 (code B ref -1); Wed, 15 Mar 2023 18:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2023 18:58:33 +0000 Received: from localhost ([127.0.0.1]:40570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pcWKW-0006uB-Tt for submit <at> debbugs.gnu.org; Wed, 15 Mar 2023 14:58:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:40894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1pcU2r-0001xl-Qo for submit <at> debbugs.gnu.org; Wed, 15 Mar 2023 12:32:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1pcU2r-00052u-9K for automake-patches@HIDDEN; Wed, 15 Mar 2023 12:32:09 -0400 Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1pcU2k-0005d9-Go for automake-patches@HIDDEN; Wed, 15 Mar 2023 12:32:08 -0400 Received: from [192.168.1.226] ([90.227.12.124]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MUGe1-1q33Ih1Hk3-00RLLy; Wed, 15 Mar 2023 17:31:52 +0100 Content-Type: multipart/mixed; boundary="------------0byymV7TBF7p4Ysc60W0YsZr" Message-ID: <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> Date: Wed, 15 Mar 2023 17:31:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-GB, sv-SE, pl From: Bogdan <bogdro_rep@HIDDEN> X-Provags-ID: V03:K1:RpR9K28iFF0UGyzzxTyIhsmYnem9teEHx/Enm42BLUQp3LFXskr h+VuOaNwoHkFrqbH4t1THdQUxu2xo6UqZFVYrl5SuRxK+pR0UE0ssTc0JW76w0RnbMyCciP I8FsVZB8pM8MkBBgDqbt/df/sQv1hUqVv59YYTmUaOqBVCQv2CGqElgwpqYeSjiJ73Tsfl6 8R6nrYsH5NZgMk6FZSRIw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AtafHwqLxLU=;vQtTFwQx9w/dzqrwBY8LC3peuz/ Gku2DAGY3NwXnQ5t3yIzO80Y9ZADQ4G6P5edkHnL/i+3joY56s/EInmRPSS7nMYOiad6ogdmd 20ouTPim2rm5UFPyn6qXW56o2FxGTxbYciTSwiazB70xk057jEGPMYcPOfMkXmoDz4V/dqfgf SnMAMQbVprmrMRds/sgehQ61tjNwvHGmih4apELFGRkoBhCiojF6Z5Ko3ZyErF+FjBTmbaiBM EpPlRLBfcDraCJd+DaEdKuXA3BQ0ZWiNGN5LF2o6iKIOGYU3BLXc7EaRvDQke6rV4h5wwr5TF HAyAYEtYyiu3Mda1dwZfN56vMSwbQ4andbvrGe26Oqrea79xfu67erHtj0MoxcXB0rgoM3XGg jI1mxi3ZOr69Tq7Xa+6py+gksHaX47a/2eVtcY7CRxq7Aaz0aRNXo5pf+1VtNVzltSoSNnKhz 5a8zZUNZEtqGbJlD/CbZQK73vrwIoNnkuxmkE4ynKH6s0h6Q/Y2HeT4Mmp9MTHV/ZppJK9Ksu HQVAFaotPnpd45UTFEgzfCfedJSmna4IoLij/NJ7xra0j0jLhHtWj3HvfRBLHLBa/r0ZHA+KE +FHJ6b9sNAdAVT+4k4MIc0En1pRrPi1gbDnmmDDwskuwnWkwvgrY2HcCGULuTp6wP4jbVz2pX NGXqvhtdz/xKwUSWUXBZG0HWMfpqyRRQZbsHDb3+JiaJDzPZrdTW9Kt2Vy9lbksxjXPr4boh1 QzbCssLvJdOnfgcG/6cWo+qT07jMWpRa8MBVD6DE/LgGpKLXrWxpceF6vZZAKyv7WEv3sTT+r dkrRnadMDm1HOjWU0Il0N0Df2dG4cMLaXnZmGfH8SvZyh8ZBWrFcYM90r7qw4RC7yNZIDVaoR 7fUWAUZ94defhTeNrMAIeABnHuv/d4Ue+iKR/oW65FP935XX3fc//cMFpBXM9X/o7KaUegp0G ss/2ME608PKGxp5pM61GjYLL0MM= Received-SPF: pass client-ip=212.227.15.19; envelope-from=bogdro_rep@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Wed, 15 Mar 2023 14:58:30 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) This is a multi-part message in MIME format. --------------0byymV7TBF7p4Ysc60W0YsZr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Automakers! Another patch from my side. This one makes it possible for users to pass additional options to libtool in 'compile' mode. Fixes #54020. Added documentation and a test case including the '-no-suppress' option. All tests with 'lt' or 'libtool' in the name pass. Feel free to rename the variables, I just came up with the names LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions where the variables are put and the mode they're used in. -- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org --------------0byymV7TBF7p4Ysc60W0YsZr Content-Type: text/x-patch; charset=UTF-8; name="automake-libtool-opts-mail.diff" Content-Disposition: attachment; filename="automake-libtool-opts-mail.diff" Content-Transfer-Encoding: base64 RnJvbSA5MDdjOGI3OTEzZDFjNTc3YjcyMmEyNGIyNGNkZjljZDhlOTc3NTVlIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCb2dkYW4gRHJvemRvd3NraSA8PgpEYXRlOiBXZWQs IDE1IE1hciAyMDIzIDE3OjIxOjUyICswMTAwClN1YmplY3Q6IFtQQVRDSF0gQWRkIHN1cHBv cnQgZm9yIGNvbXBpbGUtbW9kZSBleHRyYSBsaWJ0b29sIG9wdGlvbnMKCi0tLQogYmluL2F1 dG9tYWtlLmluICAgIHwgIDYgKysrLS0KIGRvYy9hdXRvbWFrZS50ZXhpICB8ICA4ICsrKysr KysKIHQvbGlzdC1vZi10ZXN0cy5tayB8ICAxICsKIHQvbHRfZXh0cmFvcHRzLnNoICB8IDU1 ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDQgZmls ZXMgY2hhbmdlZCwgNjggaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKIGNyZWF0ZSBt b2RlIDEwMDY0NCB0L2x0X2V4dHJhb3B0cy5zaAoKZGlmZiAtLWdpdCBhL2Jpbi9hdXRvbWFr ZS5pbiBiL2Jpbi9hdXRvbWFrZS5pbgppbmRleCBmMjQ5MDY0ZDUuLmM5ZTIzNTkzOCAxMDA2 NDQKLS0tIGEvYmluL2F1dG9tYWtlLmluCisrKyBiL2Jpbi9hdXRvbWFrZS5pbgpAQCAtMTQ3 NCw3ICsxNDc0LDcgQEAgc3ViIGhhbmRsZV9sYW5ndWFnZXMgKCkKIAkgICAgbXkgJGx0dmVy Ym9zZSA9IGRlZmluZV92ZXJib3NlX2xpYnRvb2wgKCk7CiAJICAgIG15ICRvYmpfbHRjb21w aWxlID0KIAkgICAgICAiXCQoTElCVE9PTCkgJGx0dmVyYm9zZSAkbGlidG9vbF90YWdcJCgk cHRsdGZsYWdzKSBcJChMSUJUT09MRkxBR1MpICIKLQkgICAgICAuICItLW1vZGU9Y29tcGls ZSAkb2JqX2NvbXBpbGUiOworCSAgICAgIC4gIi0tbW9kZT1jb21waWxlIFwkKExUQ09NUElM RV9QUkVGTEFHUykgJG9ial9jb21waWxlIFwkKExUQ09NUElMRV9QT1NURkxBR1MpIjsKIAog CSAgICAjIFdlIF9uZWVkXyAnLW8nIGZvciBwZXIgb2JqZWN0IHJ1bGVzLgogCSAgICBteSAk b3V0cHV0X2ZsYWcgPSAkbGFuZy0+b3V0cHV0X2ZsYWcgfHwgJy1vJzsKQEAgLTYzMzEsNyAr NjMzMSw5IEBAIHN1YiBkZWZpbmVfY29tcGlsZXJfdmFyaWFibGUKIAlteSAkdmVyYm9zZSA9 IGRlZmluZV92ZXJib3NlX2xpYnRvb2wgKCk7CiAJZGVmaW5lX3ZhcmlhYmxlICgiTFQkdmFy IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAiXCQoTElCVE9PTCkgJHZlcmJvc2UgJGxp YnRvb2xfdGFnXCQoQU1fTElCVE9PTEZMQUdTKSIKLSAgICAgICAgICAgICAgICAgICAgICAg ICAuICIgXCQoTElCVE9PTEZMQUdTKSAtLW1vZGU9Y29tcGlsZSAkdmFsdWUiLAorICAgICAg ICAgICAgICAgICAgICAgICAgIC4gIiBcJChMSUJUT09MRkxBR1MpIC0tbW9kZT1jb21waWxl ICIKKyAgICAgICAgICAgICAgICAgICAgICAgICAuICJcJChMVENPTVBJTEVfUFJFRkxBR1Mp ICR2YWx1ZSAiCisgICAgICAgICAgICAgICAgICAgICAgICAgLiAnJChMVENPTVBJTEVfUE9T VEZMQUdTKScsCiAgICAgICAgICAgICAgICAgICAgICAgICAgSU5URVJOQUwpOwogICAgICAg fQogICAgIGRlZmluZV92ZXJib3NlX3RhZ3ZhciAoJGxhbmctPmNjZXIgfHwgJ0dFTicpOwpk aWZmIC0tZ2l0IGEvZG9jL2F1dG9tYWtlLnRleGkgYi9kb2MvYXV0b21ha2UudGV4aQppbmRl eCBlYzE0YzVjNGMuLjcxMzg3NThkZCAxMDA2NDQKLS0tIGEvZG9jL2F1dG9tYWtlLnRleGkK KysrIGIvZG9jL2F1dG9tYWtlLnRleGkKQEAgLTU2MDcsNiArNTYwNywxNCBAQCBMSUJUT09M RkxBR1M9LS1zaWxlbnR9LCBmb3IgaW5zdGFuY2UuICBOb3RlIHRoYXQgdGhlIHZlcmJvc2l0 eSBvZgogQGNvbW1hbmR7bGlidG9vbH0gY2FuIGFsc28gYmUgaW5mbHVlbmNlZCBieSB0aGUg QXV0b21ha2Ugc3VwcG9ydAogZm9yIHNpbGVudCBydWxlcyAoQHB4cmVme0F1dG9tYWtlIFNp bGVudCBSdWxlc30pLgogCitUaGUgQHNhbXB7TFRDT01QSUxFX1BSRUZMQUdTfSB2YXJpYWJs ZSBpcyB0aGUgcGxhY2UgdG8gbGlzdAorYWRkaXRpb25hbCBsaWJ0b29sIGNvbXBpbGUgZmxh Z3MgdG8gYmUgcHV0IHJpZ2h0IGFmdGVyCitAb3B0aW9uey0tbW9kZT1jb21waWxlfSBvbiB0 aGUgY29tbWFuZCBsaW5lIChvbmx5IHdoZW4gY29tcGlsaW5nKS4KKworU2ltaWxhcmx5LCB0 aGUgQHNhbXB7TFRDT01QSUxFX1BPU1RGTEFHU30gdmFyaWFibGUgaXMgdGhlIHBsYWNlIHRv IGxpc3QKK2FkZGl0aW9uYWwgbGlidG9vbCBjb21waWxlIGZsYWdzIHRvIGJlIHB1dCBhdCB0 aGUgZW5kIG9mIHRoZSBjb21tYW5kIGxpbmUKKyhvbmx5IHdoZW4gY29tcGlsaW5nKS4KKwog QG5vZGUgTFRMSUJPQkpTLCBMaWJ0b29sIElzc3VlcywgTGlidG9vbCBGbGFncywgQSBTaGFy ZWQgTGlicmFyeQogQHN1YnNlY3Rpb24gQGNvZGV7TFRMSUJPQkpTfSBhbmQgQGNvZGV7TFRB TExPQ0F9CiBAY2luZGV4IEBjb2Rle0xUTElCT0JKU30sIHNwZWNpYWwgaGFuZGxpbmcKZGlm ZiAtLWdpdCBhL3QvbGlzdC1vZi10ZXN0cy5tayBiL3QvbGlzdC1vZi10ZXN0cy5tawppbmRl eCA2ZjI1ZjA0OTQuLjJiZmYyNzcxYyAxMDA2NDQKLS0tIGEvdC9saXN0LW9mLXRlc3RzLm1r CisrKyBiL3QvbGlzdC1vZi10ZXN0cy5tawpAQCAtNjg1LDYgKzY4NSw3IEBAIHQvbHRpbnN0 bG9jLnNoIFwKIHQvbHRsaWJvYmpzLnNoIFwKIHQvbHRsaWJzcmMuc2ggXAogdC9sdG9yZGVy LnNoIFwKK3QvbHRfZXh0cmFvcHRzLnNoIFwKIHQvbTQtaW5jbHVzaW9uLnNoIFwKIHQvbWFp bnRjbGVhbi5zaCBcCiB0L21haW50Y2xlYW4tdnBhdGguc2ggXApkaWZmIC0tZ2l0IGEvdC9s dF9leHRyYW9wdHMuc2ggYi90L2x0X2V4dHJhb3B0cy5zaApuZXcgZmlsZSBtb2RlIDEwMDY0 NAppbmRleCAwMDAwMDAwMDAuLmQyNmY0ZTY4OQotLS0gL2Rldi9udWxsCisrKyBiL3QvbHRf ZXh0cmFvcHRzLnNoCkBAIC0wLDAgKzEsNTUgQEAKKyMhIC9iaW4vc2gKKyMgQ29weXJpZ2h0 IChDKSAyMDIzIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLgorIworIyBUaGlzIHBy b2dyYW0gaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29y IG1vZGlmeQorIyBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1Ymxp YyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieQorIyB0aGUgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0 aW9uOyBlaXRoZXIgdmVyc2lvbiAyLCBvciAoYXQgeW91ciBvcHRpb24pCisjIGFueSBsYXRl ciB2ZXJzaW9uLgorIworIyBUaGlzIHByb2dyYW0gaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhv cGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwKKyMgYnV0IFdJVEhPVVQgQU5ZIFdBUlJBTlRZ OyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKKyMgTUVSQ0hBTlRBQklM SVRZIG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiAgU2VlIHRoZQorIyBH TlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxzLgorIworIyBZb3Ug c2hvdWxkIGhhdmUgcmVjZWl2ZWQgYSBjb3B5IG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMg TGljZW5zZQorIyBhbG9uZyB3aXRoIHRoaXMgcHJvZ3JhbS4gIElmIG5vdCwgc2VlIDxodHRw czovL3d3dy5nbnUub3JnL2xpY2Vuc2VzLz4uCisKKyMgVGVzdCB0aGUgc3VwcG9ydCBmb3Ig TFRDT01QSUxFX1BSRUZMQUdTIGFuZCBMVENPTVBJTEVfUE9TVEZMQUdTLgorIyBBbHNvLCBh IGdvb2QgcGxhY2UgdG8gdGVzdCBvdGhlciBzaW1pbGFyIG9wdGlvbnMsIGlmIHN1Y2ggY29t ZSBpbiB0aGUgZnV0dXJlLgorCityZXF1aXJlZD0nY2MgbGlidG9vbGl6ZScKKy4gdGVzdC1p bml0LnNoCisKK2NhdCA+PiBjb25maWd1cmUuYWMgPDwgJ0VORCcKK0FDX1BST0dfQ0MKK0FN X1BST0dfQVIKK0FDX0NPTkZJR19NQUNST19ESVJTKFttNF0pCitMVF9JTklUCitBQ19PVVRQ VVQKK0VORAorCitjYXQgPiBNYWtlZmlsZS5hbSA8PCAnRU5EJworbGliX0xUTElCUkFSSUVT ID0gbGliYmxhaC5sYQorbGliYmxhaF9sYV9TT1VSQ0VTID0gYmxhaC5jCitsaWJibGFoX2xh X0xERkxBR1MgPSAtdmVyc2lvbi1pbmZvIDE6MDowCitFTkQKKworY2F0ID4gYmxhaC5jIDw8 ICdFTkQnCitpbnQgbWFpbiAodm9pZCkKK3sKKyAgIHJldHVybiAwOworfQorRU5ECisKK2xp YnRvb2xpemUgLS1mb3JjZSAtLWNvcHkKKyRBQ0xPQ0FMCiskQVVUT0NPTkYKKyRBVVRPTUFL RSAtLWFkZC1taXNzaW5nIC0tY29weQorCisuL2NvbmZpZ3VyZQorCitydW5fbWFrZSAtTSBM VENPTVBJTEVfUFJFRkxBR1M9LS1uby13YXJuaW5ncyBMVENPTVBJTEVfUE9TVEZMQUdTPS1u by1zdXBwcmVzcworZ3JlcCAtLSAnLS1tb2RlPWNvbXBpbGUgLS1uby13YXJuaW5ncycgb3V0 cHV0CitncmVwIC0tICctbm8tc3VwcHJlc3MnIG91dHB1dAorCis6Ci0tIAoyLjM1LjEKCg== --------------0byymV7TBF7p4Ysc60W0YsZr--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> In-Reply-To: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 15 Mar 2023 18:59:02 +0000 Resent-Message-ID: <handler.54020.B54020.167890671326550 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: automake-patches@HIDDEN, 54020 <at> debbugs.gnu.org Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.167890671326550 (code B ref 54020); Wed, 15 Mar 2023 18:59:02 +0000 Received: (at 54020) by debbugs.gnu.org; 15 Mar 2023 18:58:33 +0000 Received: from localhost ([127.0.0.1]:40568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pcWKV-0006u8-KU for submit <at> debbugs.gnu.org; Wed, 15 Mar 2023 14:58:32 -0400 Received: from mout.gmx.net ([212.227.15.19]:40565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1pcU2g-0001wq-EX for 54020 <at> debbugs.gnu.org; Wed, 15 Mar 2023 12:31:59 -0400 Received: from [192.168.1.226] ([90.227.12.124]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MUGe1-1q33Ih1Hk3-00RLLy; Wed, 15 Mar 2023 17:31:52 +0100 Content-Type: multipart/mixed; boundary="------------0byymV7TBF7p4Ysc60W0YsZr" Message-ID: <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> Date: Wed, 15 Mar 2023 17:31:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-GB, sv-SE, pl From: Bogdan <bogdro_rep@HIDDEN> X-Provags-ID: V03:K1:RpR9K28iFF0UGyzzxTyIhsmYnem9teEHx/Enm42BLUQp3LFXskr h+VuOaNwoHkFrqbH4t1THdQUxu2xo6UqZFVYrl5SuRxK+pR0UE0ssTc0JW76w0RnbMyCciP I8FsVZB8pM8MkBBgDqbt/df/sQv1hUqVv59YYTmUaOqBVCQv2CGqElgwpqYeSjiJ73Tsfl6 8R6nrYsH5NZgMk6FZSRIw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AtafHwqLxLU=;vQtTFwQx9w/dzqrwBY8LC3peuz/ Gku2DAGY3NwXnQ5t3yIzO80Y9ZADQ4G6P5edkHnL/i+3joY56s/EInmRPSS7nMYOiad6ogdmd 20ouTPim2rm5UFPyn6qXW56o2FxGTxbYciTSwiazB70xk057jEGPMYcPOfMkXmoDz4V/dqfgf SnMAMQbVprmrMRds/sgehQ61tjNwvHGmih4apELFGRkoBhCiojF6Z5Ko3ZyErF+FjBTmbaiBM EpPlRLBfcDraCJd+DaEdKuXA3BQ0ZWiNGN5LF2o6iKIOGYU3BLXc7EaRvDQke6rV4h5wwr5TF HAyAYEtYyiu3Mda1dwZfN56vMSwbQ4andbvrGe26Oqrea79xfu67erHtj0MoxcXB0rgoM3XGg jI1mxi3ZOr69Tq7Xa+6py+gksHaX47a/2eVtcY7CRxq7Aaz0aRNXo5pf+1VtNVzltSoSNnKhz 5a8zZUNZEtqGbJlD/CbZQK73vrwIoNnkuxmkE4ynKH6s0h6Q/Y2HeT4Mmp9MTHV/ZppJK9Ksu HQVAFaotPnpd45UTFEgzfCfedJSmna4IoLij/NJ7xra0j0jLhHtWj3HvfRBLHLBa/r0ZHA+KE +FHJ6b9sNAdAVT+4k4MIc0En1pRrPi1gbDnmmDDwskuwnWkwvgrY2HcCGULuTp6wP4jbVz2pX NGXqvhtdz/xKwUSWUXBZG0HWMfpqyRRQZbsHDb3+JiaJDzPZrdTW9Kt2Vy9lbksxjXPr4boh1 QzbCssLvJdOnfgcG/6cWo+qT07jMWpRa8MBVD6DE/LgGpKLXrWxpceF6vZZAKyv7WEv3sTT+r dkrRnadMDm1HOjWU0Il0N0Df2dG4cMLaXnZmGfH8SvZyh8ZBWrFcYM90r7qw4RC7yNZIDVaoR 7fUWAUZ94defhTeNrMAIeABnHuv/d4Ue+iKR/oW65FP935XX3fc//cMFpBXM9X/o7KaUegp0G ss/2ME608PKGxp5pM61GjYLL0MM= X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Wed, 15 Mar 2023 14:58:30 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------0byymV7TBF7p4Ysc60W0YsZr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Automakers! Another patch from my side. This one makes it possible for users to pass additional options to libtool in 'compile' mode. Fixes #54020. Added documentation and a test case including the '-no-suppress' option. All tests with 'lt' or 'libtool' in the name pass. Feel free to rename the variables, I just came up with the names LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions where the variables are put and the mode they're used in. -- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org --------------0byymV7TBF7p4Ysc60W0YsZr Content-Type: text/x-patch; charset=UTF-8; name="automake-libtool-opts-mail.diff" Content-Disposition: attachment; filename="automake-libtool-opts-mail.diff" Content-Transfer-Encoding: base64 RnJvbSA5MDdjOGI3OTEzZDFjNTc3YjcyMmEyNGIyNGNkZjljZDhlOTc3NTVlIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCb2dkYW4gRHJvemRvd3NraSA8PgpEYXRlOiBXZWQs IDE1IE1hciAyMDIzIDE3OjIxOjUyICswMTAwClN1YmplY3Q6IFtQQVRDSF0gQWRkIHN1cHBv cnQgZm9yIGNvbXBpbGUtbW9kZSBleHRyYSBsaWJ0b29sIG9wdGlvbnMKCi0tLQogYmluL2F1 dG9tYWtlLmluICAgIHwgIDYgKysrLS0KIGRvYy9hdXRvbWFrZS50ZXhpICB8ICA4ICsrKysr KysKIHQvbGlzdC1vZi10ZXN0cy5tayB8ICAxICsKIHQvbHRfZXh0cmFvcHRzLnNoICB8IDU1 ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDQgZmls ZXMgY2hhbmdlZCwgNjggaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKIGNyZWF0ZSBt b2RlIDEwMDY0NCB0L2x0X2V4dHJhb3B0cy5zaAoKZGlmZiAtLWdpdCBhL2Jpbi9hdXRvbWFr ZS5pbiBiL2Jpbi9hdXRvbWFrZS5pbgppbmRleCBmMjQ5MDY0ZDUuLmM5ZTIzNTkzOCAxMDA2 NDQKLS0tIGEvYmluL2F1dG9tYWtlLmluCisrKyBiL2Jpbi9hdXRvbWFrZS5pbgpAQCAtMTQ3 NCw3ICsxNDc0LDcgQEAgc3ViIGhhbmRsZV9sYW5ndWFnZXMgKCkKIAkgICAgbXkgJGx0dmVy Ym9zZSA9IGRlZmluZV92ZXJib3NlX2xpYnRvb2wgKCk7CiAJICAgIG15ICRvYmpfbHRjb21w aWxlID0KIAkgICAgICAiXCQoTElCVE9PTCkgJGx0dmVyYm9zZSAkbGlidG9vbF90YWdcJCgk cHRsdGZsYWdzKSBcJChMSUJUT09MRkxBR1MpICIKLQkgICAgICAuICItLW1vZGU9Y29tcGls ZSAkb2JqX2NvbXBpbGUiOworCSAgICAgIC4gIi0tbW9kZT1jb21waWxlIFwkKExUQ09NUElM RV9QUkVGTEFHUykgJG9ial9jb21waWxlIFwkKExUQ09NUElMRV9QT1NURkxBR1MpIjsKIAog CSAgICAjIFdlIF9uZWVkXyAnLW8nIGZvciBwZXIgb2JqZWN0IHJ1bGVzLgogCSAgICBteSAk b3V0cHV0X2ZsYWcgPSAkbGFuZy0+b3V0cHV0X2ZsYWcgfHwgJy1vJzsKQEAgLTYzMzEsNyAr NjMzMSw5IEBAIHN1YiBkZWZpbmVfY29tcGlsZXJfdmFyaWFibGUKIAlteSAkdmVyYm9zZSA9 IGRlZmluZV92ZXJib3NlX2xpYnRvb2wgKCk7CiAJZGVmaW5lX3ZhcmlhYmxlICgiTFQkdmFy IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAiXCQoTElCVE9PTCkgJHZlcmJvc2UgJGxp YnRvb2xfdGFnXCQoQU1fTElCVE9PTEZMQUdTKSIKLSAgICAgICAgICAgICAgICAgICAgICAg ICAuICIgXCQoTElCVE9PTEZMQUdTKSAtLW1vZGU9Y29tcGlsZSAkdmFsdWUiLAorICAgICAg ICAgICAgICAgICAgICAgICAgIC4gIiBcJChMSUJUT09MRkxBR1MpIC0tbW9kZT1jb21waWxl ICIKKyAgICAgICAgICAgICAgICAgICAgICAgICAuICJcJChMVENPTVBJTEVfUFJFRkxBR1Mp ICR2YWx1ZSAiCisgICAgICAgICAgICAgICAgICAgICAgICAgLiAnJChMVENPTVBJTEVfUE9T VEZMQUdTKScsCiAgICAgICAgICAgICAgICAgICAgICAgICAgSU5URVJOQUwpOwogICAgICAg fQogICAgIGRlZmluZV92ZXJib3NlX3RhZ3ZhciAoJGxhbmctPmNjZXIgfHwgJ0dFTicpOwpk aWZmIC0tZ2l0IGEvZG9jL2F1dG9tYWtlLnRleGkgYi9kb2MvYXV0b21ha2UudGV4aQppbmRl eCBlYzE0YzVjNGMuLjcxMzg3NThkZCAxMDA2NDQKLS0tIGEvZG9jL2F1dG9tYWtlLnRleGkK KysrIGIvZG9jL2F1dG9tYWtlLnRleGkKQEAgLTU2MDcsNiArNTYwNywxNCBAQCBMSUJUT09M RkxBR1M9LS1zaWxlbnR9LCBmb3IgaW5zdGFuY2UuICBOb3RlIHRoYXQgdGhlIHZlcmJvc2l0 eSBvZgogQGNvbW1hbmR7bGlidG9vbH0gY2FuIGFsc28gYmUgaW5mbHVlbmNlZCBieSB0aGUg QXV0b21ha2Ugc3VwcG9ydAogZm9yIHNpbGVudCBydWxlcyAoQHB4cmVme0F1dG9tYWtlIFNp bGVudCBSdWxlc30pLgogCitUaGUgQHNhbXB7TFRDT01QSUxFX1BSRUZMQUdTfSB2YXJpYWJs ZSBpcyB0aGUgcGxhY2UgdG8gbGlzdAorYWRkaXRpb25hbCBsaWJ0b29sIGNvbXBpbGUgZmxh Z3MgdG8gYmUgcHV0IHJpZ2h0IGFmdGVyCitAb3B0aW9uey0tbW9kZT1jb21waWxlfSBvbiB0 aGUgY29tbWFuZCBsaW5lIChvbmx5IHdoZW4gY29tcGlsaW5nKS4KKworU2ltaWxhcmx5LCB0 aGUgQHNhbXB7TFRDT01QSUxFX1BPU1RGTEFHU30gdmFyaWFibGUgaXMgdGhlIHBsYWNlIHRv IGxpc3QKK2FkZGl0aW9uYWwgbGlidG9vbCBjb21waWxlIGZsYWdzIHRvIGJlIHB1dCBhdCB0 aGUgZW5kIG9mIHRoZSBjb21tYW5kIGxpbmUKKyhvbmx5IHdoZW4gY29tcGlsaW5nKS4KKwog QG5vZGUgTFRMSUJPQkpTLCBMaWJ0b29sIElzc3VlcywgTGlidG9vbCBGbGFncywgQSBTaGFy ZWQgTGlicmFyeQogQHN1YnNlY3Rpb24gQGNvZGV7TFRMSUJPQkpTfSBhbmQgQGNvZGV7TFRB TExPQ0F9CiBAY2luZGV4IEBjb2Rle0xUTElCT0JKU30sIHNwZWNpYWwgaGFuZGxpbmcKZGlm ZiAtLWdpdCBhL3QvbGlzdC1vZi10ZXN0cy5tayBiL3QvbGlzdC1vZi10ZXN0cy5tawppbmRl eCA2ZjI1ZjA0OTQuLjJiZmYyNzcxYyAxMDA2NDQKLS0tIGEvdC9saXN0LW9mLXRlc3RzLm1r CisrKyBiL3QvbGlzdC1vZi10ZXN0cy5tawpAQCAtNjg1LDYgKzY4NSw3IEBAIHQvbHRpbnN0 bG9jLnNoIFwKIHQvbHRsaWJvYmpzLnNoIFwKIHQvbHRsaWJzcmMuc2ggXAogdC9sdG9yZGVy LnNoIFwKK3QvbHRfZXh0cmFvcHRzLnNoIFwKIHQvbTQtaW5jbHVzaW9uLnNoIFwKIHQvbWFp bnRjbGVhbi5zaCBcCiB0L21haW50Y2xlYW4tdnBhdGguc2ggXApkaWZmIC0tZ2l0IGEvdC9s dF9leHRyYW9wdHMuc2ggYi90L2x0X2V4dHJhb3B0cy5zaApuZXcgZmlsZSBtb2RlIDEwMDY0 NAppbmRleCAwMDAwMDAwMDAuLmQyNmY0ZTY4OQotLS0gL2Rldi9udWxsCisrKyBiL3QvbHRf ZXh0cmFvcHRzLnNoCkBAIC0wLDAgKzEsNTUgQEAKKyMhIC9iaW4vc2gKKyMgQ29weXJpZ2h0 IChDKSAyMDIzIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLgorIworIyBUaGlzIHBy b2dyYW0gaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29y IG1vZGlmeQorIyBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1Ymxp YyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieQorIyB0aGUgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0 aW9uOyBlaXRoZXIgdmVyc2lvbiAyLCBvciAoYXQgeW91ciBvcHRpb24pCisjIGFueSBsYXRl ciB2ZXJzaW9uLgorIworIyBUaGlzIHByb2dyYW0gaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhv cGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwKKyMgYnV0IFdJVEhPVVQgQU5ZIFdBUlJBTlRZ OyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKKyMgTUVSQ0hBTlRBQklM SVRZIG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiAgU2VlIHRoZQorIyBH TlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBmb3IgbW9yZSBkZXRhaWxzLgorIworIyBZb3Ug c2hvdWxkIGhhdmUgcmVjZWl2ZWQgYSBjb3B5IG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMg TGljZW5zZQorIyBhbG9uZyB3aXRoIHRoaXMgcHJvZ3JhbS4gIElmIG5vdCwgc2VlIDxodHRw czovL3d3dy5nbnUub3JnL2xpY2Vuc2VzLz4uCisKKyMgVGVzdCB0aGUgc3VwcG9ydCBmb3Ig TFRDT01QSUxFX1BSRUZMQUdTIGFuZCBMVENPTVBJTEVfUE9TVEZMQUdTLgorIyBBbHNvLCBh IGdvb2QgcGxhY2UgdG8gdGVzdCBvdGhlciBzaW1pbGFyIG9wdGlvbnMsIGlmIHN1Y2ggY29t ZSBpbiB0aGUgZnV0dXJlLgorCityZXF1aXJlZD0nY2MgbGlidG9vbGl6ZScKKy4gdGVzdC1p bml0LnNoCisKK2NhdCA+PiBjb25maWd1cmUuYWMgPDwgJ0VORCcKK0FDX1BST0dfQ0MKK0FN X1BST0dfQVIKK0FDX0NPTkZJR19NQUNST19ESVJTKFttNF0pCitMVF9JTklUCitBQ19PVVRQ VVQKK0VORAorCitjYXQgPiBNYWtlZmlsZS5hbSA8PCAnRU5EJworbGliX0xUTElCUkFSSUVT ID0gbGliYmxhaC5sYQorbGliYmxhaF9sYV9TT1VSQ0VTID0gYmxhaC5jCitsaWJibGFoX2xh X0xERkxBR1MgPSAtdmVyc2lvbi1pbmZvIDE6MDowCitFTkQKKworY2F0ID4gYmxhaC5jIDw8 ICdFTkQnCitpbnQgbWFpbiAodm9pZCkKK3sKKyAgIHJldHVybiAwOworfQorRU5ECisKK2xp YnRvb2xpemUgLS1mb3JjZSAtLWNvcHkKKyRBQ0xPQ0FMCiskQVVUT0NPTkYKKyRBVVRPTUFL RSAtLWFkZC1taXNzaW5nIC0tY29weQorCisuL2NvbmZpZ3VyZQorCitydW5fbWFrZSAtTSBM VENPTVBJTEVfUFJFRkxBR1M9LS1uby13YXJuaW5ncyBMVENPTVBJTEVfUE9TVEZMQUdTPS1u by1zdXBwcmVzcworZ3JlcCAtLSAnLS1tb2RlPWNvbXBpbGUgLS1uby13YXJuaW5ncycgb3V0 cHV0CitncmVwIC0tICctbm8tc3VwcHJlc3MnIG91dHB1dAorCis6Ci0tIAoyLjM1LjEKCg== --------------0byymV7TBF7p4Ysc60W0YsZr--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sat, 13 Jan 2024 06:20:02 +0000 Resent-Message-ID: <handler.54020.B.17051267826698 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Bogdan <bogdro_rep@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17051267826698 (code B ref -1); Sat, 13 Jan 2024 06:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2024 06:19:42 +0000 Received: from localhost ([127.0.0.1]:38172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOXMs-0001jw-BG for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 01:19:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rOXMp-0001jX-Fz for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 01:19:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rOXMl-0001Rm-5u for automake-patches@HIDDEN; Sat, 13 Jan 2024 01:19:35 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rOXMj-0003TD-IZ for automake-patches@HIDDEN; Sat, 13 Jan 2024 01:19:34 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 71686343183; Sat, 13 Jan 2024 06:19:31 +0000 (UTC) Date: Sat, 13 Jan 2024 01:19:30 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZaIrcmJQ0dt5CWyg@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="frlNvMuKvHTq9Pek" Content-Disposition: inline In-Reply-To: <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> Received-SPF: pass client-ip=140.211.166.183; envelope-from=vapier@HIDDEN; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) --frlNvMuKvHTq9Pek Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 15 Mar 2023 17:31, Bogdan wrote: > Another patch from my side. This one makes it possible for users to=20 > pass additional options to libtool in 'compile' mode. Fixes #54020. >=20 > Added documentation and a test case including the '-no-suppress'=20 > option. All tests with 'lt' or 'libtool' in the name pass. >=20 > Feel free to rename the variables, I just came up with the names=20 > LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions=20 > where the variables are put and the mode they're used in. why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compile command ? $obj_compile expands into e.g. \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) so if someone wants to add flags to C/etc..., they already have knobs to turn. which means this would simplify by only having one variable right ? AM_LTCOMPILE_FLAGS -mike --frlNvMuKvHTq9Pek Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWiK3IACgkQQWM7n+g3 9YEUhBAA2ZfMy9CybBRfttHq64lie3fN2v1YTssMqgCJfskZancLsGzXunvSQzyO U/9BZJK998vq/NhHVwV3NNoMGNLjLgrFknB6MjwBUeTxo+jiH2VeZDGVFI3prwNv TFKfPOjLdyQz+CV8Bz0QwXJxUGyC1Q9FAQgxN0IteEUDIMXnzjHBwr89bhcPEIeL 80VsJlkFwxlVATF0F/ilenlF2LDNCX12JyhY84oxnFNmQvlaIUPFIJxa7YNcCAqj 6lRtA0zMwZF8B/aRrHBbBqOHTJNdxkDrZ/984rMHzYhKMmYG5pi3lEgCLVMFEqLZ 9zeoDtwReDnVDICthIuxzxC/+RYmAP9mgkhQH7hxNfZ2XAQHfF5Op+F9roAG5V7o I7+DReFroQ9PrGPq/fv5LjUtyn6GDKCvaSIgUn1+Fv/QzEZdyRSwZRtujEeQQ3xH EbyYidVkTMdWbBwm/eUtQYxFgCyIlnugtbo3M7yZj9rVQ20dDbOGlK6l0SKxBy0r l65frzgVGdtyGBufTateeCaPKZD2K5eFo0enHqSfzGUOK/wEPfwCvvcoxroFzwIg Po+9JnHVwODsj8T15eveOnjgrcrlaz4jcWGo1FWeqr0XZrN/QmVb26wGzhnv1vPK VdC0adxXWwpyfoWPqIpEonICt0ubfrxbUxEd+4fT7witj9FrzY8= =6aU3 -----END PGP SIGNATURE----- --frlNvMuKvHTq9Pek--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sat, 13 Jan 2024 06:20:02 +0000 Resent-Message-ID: <handler.54020.B54020.17051267786681 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Bogdan <bogdro_rep@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.17051267786681 (code B ref 54020); Sat, 13 Jan 2024 06:20:02 +0000 Received: (at 54020) by debbugs.gnu.org; 13 Jan 2024 06:19:38 +0000 Received: from localhost ([127.0.0.1]:38169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOXMo-0001jh-2d for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 01:19:38 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:57384 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rOXMm-0001jT-7N for 54020 <at> debbugs.gnu.org; Sat, 13 Jan 2024 01:19:36 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 71686343183; Sat, 13 Jan 2024 06:19:31 +0000 (UTC) Date: Sat, 13 Jan 2024 01:19:30 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZaIrcmJQ0dt5CWyg@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="frlNvMuKvHTq9Pek" Content-Disposition: inline In-Reply-To: <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --frlNvMuKvHTq9Pek Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 15 Mar 2023 17:31, Bogdan wrote: > Another patch from my side. This one makes it possible for users to=20 > pass additional options to libtool in 'compile' mode. Fixes #54020. >=20 > Added documentation and a test case including the '-no-suppress'=20 > option. All tests with 'lt' or 'libtool' in the name pass. >=20 > Feel free to rename the variables, I just came up with the names=20 > LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions=20 > where the variables are put and the mode they're used in. why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compile command ? $obj_compile expands into e.g. \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) so if someone wants to add flags to C/etc..., they already have knobs to turn. which means this would simplify by only having one variable right ? AM_LTCOMPILE_FLAGS -mike --frlNvMuKvHTq9Pek Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWiK3IACgkQQWM7n+g3 9YEUhBAA2ZfMy9CybBRfttHq64lie3fN2v1YTssMqgCJfskZancLsGzXunvSQzyO U/9BZJK998vq/NhHVwV3NNoMGNLjLgrFknB6MjwBUeTxo+jiH2VeZDGVFI3prwNv TFKfPOjLdyQz+CV8Bz0QwXJxUGyC1Q9FAQgxN0IteEUDIMXnzjHBwr89bhcPEIeL 80VsJlkFwxlVATF0F/ilenlF2LDNCX12JyhY84oxnFNmQvlaIUPFIJxa7YNcCAqj 6lRtA0zMwZF8B/aRrHBbBqOHTJNdxkDrZ/984rMHzYhKMmYG5pi3lEgCLVMFEqLZ 9zeoDtwReDnVDICthIuxzxC/+RYmAP9mgkhQH7hxNfZ2XAQHfF5Op+F9roAG5V7o I7+DReFroQ9PrGPq/fv5LjUtyn6GDKCvaSIgUn1+Fv/QzEZdyRSwZRtujEeQQ3xH EbyYidVkTMdWbBwm/eUtQYxFgCyIlnugtbo3M7yZj9rVQ20dDbOGlK6l0SKxBy0r l65frzgVGdtyGBufTateeCaPKZD2K5eFo0enHqSfzGUOK/wEPfwCvvcoxroFzwIg Po+9JnHVwODsj8T15eveOnjgrcrlaz4jcWGo1FWeqr0XZrN/QmVb26wGzhnv1vPK VdC0adxXWwpyfoWPqIpEonICt0ubfrxbUxEd+4fT7witj9FrzY8= =6aU3 -----END PGP SIGNATURE----- --frlNvMuKvHTq9Pek--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sat, 13 Jan 2024 21:31:01 +0000 Resent-Message-ID: <handler.54020.B.170518145017567 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Mike Frysinger <vapier@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170518145017567 (code B ref -1); Sat, 13 Jan 2024 21:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2024 21:30:50 +0000 Received: from localhost ([127.0.0.1]:41254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOlab-0004Yk-3h for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 16:30:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1rOlaY-0004NM-EO for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 16:30:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1rOlaN-0004i8-Fc for automake-patches@HIDDEN; Sat, 13 Jan 2024 16:30:42 -0500 Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1rOlaD-0002a3-BC for automake-patches@HIDDEN; Sat, 13 Jan 2024 16:30:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.us; s=s31663417; t=1705181398; x=1705786198; i=bogdro_rep@HIDDEN; bh=lJMusE5+kwUdpEH96wybK4J7PBlZof2glR8KeZZbzMQ=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=sngOCPGJmfc9WDbDk5pasQYVnO0rfq3YWTPfMgc+kS4V64+GdBkTcry5I8xjqUB2 4UX89cCb+/HjRS8D2fMHDr23VwxZkDcy8b2aiKKifl3wmbfxsAUIAGdk+/lhqrv2q u0F7gqX9Do8bxUgaoGFT+qPccRdzdxFJQ3ZlYg2XfdrAh+kf7cx+v31+LgUiBMgCV S/h7GGz6E5zgyJ7zOFasbvK1JwTlufulMufM6W5qQ0c+fqMDSW5VUdeP9zfHzQEPc qE9uCnv8El49zFGUTMOgSNNmiXoHksayBtXROuOjawyPLEvSJNwnsViOLWtYDq1iK u6XsPpaJLq/SdyNxzA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.4] ([83.255.207.180]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MEUz4-1rM4xI1wxG-00G1eS; Sat, 13 Jan 2024 22:29:58 +0100 Message-ID: <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> Date: Sat, 13 Jan 2024 22:29:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB, sv-SE, pl References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> From: Bogdan <bogdro_rep@HIDDEN> In-Reply-To: <ZaIrcmJQ0dt5CWyg@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:exCabvGOBNOEyMiPI25AXMhfyW/PzoF4nupFyC7tY2He5iJQBy6 Lu55fYBxScTx2xSqRvS2pd6euDzvcb+Tai/3MBoVT22Ci4x+fXq4N4FUeNorTll5wASakGl Bul3OxfZdbGW7Xl6kJDdc3pKT4crHVvnlqwrPzKsBGTO43V2N5d/2vhfjauFPIlLhkpRfGE F82FeEAlnMwJyvXaTkWKw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AnkHXF3il/Q=;scvM7hWxkPS7XqwDDHqWm0PB0iJ g6UJ3TH0GJhMb7idh+g/2I8CuFypk0b9sBAYpRUeDmQsdDepy0WnGLlzPPoN0Tkrn61KxNFwo XHKeZZ6Tz+Rs5mFs/7x85Mid3GiL4H+k1F0Xru7SUjSbpE4eREB8BpbXLYeA2TgbD1FO1ucWI rTIr1wmvOM+d0fTlMHiD99/rlzm6k4XcnN4ebC/puKjwtY5yzKE9psUzHwIlLkGX3dJ6+R4Vr su1i5J2Vodikl/Xp1sH822XKGf+zQix5l94HL9O9ti8sanry3hatGEJdRXlJvm3AXQOjT9pSN 614lWfLGRXPlHlfxfGSC1DDnHVlrvtT3Ps3kqlYR25LQMUWwdEhM33HshRnU6vPHjYe5Uim06 yXo45FJJ9TiLJfmAWMjRHA+btSJGkDXzY4cXH3wANlxg5cPOdFuOvELk0T6rLfWYmmnngGclQ M5AJKLFuS6ktt1f139yZjNNgKlylDV7bhuPRwPZCxQcUWooE7bzyzzdVVLo9be03K+Ii0Dacg /EOlwe7oFyI5BpyZvY6xRQnbfA62CGpU0N5edfFUEZTglavGDl4VPIz1jMcd+wJLPdxQLm81f MgYsMtBLjXb1Aj/f8N4rS4eUXtOy7Pbfebtpq2uVX9s3d6RMgXZMcfDiGA01WC0gwrUUAlfSd dFpLMiJ1kzTmofliBv+qURTQmAjLpYDXA7yxNjrnt/AApy3rTgmbgQee0mQajaNWKIzwXZjeP +bG7iCs1HsUvohciTkJ207jlvrAuTCViFygu4A7PjIYcT/2jfB1dylvYk+WjTgqBNzDWUE4l2 KmSAIqCi6WxDRMqQgr9F/wrvbk6oZ7O7Ebq6B2DEKzDDisRg8tYX57fd80jaBWHuV2iyKM0WC WP54lNbDwFnxYL/CTBLDcEAMHaR9KH7Dv7WkPBsJBHWnBAke4CsWP/OP/Uc2DXE427TQBJXQs 1/Qc0EIIKZRO/yM66xQghek3q7g= Received-SPF: pass client-ip=212.227.17.22; envelope-from=bogdro_rep@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > On 15 Mar 2023 17:31, Bogdan wrote: >> Another patch from my side. This one makes it possible for users to >> pass additional options to libtool in 'compile' mode. Fixes #54020. >> >> Added documentation and a test case including the '-no-suppress' >> option. All tests with 'lt' or 'libtool' in the name pass. >> >> Feel free to rename the variables, I just came up with the names >> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions >> where the variables are put and the mode they're used in. > > why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compile > command ? $obj_compile expands into e.g. > \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) > > so if someone wants to add flags to C/etc..., they already have knobs > to turn. > > which means this would simplify by only having one variable right ? > AM_LTCOMPILE_FLAGS > -mike Seems so, at least for now. At least for C compilers. At least until $obj_compile becomes something else in the future or something more, or even now contains (or will contain) other options after $(CFLAGS) on the command line when using other compilers. For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should suffice, at least now, as it seems. I've made pre- and post- flags for better flexibility, to be future-proof. =2D- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sat, 13 Jan 2024 21:31:02 +0000 Resent-Message-ID: <handler.54020.B54020.170518142515224 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Mike Frysinger <vapier@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170518142515224 (code B ref 54020); Sat, 13 Jan 2024 21:31:02 +0000 Received: (at 54020) by debbugs.gnu.org; 13 Jan 2024 21:30:25 +0000 Received: from localhost ([127.0.0.1]:41250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOlaC-0003x8-EJ for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 16:30:25 -0500 Received: from mout.gmx.net ([212.227.17.22]:44877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1rOla7-0003aJ-NH for 54020 <at> debbugs.gnu.org; Sat, 13 Jan 2024 16:30:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.us; s=s31663417; t=1705181398; x=1705786198; i=bogdro_rep@HIDDEN; bh=lJMusE5+kwUdpEH96wybK4J7PBlZof2glR8KeZZbzMQ=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=sngOCPGJmfc9WDbDk5pasQYVnO0rfq3YWTPfMgc+kS4V64+GdBkTcry5I8xjqUB2 4UX89cCb+/HjRS8D2fMHDr23VwxZkDcy8b2aiKKifl3wmbfxsAUIAGdk+/lhqrv2q u0F7gqX9Do8bxUgaoGFT+qPccRdzdxFJQ3ZlYg2XfdrAh+kf7cx+v31+LgUiBMgCV S/h7GGz6E5zgyJ7zOFasbvK1JwTlufulMufM6W5qQ0c+fqMDSW5VUdeP9zfHzQEPc qE9uCnv8El49zFGUTMOgSNNmiXoHksayBtXROuOjawyPLEvSJNwnsViOLWtYDq1iK u6XsPpaJLq/SdyNxzA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.4] ([83.255.207.180]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MEUz4-1rM4xI1wxG-00G1eS; Sat, 13 Jan 2024 22:29:58 +0100 Message-ID: <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> Date: Sat, 13 Jan 2024 22:29:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB, sv-SE, pl References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> From: Bogdan <bogdro_rep@HIDDEN> In-Reply-To: <ZaIrcmJQ0dt5CWyg@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:exCabvGOBNOEyMiPI25AXMhfyW/PzoF4nupFyC7tY2He5iJQBy6 Lu55fYBxScTx2xSqRvS2pd6euDzvcb+Tai/3MBoVT22Ci4x+fXq4N4FUeNorTll5wASakGl Bul3OxfZdbGW7Xl6kJDdc3pKT4crHVvnlqwrPzKsBGTO43V2N5d/2vhfjauFPIlLhkpRfGE F82FeEAlnMwJyvXaTkWKw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:AnkHXF3il/Q=;scvM7hWxkPS7XqwDDHqWm0PB0iJ g6UJ3TH0GJhMb7idh+g/2I8CuFypk0b9sBAYpRUeDmQsdDepy0WnGLlzPPoN0Tkrn61KxNFwo XHKeZZ6Tz+Rs5mFs/7x85Mid3GiL4H+k1F0Xru7SUjSbpE4eREB8BpbXLYeA2TgbD1FO1ucWI rTIr1wmvOM+d0fTlMHiD99/rlzm6k4XcnN4ebC/puKjwtY5yzKE9psUzHwIlLkGX3dJ6+R4Vr su1i5J2Vodikl/Xp1sH822XKGf+zQix5l94HL9O9ti8sanry3hatGEJdRXlJvm3AXQOjT9pSN 614lWfLGRXPlHlfxfGSC1DDnHVlrvtT3Ps3kqlYR25LQMUWwdEhM33HshRnU6vPHjYe5Uim06 yXo45FJJ9TiLJfmAWMjRHA+btSJGkDXzY4cXH3wANlxg5cPOdFuOvELk0T6rLfWYmmnngGclQ M5AJKLFuS6ktt1f139yZjNNgKlylDV7bhuPRwPZCxQcUWooE7bzyzzdVVLo9be03K+Ii0Dacg /EOlwe7oFyI5BpyZvY6xRQnbfA62CGpU0N5edfFUEZTglavGDl4VPIz1jMcd+wJLPdxQLm81f MgYsMtBLjXb1Aj/f8N4rS4eUXtOy7Pbfebtpq2uVX9s3d6RMgXZMcfDiGA01WC0gwrUUAlfSd dFpLMiJ1kzTmofliBv+qURTQmAjLpYDXA7yxNjrnt/AApy3rTgmbgQee0mQajaNWKIzwXZjeP +bG7iCs1HsUvohciTkJ207jlvrAuTCViFygu4A7PjIYcT/2jfB1dylvYk+WjTgqBNzDWUE4l2 KmSAIqCi6WxDRMqQgr9F/wrvbk6oZ7O7Ebq6B2DEKzDDisRg8tYX57fd80jaBWHuV2iyKM0WC WP54lNbDwFnxYL/CTBLDcEAMHaR9KH7Dv7WkPBsJBHWnBAke4CsWP/OP/Uc2DXE427TQBJXQs 1/Qc0EIIKZRO/yM66xQghek3q7g= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > On 15 Mar 2023 17:31, Bogdan wrote: >> Another patch from my side. This one makes it possible for users to >> pass additional options to libtool in 'compile' mode. Fixes #54020. >> >> Added documentation and a test case including the '-no-suppress' >> option. All tests with 'lt' or 'libtool' in the name pass. >> >> Feel free to rename the variables, I just came up with the names >> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions >> where the variables are put and the mode they're used in. > > why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compile > command ? $obj_compile expands into e.g. > \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) > > so if someone wants to add flags to C/etc..., they already have knobs > to turn. > > which means this would simplify by only having one variable right ? > AM_LTCOMPILE_FLAGS > -mike Seems so, at least for now. At least for C compilers. At least until $obj_compile becomes something else in the future or something more, or even now contains (or will contain) other options after $(CFLAGS) on the command line when using other compilers. For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should suffice, at least now, as it seems. I've made pre- and post- flags for better flexibility, to be future-proof. =2D- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sun, 14 Jan 2024 01:07:01 +0000 Resent-Message-ID: <handler.54020.B.170519437626711 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Bogdan <bogdro_rep@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170519437626711 (code B ref -1); Sun, 14 Jan 2024 01:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 01:06:16 +0000 Received: from localhost ([127.0.0.1]:41388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOox5-0006wk-FS for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 20:06:15 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rOox2-0006wI-Hx for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 20:06:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rOowx-0002pd-Lz for automake-patches@HIDDEN; Sat, 13 Jan 2024 20:06:07 -0500 Received: from smtp.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rOowv-00022r-NN for automake-patches@HIDDEN; Sat, 13 Jan 2024 20:06:07 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id B86333431D7; Sun, 14 Jan 2024 01:06:01 +0000 (UTC) Date: Sat, 13 Jan 2024 20:06:00 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZaMzePo5trTXL-aX@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0vSo1TERNtRr0qvH" Content-Disposition: inline In-Reply-To: <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=vapier@HIDDEN; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) --0vSo1TERNtRr0qvH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 13 Jan 2024 22:29, Bogdan wrote: > Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > > On 15 Mar 2023 17:31, Bogdan wrote: > >> Another patch from my side. This one makes it possible for users to > >> pass additional options to libtool in 'compile' mode. Fixes #54020. > >> > >> Added documentation and a test case including the '-no-suppress' > >> option. All tests with 'lt' or 'libtool' in the name pass. > >> > >> Feel free to rename the variables, I just came up with the names > >> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions > >> where the variables are put and the mode they're used in. > > > > why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compile > > command ? $obj_compile expands into e.g. > > \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) > > > > so if someone wants to add flags to C/etc..., they already have knobs > > to turn. > > > > which means this would simplify by only having one variable right ? > > AM_LTCOMPILE_FLAGS >=20 > Seems so, at least for now. At least for C compilers. At least until > $obj_compile becomes something else in the future or something more, > or even now contains (or will contain) other options after $(CFLAGS) > on the command line when using other compilers. > For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should > suffice, at least now, as it seems. I've made pre- and post- flags for > better flexibility, to be future-proof. i don't see there ever being a future need here. libtool's design is that it stops processing after the first non-argument after --mode=3Dcompile, and everything else is a wrapped command which libtool blindly executes. those commands should have their own set of flags, and libtool is irrelevant at that point, so giving it a libtool-centric name that is used regardless of the wrapped command will never make sense. -mike --0vSo1TERNtRr0qvH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWjM3gACgkQQWM7n+g3 9YF5yQ//ZFNs/P4zZpq9FJuaIAd0GeI6lVHw0C+aJEh4ktaEfhx/NU2DgkKvKFzX OxFLNi9/0Ed+XqtHsN3C6LhXPMy9Se5qJP0x0E+hjmyDWu7zi+vprcLMJ4AF5Ecq idBQg9c3s7ngkiYWkzMxkfzomLpXoPNuAwyXRjSqZdG94+azeoo5roWUwsVovqTQ lOGfJxvt4eP7Qjsdw1zLzaNp4XJZBv+G/cS8M66Z5BIMlcIvsBzz9RbGDirlkpAV eivp4zJE/ah3vttclieIZzUFfua4NIlLdXvMKwPbYAlqAEccbiX0SqHeRJyczp2t r0SnSTruF1FeCyEtWVGXVQPtnyjrsW9wxNlLtYMqQryUBuo5X0UUQpvLsmB5iKkL ZDKW8BDzJeNhpMPnWz05m5NHSU+k+wVJWT7cXlHoz00K3T4HdxwQ4G9nPQ0SGQwh D0rwtf7MJwQCR8NjuWaArFIo15QDwxQUUQ2HiqOaaxQiyYkLmdfp8ZRE56ZTjLhO yfp1aDTZIwKKU9/wkNJ92y3hTnpJQsXYKGDN2q6zm0DvJa7ixKrgwJOlXA1Vd/6Z gMV/2GUA6ZIVYPJgCduxP8E7sudLeCIUVzt+eJUogs52R65NwKy8181mQREt3aA6 25ho1+QyaHAd2RsxeHrHWyb5aZDr4ZhB3HnF9tzjJQfbn3oZtHc= =oXLV -----END PGP SIGNATURE----- --0vSo1TERNtRr0qvH--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sun, 14 Jan 2024 01:07:02 +0000 Resent-Message-ID: <handler.54020.B54020.170519436926691 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Bogdan <bogdro_rep@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170519436926691 (code B ref 54020); Sun, 14 Jan 2024 01:07:02 +0000 Received: (at 54020) by debbugs.gnu.org; 14 Jan 2024 01:06:09 +0000 Received: from localhost ([127.0.0.1]:41385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOowz-0006wQ-3I for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 20:06:09 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:59342 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rOoww-0006vu-RN for 54020 <at> debbugs.gnu.org; Sat, 13 Jan 2024 20:06:07 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id B86333431D7; Sun, 14 Jan 2024 01:06:01 +0000 (UTC) Date: Sat, 13 Jan 2024 20:06:00 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZaMzePo5trTXL-aX@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0vSo1TERNtRr0qvH" Content-Disposition: inline In-Reply-To: <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --0vSo1TERNtRr0qvH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 13 Jan 2024 22:29, Bogdan wrote: > Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > > On 15 Mar 2023 17:31, Bogdan wrote: > >> Another patch from my side. This one makes it possible for users to > >> pass additional options to libtool in 'compile' mode. Fixes #54020. > >> > >> Added documentation and a test case including the '-no-suppress' > >> option. All tests with 'lt' or 'libtool' in the name pass. > >> > >> Feel free to rename the variables, I just came up with the names > >> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions > >> where the variables are put and the mode they're used in. > > > > why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compile > > command ? $obj_compile expands into e.g. > > \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) > > > > so if someone wants to add flags to C/etc..., they already have knobs > > to turn. > > > > which means this would simplify by only having one variable right ? > > AM_LTCOMPILE_FLAGS >=20 > Seems so, at least for now. At least for C compilers. At least until > $obj_compile becomes something else in the future or something more, > or even now contains (or will contain) other options after $(CFLAGS) > on the command line when using other compilers. > For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should > suffice, at least now, as it seems. I've made pre- and post- flags for > better flexibility, to be future-proof. i don't see there ever being a future need here. libtool's design is that it stops processing after the first non-argument after --mode=3Dcompile, and everything else is a wrapped command which libtool blindly executes. those commands should have their own set of flags, and libtool is irrelevant at that point, so giving it a libtool-centric name that is used regardless of the wrapped command will never make sense. -mike --0vSo1TERNtRr0qvH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWjM3gACgkQQWM7n+g3 9YF5yQ//ZFNs/P4zZpq9FJuaIAd0GeI6lVHw0C+aJEh4ktaEfhx/NU2DgkKvKFzX OxFLNi9/0Ed+XqtHsN3C6LhXPMy9Se5qJP0x0E+hjmyDWu7zi+vprcLMJ4AF5Ecq idBQg9c3s7ngkiYWkzMxkfzomLpXoPNuAwyXRjSqZdG94+azeoo5roWUwsVovqTQ lOGfJxvt4eP7Qjsdw1zLzaNp4XJZBv+G/cS8M66Z5BIMlcIvsBzz9RbGDirlkpAV eivp4zJE/ah3vttclieIZzUFfua4NIlLdXvMKwPbYAlqAEccbiX0SqHeRJyczp2t r0SnSTruF1FeCyEtWVGXVQPtnyjrsW9wxNlLtYMqQryUBuo5X0UUQpvLsmB5iKkL ZDKW8BDzJeNhpMPnWz05m5NHSU+k+wVJWT7cXlHoz00K3T4HdxwQ4G9nPQ0SGQwh D0rwtf7MJwQCR8NjuWaArFIo15QDwxQUUQ2HiqOaaxQiyYkLmdfp8ZRE56ZTjLhO yfp1aDTZIwKKU9/wkNJ92y3hTnpJQsXYKGDN2q6zm0DvJa7ixKrgwJOlXA1Vd/6Z gMV/2GUA6ZIVYPJgCduxP8E7sudLeCIUVzt+eJUogs52R65NwKy8181mQREt3aA6 25ho1+QyaHAd2RsxeHrHWyb5aZDr4ZhB3HnF9tzjJQfbn3oZtHc= =oXLV -----END PGP SIGNATURE----- --0vSo1TERNtRr0qvH--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sun, 14 Jan 2024 17:57:01 +0000 Resent-Message-ID: <handler.54020.B.170525498414811 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Mike Frysinger <vapier@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170525498414811 (code B ref -1); Sun, 14 Jan 2024 17:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 17:56:24 +0000 Received: from localhost ([127.0.0.1]:44083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rP4ie-0003qp-9k for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 12:56:24 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1rP4ib-0003qb-JV for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 12:56:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1rP4iV-0004gG-WC for automake-patches@HIDDEN; Sun, 14 Jan 2024 12:56:16 -0500 Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1rP4iT-0006Ke-NV for automake-patches@HIDDEN; Sun, 14 Jan 2024 12:56:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.us; s=s31663417; t=1705254955; x=1705859755; i=bogdro_rep@HIDDEN; bh=4wvVkEekzaSzmLXGfR2eN0uDfflof1vrRb9kYlLgxws=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=jabdfwYBZJXMsL8CRK87evG468tBz3AYyRzytZKXNXFgabmb8hQ3fE9JLpEITvmK mivb8MubsYxoZQiSDyfyCvDWXSmnxf/LCQtCrP3BlRbbwmfcvK3NdkstgjBcHqBFh S7Pm/qW5bGaxMsVION/gowDv4jz8+FlPq2GCDkiMG8eqVxQniPNVwsex1vt55nzDP wWk1kNKtU6YbfKg9nWRxBrMAqOGRSm7r3CezPwwoiZA8pZiP2AOkSUKz2rkOPEOI5 96RP5I2ryJsCA11wn2sOES/flPJUMmZFyHp+euPGzqQgempmpmkgq7hNnntpOK3Vq BFtTq38S9dkh3iKsJQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.4] ([83.255.207.180]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MPGVx-1rmY593VnR-00Pckb; Sun, 14 Jan 2024 18:55:54 +0100 Message-ID: <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> Date: Sun, 14 Jan 2024 18:55:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> From: Bogdan <bogdro_rep@HIDDEN> In-Reply-To: <ZaMzePo5trTXL-aX@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:LjrT+i7C1/HULaLvkKWV/Q7om2woK+OCE+kN4ZJgLpCGct0ADFW vIYfNgtHeaKA74dETMiUQXln/cR8Q11J8CSVR4sASEyUW/71jEqaofFJ96SYAGkKUkU6HUC 5ae3YC8sTrjEX754XnMHndabTrGPCsD8jlNCQiKIyfxOPL5KG4BV6NZWWKo51OJ5PTpbLEx g7YWoQWGKDf/vfqK7ENMQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:F9U0vPQZpQg=;ANLbOmxfFBGZ5/jpflGrvmvJS8L YXz1SHIJxOE9buqWjCM6KPZ7YgqxryX7P36O73EXIWvkFKmLcusd0aNL1mjB9YaMs8BMkGCoh WG29LpL23Z/HoxKqFFc7tDzs58CFTcx8lQelmcha0+Ded311ZDqmb/z7iobAWRdbIg/fQXBAD Xp8gsBkz94qLREA0wFwLbN4K5asMdRnVfWOEXgCnMiUq12JN7+Y2dPPl/dBJibprJi7A9lbot ieSv6BhRRFXVvU5IPkKeLT65hH3UGC3+wl9rtPa8+IXnzemzy/X7ZLGuJ9oTYMWhvw6T0ICv1 HHvjiN5rQU9GM8Ed1OER3A93uCTr++7iwlIrhNQ26xnLIwsVvQ9ZZR1hEFjw15poJXi2N5eHe ey379C1iNNd3QDDBZaf6k76MncdEsHIuqt5KcqwvFDIuqim2ks6TZubQhBPKuIJfvzzwxntuV +uCQ/WJLab0qyJPJyjWbS1mcigIzSO7SJVszJtxjvVhKrjv8KPho+H4Fn4SO44TkMcQEQiWkh W4dJqo+6snTlXCIXmtFj/661le1F7yjhuTHpppOGEibB/Ai6sE38YmhBdJZSkPbep+gcAUKFd Aq+Og7nJSmPcIvFFXJkkrttS2UVsJR4gMTtynmeuR+Nya5toETmpwi211uRC2u+7yVwizTMkb LhPvIfPu8VLfDQ7LaPGXXwv6S8hnT7eHjTp5Qwqnnpkuv8GYboE7ImNHCKmH/Jtq71yug1JuZ BtdwxD4TwOa9IHKvH74C+1SjOPZLLRng0f/Si+pkx+80VLM0Hmmp2XlGw+wDKjMI2/9M3PIKD pyrEfdOUxbrw2bJBQixvg3bLZbAKF30ASTKH4lO/2Fnf/4oAsdBsF50ouHOvuexpGPAJLuuqC O92bG26bh2dlZqD3xVhNaduryDYhX4uASfB2B7UfWqUOqzZzg6S7IDecAVGcFI9NAtRDDc24n 5aJLA2jkowoE3ky6neWoMFXIBlY= Received-SPF: pass client-ip=212.227.17.20; envelope-from=bogdro_rep@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Mike Frysinger <vapier@HIDDEN>, 2024-01-14 02:06: > On 13 Jan 2024 22:29, Bogdan wrote: >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: >>> On 15 Mar 2023 17:31, Bogdan wrote: >>>> Another patch from my side. This one makes it possible for users = to >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. >>>> >>>> Added documentation and a test case including the '-no-suppress' >>>> option. All tests with 'lt' or 'libtool' in the name pass. >>>> >>>> Feel free to rename the variables, I just came up with the names >>>> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions >>>> where the variables are put and the mode they're used in. >>> >>> why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compil= e >>> command ? $obj_compile expands into e.g. >>> \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) >>> >>> so if someone wants to add flags to C/etc..., they already have knobs >>> to turn. >>> >>> which means this would simplify by only having one variable right ? >>> AM_LTCOMPILE_FLAGS >> >> Seems so, at least for now. At least for C compilers. At least until >> $obj_compile becomes something else in the future or something more, >> or even now contains (or will contain) other options after $(CFLAGS) >> on the command line when using other compilers. >> For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should >> suffice, at least now, as it seems. I've made pre- and post- flags for >> better flexibility, to be future-proof. > > i don't see there ever being a future need here. libtool's design is th= at > it stops processing after the first non-argument after --mode=3Dcompile,= and > everything else is a wrapped command which libtool blindly executes. th= ose > commands should have their own set of flags, and libtool is irrelevant a= t > that point, so giving it a libtool-centric name that is used regardless = of > the wrapped command will never make sense. > -mike And that's probably something I wasn't aware of. If it's dead/useless code, feel free to remove this part. The fact that I made a patch doesn't mean that it must be applied as a whole and never changed. =2D- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Sun, 14 Jan 2024 17:57:02 +0000 Resent-Message-ID: <handler.54020.B54020.170525497314785 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Mike Frysinger <vapier@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170525497314785 (code B ref 54020); Sun, 14 Jan 2024 17:57:02 +0000 Received: (at 54020) by debbugs.gnu.org; 14 Jan 2024 17:56:13 +0000 Received: from localhost ([127.0.0.1]:44080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rP4iS-0003qO-Mv for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 12:56:13 -0500 Received: from mout.gmx.net ([212.227.17.20]:53359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1rP4iO-0003q8-4l for 54020 <at> debbugs.gnu.org; Sun, 14 Jan 2024 12:56:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.us; s=s31663417; t=1705254955; x=1705859755; i=bogdro_rep@HIDDEN; bh=4wvVkEekzaSzmLXGfR2eN0uDfflof1vrRb9kYlLgxws=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=jabdfwYBZJXMsL8CRK87evG468tBz3AYyRzytZKXNXFgabmb8hQ3fE9JLpEITvmK mivb8MubsYxoZQiSDyfyCvDWXSmnxf/LCQtCrP3BlRbbwmfcvK3NdkstgjBcHqBFh S7Pm/qW5bGaxMsVION/gowDv4jz8+FlPq2GCDkiMG8eqVxQniPNVwsex1vt55nzDP wWk1kNKtU6YbfKg9nWRxBrMAqOGRSm7r3CezPwwoiZA8pZiP2AOkSUKz2rkOPEOI5 96RP5I2ryJsCA11wn2sOES/flPJUMmZFyHp+euPGzqQgempmpmkgq7hNnntpOK3Vq BFtTq38S9dkh3iKsJQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.4] ([83.255.207.180]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MPGVx-1rmY593VnR-00Pckb; Sun, 14 Jan 2024 18:55:54 +0100 Message-ID: <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> Date: Sun, 14 Jan 2024 18:55:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> From: Bogdan <bogdro_rep@HIDDEN> In-Reply-To: <ZaMzePo5trTXL-aX@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:LjrT+i7C1/HULaLvkKWV/Q7om2woK+OCE+kN4ZJgLpCGct0ADFW vIYfNgtHeaKA74dETMiUQXln/cR8Q11J8CSVR4sASEyUW/71jEqaofFJ96SYAGkKUkU6HUC 5ae3YC8sTrjEX754XnMHndabTrGPCsD8jlNCQiKIyfxOPL5KG4BV6NZWWKo51OJ5PTpbLEx g7YWoQWGKDf/vfqK7ENMQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:F9U0vPQZpQg=;ANLbOmxfFBGZ5/jpflGrvmvJS8L YXz1SHIJxOE9buqWjCM6KPZ7YgqxryX7P36O73EXIWvkFKmLcusd0aNL1mjB9YaMs8BMkGCoh WG29LpL23Z/HoxKqFFc7tDzs58CFTcx8lQelmcha0+Ded311ZDqmb/z7iobAWRdbIg/fQXBAD Xp8gsBkz94qLREA0wFwLbN4K5asMdRnVfWOEXgCnMiUq12JN7+Y2dPPl/dBJibprJi7A9lbot ieSv6BhRRFXVvU5IPkKeLT65hH3UGC3+wl9rtPa8+IXnzemzy/X7ZLGuJ9oTYMWhvw6T0ICv1 HHvjiN5rQU9GM8Ed1OER3A93uCTr++7iwlIrhNQ26xnLIwsVvQ9ZZR1hEFjw15poJXi2N5eHe ey379C1iNNd3QDDBZaf6k76MncdEsHIuqt5KcqwvFDIuqim2ks6TZubQhBPKuIJfvzzwxntuV +uCQ/WJLab0qyJPJyjWbS1mcigIzSO7SJVszJtxjvVhKrjv8KPho+H4Fn4SO44TkMcQEQiWkh W4dJqo+6snTlXCIXmtFj/661le1F7yjhuTHpppOGEibB/Ai6sE38YmhBdJZSkPbep+gcAUKFd Aq+Og7nJSmPcIvFFXJkkrttS2UVsJR4gMTtynmeuR+Nya5toETmpwi211uRC2u+7yVwizTMkb LhPvIfPu8VLfDQ7LaPGXXwv6S8hnT7eHjTp5Qwqnnpkuv8GYboE7ImNHCKmH/Jtq71yug1JuZ BtdwxD4TwOa9IHKvH74C+1SjOPZLLRng0f/Si+pkx+80VLM0Hmmp2XlGw+wDKjMI2/9M3PIKD pyrEfdOUxbrw2bJBQixvg3bLZbAKF30ASTKH4lO/2Fnf/4oAsdBsF50ouHOvuexpGPAJLuuqC O92bG26bh2dlZqD3xVhNaduryDYhX4uASfB2B7UfWqUOqzZzg6S7IDecAVGcFI9NAtRDDc24n 5aJLA2jkowoE3ky6neWoMFXIBlY= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Mike Frysinger <vapier@HIDDEN>, 2024-01-14 02:06: > On 13 Jan 2024 22:29, Bogdan wrote: >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: >>> On 15 Mar 2023 17:31, Bogdan wrote: >>>> Another patch from my side. This one makes it possible for users = to >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. >>>> >>>> Added documentation and a test case including the '-no-suppress' >>>> option. All tests with 'lt' or 'libtool' in the name pass. >>>> >>>> Feel free to rename the variables, I just came up with the names >>>> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions >>>> where the variables are put and the mode they're used in. >>> >>> why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compil= e >>> command ? $obj_compile expands into e.g. >>> \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) >>> >>> so if someone wants to add flags to C/etc..., they already have knobs >>> to turn. >>> >>> which means this would simplify by only having one variable right ? >>> AM_LTCOMPILE_FLAGS >> >> Seems so, at least for now. At least for C compilers. At least until >> $obj_compile becomes something else in the future or something more, >> or even now contains (or will contain) other options after $(CFLAGS) >> on the command line when using other compilers. >> For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should >> suffice, at least now, as it seems. I've made pre- and post- flags for >> better flexibility, to be future-proof. > > i don't see there ever being a future need here. libtool's design is th= at > it stops processing after the first non-argument after --mode=3Dcompile,= and > everything else is a wrapped command which libtool blindly executes. th= ose > commands should have their own set of flags, and libtool is irrelevant a= t > that point, so giving it a libtool-centric name that is used regardless = of > the wrapped command will never make sense. > -mike And that's probably something I wasn't aware of. If it's dead/useless code, feel free to remove this part. The fact that I made a patch doesn't mean that it must be applied as a whole and never changed. =2D- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Roumen Petrov <bugtrack@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Tue, 16 Jan 2024 20:45:02 +0000 Resent-Message-ID: <handler.54020.B.170543787829732 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Cc: Bogdan <bogdro_rep@HIDDEN>, Mike Frysinger <vapier@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.170543787829732 (code B ref -1); Tue, 16 Jan 2024 20:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2024 20:44:38 +0000 Received: from localhost ([127.0.0.1]:49859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPqIY-0007jU-In for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 15:44:38 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bugtrack@HIDDEN>) id 1rPqIW-0007jB-39 for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 15:44:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bugtrack@HIDDEN>) id 1rPqIP-0000tE-P3 for automake-patches@HIDDEN; Tue, 16 Jan 2024 15:44:29 -0500 Received: from rila.superhosting.bg ([91.196.125.212]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bugtrack@HIDDEN>) id 1rPqIN-0005Cx-BW for automake-patches@HIDDEN; Tue, 16 Jan 2024 15:44:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roumenpetrov.info; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=i1Vb8x7Dkor5DSJTe0fRhYz13NH574UDSgYkCB9YyV0=; b=YgSYPLlVRTaUg8DnX6qom8r7i6 bHoza6eAehhA5gl41XvSx8TBlwW9tUF8mm3HeXYlLxSrAqukUUSTo8Ykztl/FFXiFuxs7VGGlZmP+ dbaL8e4D6VlK16SZ8UrC4ZFc1MaodDkE/vmT6xTejvt8zHFADAab7t8pEI0gj43QON+9vH42sIccS ND6x+gabKl/NJk3pVWg3SfmPficlL9EJRF1aqxOg9BiTKQ2FpD3LbuxOT3FtRRKIWOHUHLPOMs9vo v6KNAZwKseLINrglL4LPGIECEwZJazZXK8jgYIL5EirBygLDfG7HJ61Kcftog8cUzu3kppwFeB8lp UjFrd77Q==; Received: from [78.128.48.21] (port=57084 helo=master.example.net) by rila.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from <bugtrack@HIDDEN>) id 1rPqIF-00050U-2X; Tue, 16 Jan 2024 22:44:22 +0200 References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> From: Roumen Petrov <bugtrack@HIDDEN> Message-ID: <ffd04ea5-cd55-e7b2-9140-f9c15c04ffd7@HIDDEN> Date: Tue, 16 Jan 2024 22:43:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18 MIME-Version: 1.0 In-Reply-To: <ZaMzePo5trTXL-aX@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rila.superhosting.bg X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roumenpetrov.info X-Get-Message-Sender-Via: rila.superhosting.bg: authenticated_id: master78@HIDDEN X-Authenticated-Sender: rila.superhosting.bg: master78@HIDDEN X-Source: X-Source-Args: X-Source-Dir: Received-SPF: pass client-ip=91.196.125.212; envelope-from=bugtrack@HIDDEN; helo=rila.superhosting.bg X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.748, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.1 (---) Mike Frysinger wrote: > On 13 Jan 2024 22:29, Bogdan wrote: >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: >>> On 15 Mar 2023 17:31, Bogdan wrote: >>>> Another patch from my side. This one makes it possible for users to >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. >>>> [SNIP] Libtool support options that allows user to pass flags either or compiler or linker. I cannot see needs for more flags and variables. Regards, Roumen Petrov
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Roumen Petrov <bugtrack@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Tue, 16 Jan 2024 20:45:03 +0000 Resent-Message-ID: <handler.54020.B54020.170543787029706 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Cc: Bogdan <bogdro_rep@HIDDEN>, Mike Frysinger <vapier@HIDDEN> Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170543787029706 (code B ref 54020); Tue, 16 Jan 2024 20:45:03 +0000 Received: (at 54020) by debbugs.gnu.org; 16 Jan 2024 20:44:30 +0000 Received: from localhost ([127.0.0.1]:49855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPqIQ-0007j2-7y for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 15:44:30 -0500 Received: from rila.superhosting.bg ([91.196.125.212]:37572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bugtrack@HIDDEN>) id 1rPqIO-0007il-As for 54020 <at> debbugs.gnu.org; Tue, 16 Jan 2024 15:44:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roumenpetrov.info; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=i1Vb8x7Dkor5DSJTe0fRhYz13NH574UDSgYkCB9YyV0=; b=YgSYPLlVRTaUg8DnX6qom8r7i6 bHoza6eAehhA5gl41XvSx8TBlwW9tUF8mm3HeXYlLxSrAqukUUSTo8Ykztl/FFXiFuxs7VGGlZmP+ dbaL8e4D6VlK16SZ8UrC4ZFc1MaodDkE/vmT6xTejvt8zHFADAab7t8pEI0gj43QON+9vH42sIccS ND6x+gabKl/NJk3pVWg3SfmPficlL9EJRF1aqxOg9BiTKQ2FpD3LbuxOT3FtRRKIWOHUHLPOMs9vo v6KNAZwKseLINrglL4LPGIECEwZJazZXK8jgYIL5EirBygLDfG7HJ61Kcftog8cUzu3kppwFeB8lp UjFrd77Q==; Received: from [78.128.48.21] (port=57084 helo=master.example.net) by rila.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from <bugtrack@HIDDEN>) id 1rPqIF-00050U-2X; Tue, 16 Jan 2024 22:44:22 +0200 References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> From: Roumen Petrov <bugtrack@HIDDEN> Message-ID: <ffd04ea5-cd55-e7b2-9140-f9c15c04ffd7@HIDDEN> Date: Tue, 16 Jan 2024 22:43:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18 MIME-Version: 1.0 In-Reply-To: <ZaMzePo5trTXL-aX@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rila.superhosting.bg X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roumenpetrov.info X-Get-Message-Sender-Via: rila.superhosting.bg: authenticated_id: master78@HIDDEN X-Authenticated-Sender: rila.superhosting.bg: master78@HIDDEN X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.8 (----) Mike Frysinger wrote: > On 13 Jan 2024 22:29, Bogdan wrote: >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: >>> On 15 Mar 2023 17:31, Bogdan wrote: >>>> Another patch from my side. This one makes it possible for users to >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. >>>> [SNIP] Libtool support options that allows user to pass flags either or compiler or linker. I cannot see needs for more flags and variables. Regards, Roumen Petrov
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 17 Jan 2024 05:05:02 +0000 Resent-Message-ID: <handler.54020.B.170546789611693 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Bogdan <bogdro_rep@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170546789611693 (code B ref -1); Wed, 17 Jan 2024 05:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2024 05:04:56 +0000 Received: from localhost ([127.0.0.1]:50418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPy6h-00032V-NY for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:04:56 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rPy6g-000327-EX for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:04:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rPy6Z-0005W3-Ty for automake-patches@HIDDEN; Wed, 17 Jan 2024 00:04:48 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rPy6Y-0007Dy-2y for automake-patches@HIDDEN; Wed, 17 Jan 2024 00:04:47 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 026BE34335B; Wed, 17 Jan 2024 05:04:44 +0000 (UTC) Date: Wed, 17 Jan 2024 00:04:43 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <Zadf64V--A9CnJCv@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6FtIrFm75/bFk0c1" Content-Disposition: inline In-Reply-To: <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> Received-SPF: pass client-ip=140.211.166.183; envelope-from=vapier@HIDDEN; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) --6FtIrFm75/bFk0c1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14 Jan 2024 18:55, Bogdan wrote: > Mike Frysinger <vapier@HIDDEN>, 2024-01-14 02:06: > > On 13 Jan 2024 22:29, Bogdan wrote: > >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > >>> On 15 Mar 2023 17:31, Bogdan wrote: > >>>> Another patch from my side. This one makes it possible for users= to > >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. > >>>> > >>>> Added documentation and a test case including the '-no-suppress' > >>>> option. All tests with 'lt' or 'libtool' in the name pass. > >>>> > >>>> Feel free to rename the variables, I just came up with the names > >>>> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions > >>>> where the variables are put and the mode they're used in. > >>> > >>> why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compi= le > >>> command ? $obj_compile expands into e.g. > >>> \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) > >>> > >>> so if someone wants to add flags to C/etc..., they already have knobs > >>> to turn. > >>> > >>> which means this would simplify by only having one variable right ? > >>> AM_LTCOMPILE_FLAGS > >> > >> Seems so, at least for now. At least for C compilers. At least until > >> $obj_compile becomes something else in the future or something more, > >> or even now contains (or will contain) other options after $(CFLAGS) > >> on the command line when using other compilers. > >> For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should > >> suffice, at least now, as it seems. I've made pre- and post- flags for > >> better flexibility, to be future-proof. > > > > i don't see there ever being a future need here. libtool's design is t= hat > > it stops processing after the first non-argument after --mode=3Dcompile= , and > > everything else is a wrapped command which libtool blindly executes. t= hose > > commands should have their own set of flags, and libtool is irrelevant = at > > that point, so giving it a libtool-centric name that is used regardless= of > > the wrapped command will never make sense. >=20 > And that's probably something I wasn't aware of. If it's > dead/useless code, feel free to remove this part. The fact that I made > a patch doesn't mean that it must be applied as a whole and never changed. the point of posting patches for review is to review and discuss and learn. maybe you saw something or an angle that i missed. i don't know everything. -mike --6FtIrFm75/bFk0c1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWnX+sACgkQQWM7n+g3 9YGPtRAAu0kcgW4k+RZqW5Faik/pK1tbAOWK2WEXnHF90Bq1ndt7yNIZredgp5Mt dCyHHkpUnh+Cb/UOAJilG6bqrvxzD0WCRmmR4n7CdZGWKQeMnZdY7xcW01XbDrll t7SzLwfyDXLORqUxHAVKvG7YJx8c830CnAWvV5swvz0zIJlpjK1VhhMqiWOtTtAf aMHSy8g29lGaB5gDCFxNzEUXDsaP3KwhIqYqFBCPAf29p4mP0tkbxQTZ1kbUzBwi 4Ng3RSV366TjaVpC7706QkBTEMKn6KKQcRAxJUlHLGm6az/r405Qjw/Yw37Tiw3m 0OUthlJWL5+kFxw02NRB91NLuMi3EUNQk68LnRCfLUkBNmvfSwuwi82xiiLZT03c 8kRyyiXICths++SzCJ3Z5LAwucB1+YBfzSZhCHuJzlBJNFIByy6CMW3/8CvyVk7f DeNhFxKzSa/8OkbC8CYhsjCFwSuNJJqBoMHNH/LzBfeRcjOM8AB4AIIO731EW66O jPOrZx0rUDXNnePYDdsuPkli1iiMgDVH44torXlYDZ2Xh+bW8eTv4CRwTkuKkG3J /qHfSiPwKaoRuhM74hECYqfDvFxrDoFucvif4qvAF2wUSgHHiv4WB8pzvBm3fHgp qIMniMxRE9t88U/FxtMILLiKkuR0pnV+ibRL8aqRh7TwjMZFJxM= =Dwrk -----END PGP SIGNATURE----- --6FtIrFm75/bFk0c1--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 17 Jan 2024 05:05:02 +0000 Resent-Message-ID: <handler.54020.B54020.170546789211677 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Bogdan <bogdro_rep@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170546789211677 (code B ref 54020); Wed, 17 Jan 2024 05:05:02 +0000 Received: (at 54020) by debbugs.gnu.org; 17 Jan 2024 05:04:52 +0000 Received: from localhost ([127.0.0.1]:50415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPy6e-00032G-8k for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:04:52 -0500 Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:59407 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rPy6c-000322-NP for 54020 <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:04:51 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 026BE34335B; Wed, 17 Jan 2024 05:04:44 +0000 (UTC) Date: Wed, 17 Jan 2024 00:04:43 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <Zadf64V--A9CnJCv@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6FtIrFm75/bFk0c1" Content-Disposition: inline In-Reply-To: <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --6FtIrFm75/bFk0c1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14 Jan 2024 18:55, Bogdan wrote: > Mike Frysinger <vapier@HIDDEN>, 2024-01-14 02:06: > > On 13 Jan 2024 22:29, Bogdan wrote: > >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > >>> On 15 Mar 2023 17:31, Bogdan wrote: > >>>> Another patch from my side. This one makes it possible for users= to > >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. > >>>> > >>>> Added documentation and a test case including the '-no-suppress' > >>>> option. All tests with 'lt' or 'libtool' in the name pass. > >>>> > >>>> Feel free to rename the variables, I just came up with the names > >>>> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the positions > >>>> where the variables are put and the mode they're used in. > >>> > >>> why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the compi= le > >>> command ? $obj_compile expands into e.g. > >>> \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) > >>> > >>> so if someone wants to add flags to C/etc..., they already have knobs > >>> to turn. > >>> > >>> which means this would simplify by only having one variable right ? > >>> AM_LTCOMPILE_FLAGS > >> > >> Seems so, at least for now. At least for C compilers. At least until > >> $obj_compile becomes something else in the future or something more, > >> or even now contains (or will contain) other options after $(CFLAGS) > >> on the command line when using other compilers. > >> For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should > >> suffice, at least now, as it seems. I've made pre- and post- flags for > >> better flexibility, to be future-proof. > > > > i don't see there ever being a future need here. libtool's design is t= hat > > it stops processing after the first non-argument after --mode=3Dcompile= , and > > everything else is a wrapped command which libtool blindly executes. t= hose > > commands should have their own set of flags, and libtool is irrelevant = at > > that point, so giving it a libtool-centric name that is used regardless= of > > the wrapped command will never make sense. >=20 > And that's probably something I wasn't aware of. If it's > dead/useless code, feel free to remove this part. The fact that I made > a patch doesn't mean that it must be applied as a whole and never changed. the point of posting patches for review is to review and discuss and learn. maybe you saw something or an angle that i missed. i don't know everything. -mike --6FtIrFm75/bFk0c1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWnX+sACgkQQWM7n+g3 9YGPtRAAu0kcgW4k+RZqW5Faik/pK1tbAOWK2WEXnHF90Bq1ndt7yNIZredgp5Mt dCyHHkpUnh+Cb/UOAJilG6bqrvxzD0WCRmmR4n7CdZGWKQeMnZdY7xcW01XbDrll t7SzLwfyDXLORqUxHAVKvG7YJx8c830CnAWvV5swvz0zIJlpjK1VhhMqiWOtTtAf aMHSy8g29lGaB5gDCFxNzEUXDsaP3KwhIqYqFBCPAf29p4mP0tkbxQTZ1kbUzBwi 4Ng3RSV366TjaVpC7706QkBTEMKn6KKQcRAxJUlHLGm6az/r405Qjw/Yw37Tiw3m 0OUthlJWL5+kFxw02NRB91NLuMi3EUNQk68LnRCfLUkBNmvfSwuwi82xiiLZT03c 8kRyyiXICths++SzCJ3Z5LAwucB1+YBfzSZhCHuJzlBJNFIByy6CMW3/8CvyVk7f DeNhFxKzSa/8OkbC8CYhsjCFwSuNJJqBoMHNH/LzBfeRcjOM8AB4AIIO731EW66O jPOrZx0rUDXNnePYDdsuPkli1iiMgDVH44torXlYDZ2Xh+bW8eTv4CRwTkuKkG3J /qHfSiPwKaoRuhM74hECYqfDvFxrDoFucvif4qvAF2wUSgHHiv4WB8pzvBm3fHgp qIMniMxRE9t88U/FxtMILLiKkuR0pnV+ibRL8aqRh7TwjMZFJxM= =Dwrk -----END PGP SIGNATURE----- --6FtIrFm75/bFk0c1--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 17 Jan 2024 05:06:02 +0000 Resent-Message-ID: <handler.54020.B.170546795411826 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Roumen Petrov <bugtrack@HIDDEN> Cc: Bogdan <bogdro_rep@HIDDEN>, 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170546795411826 (code B ref -1); Wed, 17 Jan 2024 05:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2024 05:05:54 +0000 Received: from localhost ([127.0.0.1]:50426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPy7e-00034g-GE for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:05:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:32908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rPy7c-00034K-RD for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:05:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rPy7T-00072M-QS for automake-patches@HIDDEN; Wed, 17 Jan 2024 00:05:43 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1rPy7S-0007cv-9g for automake-patches@HIDDEN; Wed, 17 Jan 2024 00:05:43 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id CA40E34335B; Wed, 17 Jan 2024 05:05:38 +0000 (UTC) Date: Wed, 17 Jan 2024 00:05:37 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZadgIfLguwnQi08l@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> <ffd04ea5-cd55-e7b2-9140-f9c15c04ffd7@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="788rCI0dpyylUHnQ" Content-Disposition: inline In-Reply-To: <ffd04ea5-cd55-e7b2-9140-f9c15c04ffd7@HIDDEN> Received-SPF: pass client-ip=140.211.166.183; envelope-from=vapier@HIDDEN; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) --788rCI0dpyylUHnQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16 Jan 2024 22:43, Roumen Petrov wrote: > Mike Frysinger wrote: > > On 13 Jan 2024 22:29, Bogdan wrote: > >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > >>> On 15 Mar 2023 17:31, Bogdan wrote: > >>>> Another patch from my side. This one makes it possible for users= to > >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. > >>>> > [SNIP] >=20 > Libtool support options that allows user to pass flags either or compiler= or linker. > I cannot see needs for more flags and variables. sorry, but i'm not following what you're trying to say here -mike --788rCI0dpyylUHnQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWnYCEACgkQQWM7n+g3 9YHL/A/9Gx67aD6Jbmf6Qp1L4wwuXo/vtqj5d4Fhknth8X/ybCwa0XPWai/Da6S1 3ZWMd99QKceo/GObefDGRnA9AOZikhUVoSQ7SzCgKM6wwDcHI9E6o9llm0SaQjo8 11Uinf6fhFqv+29SkZeVLo+mRuplUBtPG2dNnl5U6BI5A95biXc/+LRvCHq4hSD+ xpBp+N3WV3OOrCuv6qW99tkCot4TQMtFX2qih9uKcPVpEoMQVMC9nYs7Al2EscYU dgxEVFq67rrQjsL4mEDnsAmLyN+Qjt1l2oUmmtGNIwGKMnA5yQ+xH2yWP5ChZmH7 0jiwVp4NDLaA8PzeOk2VyiJapt78gfRZ73Ep9M4FDMii8sssxZ0VzozJZnBVjkY+ jluGyFtazDVKR99XLn6hKXUbjwG8LimqLhHWEe4cH79lS/hlTJ9+lzshKNXF4RkW AbqdXLJbW923Cwful8xSrwtnWP8VbqJRkvjBQS7zOENs20ddVyWh0u66vNNV8dzW sjOWpaHWcT47MnGRo/mOTODGZLiHx5D50y53f/6S1URbVKaaRIaWanebKj5WyBH3 4+Ni32G0/1X3SBJZR/qBq/wxUgSZz8D4ONTyEj7O2Xb5HyfrGiHJlMw/46s3Nga3 zxX2QB2nv6VHEskL87Ry6zdqSpmtu6NDP7oGEXn/qgWvKfrxQ5U= =OKMc -----END PGP SIGNATURE----- --788rCI0dpyylUHnQ--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 17 Jan 2024 05:06:02 +0000 Resent-Message-ID: <handler.54020.B54020.170546794711804 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Roumen Petrov <bugtrack@HIDDEN> Cc: Bogdan <bogdro_rep@HIDDEN>, 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170546794711804 (code B ref 54020); Wed, 17 Jan 2024 05:06:02 +0000 Received: (at 54020) by debbugs.gnu.org; 17 Jan 2024 05:05:47 +0000 Received: from localhost ([127.0.0.1]:50423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPy7X-00034I-7l for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:05:47 -0500 Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:59561 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rPy7V-000341-5X for 54020 <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:05:45 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id CA40E34335B; Wed, 17 Jan 2024 05:05:38 +0000 (UTC) Date: Wed, 17 Jan 2024 00:05:37 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZadgIfLguwnQi08l@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> <ffd04ea5-cd55-e7b2-9140-f9c15c04ffd7@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="788rCI0dpyylUHnQ" Content-Disposition: inline In-Reply-To: <ffd04ea5-cd55-e7b2-9140-f9c15c04ffd7@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --788rCI0dpyylUHnQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16 Jan 2024 22:43, Roumen Petrov wrote: > Mike Frysinger wrote: > > On 13 Jan 2024 22:29, Bogdan wrote: > >> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: > >>> On 15 Mar 2023 17:31, Bogdan wrote: > >>>> Another patch from my side. This one makes it possible for users= to > >>>> pass additional options to libtool in 'compile' mode. Fixes #54020. > >>>> > [SNIP] >=20 > Libtool support options that allows user to pass flags either or compiler= or linker. > I cannot see needs for more flags and variables. sorry, but i'm not following what you're trying to say here -mike --788rCI0dpyylUHnQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWnYCEACgkQQWM7n+g3 9YHL/A/9Gx67aD6Jbmf6Qp1L4wwuXo/vtqj5d4Fhknth8X/ybCwa0XPWai/Da6S1 3ZWMd99QKceo/GObefDGRnA9AOZikhUVoSQ7SzCgKM6wwDcHI9E6o9llm0SaQjo8 11Uinf6fhFqv+29SkZeVLo+mRuplUBtPG2dNnl5U6BI5A95biXc/+LRvCHq4hSD+ xpBp+N3WV3OOrCuv6qW99tkCot4TQMtFX2qih9uKcPVpEoMQVMC9nYs7Al2EscYU dgxEVFq67rrQjsL4mEDnsAmLyN+Qjt1l2oUmmtGNIwGKMnA5yQ+xH2yWP5ChZmH7 0jiwVp4NDLaA8PzeOk2VyiJapt78gfRZ73Ep9M4FDMii8sssxZ0VzozJZnBVjkY+ jluGyFtazDVKR99XLn6hKXUbjwG8LimqLhHWEe4cH79lS/hlTJ9+lzshKNXF4RkW AbqdXLJbW923Cwful8xSrwtnWP8VbqJRkvjBQS7zOENs20ddVyWh0u66vNNV8dzW sjOWpaHWcT47MnGRo/mOTODGZLiHx5D50y53f/6S1URbVKaaRIaWanebKj5WyBH3 4+Ni32G0/1X3SBJZR/qBq/wxUgSZz8D4ONTyEj7O2Xb5HyfrGiHJlMw/46s3Nga3 zxX2QB2nv6VHEskL87Ry6zdqSpmtu6NDP7oGEXn/qgWvKfrxQ5U= =OKMc -----END PGP SIGNATURE----- --788rCI0dpyylUHnQ--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 17 Jan 2024 05:12:02 +0000 Resent-Message-ID: <handler.54020.B54020.170546827312381 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Damian Szuberski <szuberskidamian@HIDDEN> Cc: 54020 <at> debbugs.gnu.org Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170546827312381 (code B ref 54020); Wed, 17 Jan 2024 05:12:02 +0000 Received: (at 54020) by debbugs.gnu.org; 17 Jan 2024 05:11:13 +0000 Received: from localhost ([127.0.0.1]:50431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rPyCn-0003Dc-A0 for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:11:13 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:43680 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rPyCk-0003DK-Rz for 54020 <at> debbugs.gnu.org; Wed, 17 Jan 2024 00:11:11 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 5F07434335C; Wed, 17 Jan 2024 05:11:04 +0000 (UTC) Date: Wed, 17 Jan 2024 00:11:03 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZadhZ96XNWYnBTJ1@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4v8+5ZXNMcrOZVv7" Content-Disposition: inline In-Reply-To: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --4v8+5ZXNMcrOZVv7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 15 Feb 2022 23:03, Damian Szuberski wrote: > A standard `libtool` invocation line generated by automake looks like: > ``` > LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ > $(LIBTOOLFLAGS) --mode=3Dcompile $(CC) $(DEFS) \ > $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ > $(AM_CFLAGS) $(CFLAGS) > ``` > Sometimes files compiled using the method above make the compiler emit > errors. Those errors are suppressed by default which makes troubleshooting > impossible. `libtool` has a command line option, `-no-suppress` which can > be used to make the compiler verbose. Unfortunately, there is no way to > inject that option since `libtool` demands that it comes after > `--mode=3Dcompile`. `AM_LIBTOOLFLAGS` nor `LIBTOOLFLAGS` cannot be used f= or > that purpose since "it is too early", according to `libtool`'s command li= ne > parser. It is somewhat possible to use `AM_CFLAGS` for that purpose but > then it breaks modes other than `--mode=3Dcompile`. i was reading the libtool manual today and was reminded that libtool proces= ses some standard options straight out of the wrapped command rather than forci= ng you to split things up. for example, it detects the -o option and parses t= hat. then i was reminded that when passing libtool linker options like -no-undef= ined, you simply add them to the standard LDFLAGS. which is to say, options like -no-suppress do not need exact placement. pu= t it in existing CFLAGS variables as makes sense for your target. AM_CFLAGS =3D -no-suppress or libfoo_la_CFLAGS =3D $(AM_CFLAGS) -no-suppress and libtool should parse & discard it before invoking the underlying compil= er. for example: $ echo 'main(){}' > test.c $ libtool --tag=3DCC --mode=3Dcompile gcc -c -Wall test.c -no-suppress libtool: compile: gcc -c -Wall -Wextra test.c -fPIC -DPIC -o .libs/test.o test.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] 1 | main(){} | ^~~~ =20 libtool: compile: gcc -c -Wall -Wextra test.c -o test.o test.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] 1 | main(){} | ^~~~ -mike --4v8+5ZXNMcrOZVv7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWnYWcACgkQQWM7n+g3 9YG4vBAAjFDI8PQTTLOLS31OYhVKtRnSTV1oVkgJ79dW9yTHjOb/2PPb6wKIWvms UZvceFVcaK7jdRgMDwtpNqXyEtxJd3jxLyHb00P6j9Zrm389l30sX9tWzVxatqw6 nq9EXXSkxH8MOqB8RHnWLmLyDsM6FD944vGEjS2Cxw+NauhJZ76Lyc3dFEBB55Dl 4H0u4BK6ybpTfZFREdrqGLOxBLU5zvBYcU5rda59uEDNEu86CS0EbNxzeWyUEzVs HiEi7Acl69VCbtEQwQhP6kpvbf0eVF+Ggg/KjGh8Oq5WKEx/hsVpn1iokEaCeBfe xhXfs50G93jgXyjizPS8jTpik7QIX8AEtS5TeMewgBIXaYGhHDP+UJ8KLpyoVq7+ uFUJzf6KC2iQNtkb41nXC8rrCJ3bomX7G0GgW9sHePzFZL38YWX9hRsUzWNVfi4r fO4QTaOvWZA8Fsr1edoOz8w4u8ErMHV49dww3n6ZpJhMxFGeYQkMv1WmxJNzILLp LeP8rhQfHrHyF4rTLCMTgSntcj9JMUriQFSqV5Pg/1TCyNJpFHdH4EZYYwyf0ml0 xYGBeq4dGgutPdFc6U9wYjTFUHenBBeGDmxbEn1dtxarcgk8NcfFygr7L96IOt+C hAvUfyGTQJFS+HHEAIdBmeKdV79xuexAMcc0cCFHEMRnb/O1Zbc= =bcwN -----END PGP SIGNATURE----- --4v8+5ZXNMcrOZVv7--
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Thu, 18 Jan 2024 20:52:02 +0000 Resent-Message-ID: <handler.54020.B54020.17056111204280 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Mike Frysinger <vapier@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.17056111204280 (code B ref 54020); Thu, 18 Jan 2024 20:52:02 +0000 Received: (at 54020) by debbugs.gnu.org; 18 Jan 2024 20:52:00 +0000 Received: from localhost ([127.0.0.1]:56813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rQZMm-00016x-8m for submit <at> debbugs.gnu.org; Thu, 18 Jan 2024 15:52:00 -0500 Received: from mout.gmx.net ([212.227.15.15]:57513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1rQZMh-00016h-8H for 54020 <at> debbugs.gnu.org; Thu, 18 Jan 2024 15:51:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.us; s=s31663417; t=1705611093; x=1706215893; i=bogdro_rep@HIDDEN; bh=+0AkPBRo/evWtCASs6sVS+IQ9sp/8FI96A8KlRIuXIU=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=m+ya+kKpUxI5EPsRR32ePXNSSidNu5O6bZajPVm1mXMzEmZVeWCqbuSDYsVkS8KC mwjCRqmIqz5qXG7vfRfwQ3AdzEApr16aO4qLUjY+7qqGCmDyi0rqm6+oElc0acn0G ppa4XvPM95w1m3cDunQCVhFKdtd9FUrVLhCWU4cMgdysBQut7iXnvs4X6Q6KEUTI5 UCyTHYBLAn3YskdPKcP5mlaHxXFByxEkLGAFIxsmgCo7TBNJLwBxL6wQN9qcWNOYe UnYwhXAqkOE3UDZno97jqnW+MF2okZo15T3OC61VHKfHQcc5/gFrOaB9eALXHwnMZ rgAkShOmDb4cmo1Nrg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.4] ([83.255.207.180]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1M7Jza-1rTsD30Wdg-007oEB; Thu, 18 Jan 2024 21:51:33 +0100 Message-ID: <6b2e90a1-60ee-4931-ab86-2bf891a902a7@HIDDEN> Date: Thu, 18 Jan 2024 21:51:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB, sv-SE, pl References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> <Zadf64V--A9CnJCv@vapier> From: Bogdan <bogdro_rep@HIDDEN> In-Reply-To: <Zadf64V--A9CnJCv@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ypRNgPCYpJPQ7YXEmSSoHG7jGePhFY6z5sxnTwVTuCQ8QidIA1K NMrtd2iXXbVPbb7x+2V9CJpxpMXqHe69H5CwNkXgZVHib+oCC+P12a3BLko8ecsALj08zas MizFcjbI6X7OWBaylNZsFRamIM+zqy58VcLgj8hz/nvF6jehgEGlg1ka0Y01TRaws7JMSSq wdz65OqIjgmiZmZfuSQsQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:xYkOlCUDAys=;FDmpGGMHHD0xfkmSC0RcGYobxJ+ Sr2r7VubkOtW0wMaLWemfcpYer5FqErDhKRWZNRG/RaXnwPdLDWN+FIaFtgSDNiv8ak2Ibjg9 irc6SGL0BPx1Q1/KuHHiwK/4VHOIw/BalHlA9JjIMTC1FAMhKFAm59+u+2XQQtQQFOt3fWjNf Grl7EyzG8r4yHjLsYdQLDEM8H1DtG+yQp2FyUNQULAVzt023Tlqkv3B9mED3bFyAVG0jmvr46 FH1Sjgv9Xlm7SKIv9F36hmNbpcvB4+r02mPBpO7sWry6+xsm6akRh0uWuZfH6mxO/YO8wnPtN qRZRY/wV1GmvhHvRkO5ZwRf776Z9Nj4XzGdNynRJz+uQtU2SYao4XgLVge/9A+yhGFFvzOoHg htwTrkTdV+L2WFN9snsoLrFVD3CyPMxpaGusEE92yxIyLiy/fZID1LMKj8uu/ZpCdwa0OhGrW mbQwLGub0QilKfVKEtYCKCPTXRk449mdy8g8qbVShu2Iy1Sdzn/kOjRe17I9YmdWeoIwKHFly ePBOLDYSMu5XIP/o8HBV4QPxjwg9MSBMJCIzswt+cbMmO7A06A6pbJi+K19pNm85D7o88o2+b pbCUwfHNPGQKjsH/XoG8K+gcH8iK7CDNQiTZA6u+e44UB0ctKjNT0qmpcbRVM0R1RAjBgAayf uxy80H9LNCtQcVFtU4iGsDdEuRvhdwZhi8dQWgxj7E6b3zn1erc1j+JRnNiNylK2rO8cP1dNh 0Evo3Mu+An2O/BEqwUwlnw6Wht6pAQokC8hv7MTYpXtEN0lVZ/q/0eA4hTIO9aLrK4emkGEiS fskOexNovBw23kjtxtyWXzeRgu7uWSyjkJdyxn8rFr4p94TeI/I6T1huKeT0EFbzdXW1iFI+T IXcdEpcbBbVlsZAgPETSbYqPdCmhJKZADw0FoMnAJjpSVL2Gs7NTl5cgi9ML8emVUevb09sZV w9hSEQ== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Mike Frysinger <vapier@HIDDEN>, 2024-01-17 06:04: > On 14 Jan 2024 18:55, Bogdan wrote: >> Mike Frysinger <vapier@HIDDEN>, 2024-01-14 02:06: >>> On 13 Jan 2024 22:29, Bogdan wrote: >>>> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: >>>>> On 15 Mar 2023 17:31, Bogdan wrote: >>>>>> Another patch from my side. This one makes it possible for use= rs to >>>>>> pass additional options to libtool in 'compile' mode. Fixes #54020. >>>>>> >>>>>> Added documentation and a test case including the '-no-suppres= s' >>>>>> option. All tests with 'lt' or 'libtool' in the name pass. >>>>>> >>>>>> Feel free to rename the variables, I just came up with the nam= es >>>>>> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the position= s >>>>>> where the variables are put and the mode they're used in. >>>>> >>>>> why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the comp= ile >>>>> command ? $obj_compile expands into e.g. >>>>> \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) >>>>> >>>>> so if someone wants to add flags to C/etc..., they already have knob= s >>>>> to turn. >>>>> >>>>> which means this would simplify by only having one variable right ? >>>>> AM_LTCOMPILE_FLAGS >>>> >>>> Seems so, at least for now. At least for C compilers. At least un= til >>>> $obj_compile becomes something else in the future or something more, >>>> or even now contains (or will contain) other options after $(CFLAGS) >>>> on the command line when using other compilers. >>>> For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should >>>> suffice, at least now, as it seems. I've made pre- and post- flags fo= r >>>> better flexibility, to be future-proof. >>> >>> i don't see there ever being a future need here. libtool's design is = that >>> it stops processing after the first non-argument after --mode=3Dcompil= e, and >>> everything else is a wrapped command which libtool blindly executes. = those >>> commands should have their own set of flags, and libtool is irrelevant= at >>> that point, so giving it a libtool-centric name that is used regardles= s of >>> the wrapped command will never make sense. >> >> And that's probably something I wasn't aware of. If it's >> dead/useless code, feel free to remove this part. The fact that I made >> a patch doesn't mean that it must be applied as a whole and never chang= ed. > > the point of posting patches for review is to review and discuss and lea= rn. > maybe you saw something or an angle that i missed. i don't know everyth= ing. > -mike No problem. I hope I didn't sound rude or something, because that wasn't the purpose. My mail was (supposed to be) completely neutral. I don't get angry or something if someone reviews my patch, or modifies it, or even completely rejects it. I don't know everything either and I my only purpose with adding 2 flags was to be just-in-case future-proof (so that we don't get a similar report some time later, saying "can you make a flag like that, because I need one after the invocation as well?", and not to support something that already exists. =2D- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Allow user-defined libtool options Resent-From: Bogdan <bogdro_rep@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Thu, 18 Jan 2024 20:53:02 +0000 Resent-Message-ID: <handler.54020.B.17056111314327 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Mike Frysinger <vapier@HIDDEN> Cc: 54020 <at> debbugs.gnu.org, automake-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17056111314327 (code B ref -1); Thu, 18 Jan 2024 20:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2024 20:52:11 +0000 Received: from localhost ([127.0.0.1]:56817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rQZMw-00017j-Sh for submit <at> debbugs.gnu.org; Thu, 18 Jan 2024 15:52:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bogdro_rep@HIDDEN>) id 1rQZMv-00017V-4Y for submit <at> debbugs.gnu.org; Thu, 18 Jan 2024 15:52:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1rQZMn-00011A-Dj for automake-patches@HIDDEN; Thu, 18 Jan 2024 15:52:01 -0500 Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <bogdro_rep@HIDDEN>) id 1rQZMl-0006k2-Cd for automake-patches@HIDDEN; Thu, 18 Jan 2024 15:52:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.us; s=s31663417; t=1705611093; x=1706215893; i=bogdro_rep@HIDDEN; bh=+0AkPBRo/evWtCASs6sVS+IQ9sp/8FI96A8KlRIuXIU=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=m+ya+kKpUxI5EPsRR32ePXNSSidNu5O6bZajPVm1mXMzEmZVeWCqbuSDYsVkS8KC mwjCRqmIqz5qXG7vfRfwQ3AdzEApr16aO4qLUjY+7qqGCmDyi0rqm6+oElc0acn0G ppa4XvPM95w1m3cDunQCVhFKdtd9FUrVLhCWU4cMgdysBQut7iXnvs4X6Q6KEUTI5 UCyTHYBLAn3YskdPKcP5mlaHxXFByxEkLGAFIxsmgCo7TBNJLwBxL6wQN9qcWNOYe UnYwhXAqkOE3UDZno97jqnW+MF2okZo15T3OC61VHKfHQcc5/gFrOaB9eALXHwnMZ rgAkShOmDb4cmo1Nrg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.0.4] ([83.255.207.180]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1M7Jza-1rTsD30Wdg-007oEB; Thu, 18 Jan 2024 21:51:33 +0100 Message-ID: <6b2e90a1-60ee-4931-ab86-2bf891a902a7@HIDDEN> Date: Thu, 18 Jan 2024 21:51:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB, sv-SE, pl References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <277033bf-9fe2-ddc3-1a29-9e5be2438e2e@HIDDEN> <ZaIrcmJQ0dt5CWyg@vapier> <6e32b52f-4477-40cd-8e63-a13500a68f39@HIDDEN> <ZaMzePo5trTXL-aX@vapier> <88501137-e305-46f3-9d00-ca9b073e5293@HIDDEN> <Zadf64V--A9CnJCv@vapier> From: Bogdan <bogdro_rep@HIDDEN> In-Reply-To: <Zadf64V--A9CnJCv@vapier> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ypRNgPCYpJPQ7YXEmSSoHG7jGePhFY6z5sxnTwVTuCQ8QidIA1K NMrtd2iXXbVPbb7x+2V9CJpxpMXqHe69H5CwNkXgZVHib+oCC+P12a3BLko8ecsALj08zas MizFcjbI6X7OWBaylNZsFRamIM+zqy58VcLgj8hz/nvF6jehgEGlg1ka0Y01TRaws7JMSSq wdz65OqIjgmiZmZfuSQsQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:xYkOlCUDAys=;FDmpGGMHHD0xfkmSC0RcGYobxJ+ Sr2r7VubkOtW0wMaLWemfcpYer5FqErDhKRWZNRG/RaXnwPdLDWN+FIaFtgSDNiv8ak2Ibjg9 irc6SGL0BPx1Q1/KuHHiwK/4VHOIw/BalHlA9JjIMTC1FAMhKFAm59+u+2XQQtQQFOt3fWjNf Grl7EyzG8r4yHjLsYdQLDEM8H1DtG+yQp2FyUNQULAVzt023Tlqkv3B9mED3bFyAVG0jmvr46 FH1Sjgv9Xlm7SKIv9F36hmNbpcvB4+r02mPBpO7sWry6+xsm6akRh0uWuZfH6mxO/YO8wnPtN qRZRY/wV1GmvhHvRkO5ZwRf776Z9Nj4XzGdNynRJz+uQtU2SYao4XgLVge/9A+yhGFFvzOoHg htwTrkTdV+L2WFN9snsoLrFVD3CyPMxpaGusEE92yxIyLiy/fZID1LMKj8uu/ZpCdwa0OhGrW mbQwLGub0QilKfVKEtYCKCPTXRk449mdy8g8qbVShu2Iy1Sdzn/kOjRe17I9YmdWeoIwKHFly ePBOLDYSMu5XIP/o8HBV4QPxjwg9MSBMJCIzswt+cbMmO7A06A6pbJi+K19pNm85D7o88o2+b pbCUwfHNPGQKjsH/XoG8K+gcH8iK7CDNQiTZA6u+e44UB0ctKjNT0qmpcbRVM0R1RAjBgAayf uxy80H9LNCtQcVFtU4iGsDdEuRvhdwZhi8dQWgxj7E6b3zn1erc1j+JRnNiNylK2rO8cP1dNh 0Evo3Mu+An2O/BEqwUwlnw6Wht6pAQokC8hv7MTYpXtEN0lVZ/q/0eA4hTIO9aLrK4emkGEiS fskOexNovBw23kjtxtyWXzeRgu7uWSyjkJdyxn8rFr4p94TeI/I6T1huKeT0EFbzdXW1iFI+T IXcdEpcbBbVlsZAgPETSbYqPdCmhJKZADw0FoMnAJjpSVL2Gs7NTl5cgi9ML8emVUevb09sZV w9hSEQ== Received-SPF: pass client-ip=212.227.15.15; envelope-from=bogdro_rep@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Mike Frysinger <vapier@HIDDEN>, 2024-01-17 06:04: > On 14 Jan 2024 18:55, Bogdan wrote: >> Mike Frysinger <vapier@HIDDEN>, 2024-01-14 02:06: >>> On 13 Jan 2024 22:29, Bogdan wrote: >>>> Mike Frysinger <vapier@HIDDEN>, 2024-01-13 07:19: >>>>> On 15 Mar 2023 17:31, Bogdan wrote: >>>>>> Another patch from my side. This one makes it possible for use= rs to >>>>>> pass additional options to libtool in 'compile' mode. Fixes #54020. >>>>>> >>>>>> Added documentation and a test case including the '-no-suppres= s' >>>>>> option. All tests with 'lt' or 'libtool' in the name pass. >>>>>> >>>>>> Feel free to rename the variables, I just came up with the nam= es >>>>>> LTCOMPILE_PREFLAGS and LTCOMPILE_POSTFLAGS, reflecting the position= s >>>>>> where the variables are put and the mode they're used in. >>>>> >>>>> why do we need LTCOMPILE_POSTFLAGS ? isn't that just after the comp= ile >>>>> command ? $obj_compile expands into e.g. >>>>> \$(CC) @cpplike_flags \$(AM_CFLAGS) \$(CFLAGS) >>>>> >>>>> so if someone wants to add flags to C/etc..., they already have knob= s >>>>> to turn. >>>>> >>>>> which means this would simplify by only having one variable right ? >>>>> AM_LTCOMPILE_FLAGS >>>> >>>> Seems so, at least for now. At least for C compilers. At least un= til >>>> $obj_compile becomes something else in the future or something more, >>>> or even now contains (or will contain) other options after $(CFLAGS) >>>> on the command line when using other compilers. >>>> For simplicity - yes, one flag like AM_LTCOMPILE_FLAGS should >>>> suffice, at least now, as it seems. I've made pre- and post- flags fo= r >>>> better flexibility, to be future-proof. >>> >>> i don't see there ever being a future need here. libtool's design is = that >>> it stops processing after the first non-argument after --mode=3Dcompil= e, and >>> everything else is a wrapped command which libtool blindly executes. = those >>> commands should have their own set of flags, and libtool is irrelevant= at >>> that point, so giving it a libtool-centric name that is used regardles= s of >>> the wrapped command will never make sense. >> >> And that's probably something I wasn't aware of. If it's >> dead/useless code, feel free to remove this part. The fact that I made >> a patch doesn't mean that it must be applied as a whole and never chang= ed. > > the point of posting patches for review is to review and discuss and lea= rn. > maybe you saw something or an angle that i missed. i don't know everyth= ing. > -mike No problem. I hope I didn't sound rude or something, because that wasn't the purpose. My mail was (supposed to be) completely neutral. I don't get angry or something if someone reviews my patch, or modifies it, or even completely rejects it. I don't know everything either and I my only purpose with adding 2 flags was to be just-in-case future-proof (so that we don't get a similar report some time later, saying "can you make a flag like that, because I need one after the invocation as well?", and not to support something that already exists. =2D- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org
X-Loop: help-debbugs@HIDDEN Subject: bug#54020: Impossible to pass `-no-suppress` to `libtool` via automake files Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Fri, 19 Jan 2024 01:56:02 +0000 Resent-Message-ID: <handler.54020.B54020.170562933014445 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 54020 X-GNU-PR-Package: automake X-GNU-PR-Keywords: confirmed help To: Damian Szuberski <szuberskidamian@HIDDEN> Cc: 54020 <at> debbugs.gnu.org Received: via spool by 54020-submit <at> debbugs.gnu.org id=B54020.170562933014445 (code B ref 54020); Fri, 19 Jan 2024 01:56:02 +0000 Received: (at 54020) by debbugs.gnu.org; 19 Jan 2024 01:55:30 +0000 Received: from localhost ([127.0.0.1]:57054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rQe6U-0003kt-F7 for submit <at> debbugs.gnu.org; Thu, 18 Jan 2024 20:55:30 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:41660 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rQe6S-0003kU-43 for 54020 <at> debbugs.gnu.org; Thu, 18 Jan 2024 20:55:28 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id AD5BF34338F; Fri, 19 Jan 2024 01:55:19 +0000 (UTC) Date: Thu, 18 Jan 2024 20:55:18 -0500 From: Mike Frysinger <vapier@HIDDEN> Message-ID: <ZanWhttS47Zy5WF3@vapier> References: <CAJcaKZQ_h9QP8KBjLQkwULQg1yN03O8Xcztyzqf72wYVnGQXJg@HIDDEN> <ZadhZ96XNWYnBTJ1@vapier> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J7+EIVKA3GX6AjWp" Content-Disposition: inline In-Reply-To: <ZadhZ96XNWYnBTJ1@vapier> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --J7+EIVKA3GX6AjWp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 17 Jan 2024 00:11, Mike Frysinger wrote: > On 15 Feb 2022 23:03, Damian Szuberski wrote: > > A standard `libtool` invocation line generated by automake looks like: > > ``` > > LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ > > $(LIBTOOLFLAGS) --mode=3Dcompile $(CC) $(DEFS) \ > > $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ > > $(AM_CFLAGS) $(CFLAGS) > > ``` > > Sometimes files compiled using the method above make the compiler emit > > errors. Those errors are suppressed by default which makes troubleshoot= ing > > impossible. `libtool` has a command line option, `-no-suppress` which c= an > > be used to make the compiler verbose. Unfortunately, there is no way to > > inject that option since `libtool` demands that it comes after > > `--mode=3Dcompile`. `AM_LIBTOOLFLAGS` nor `LIBTOOLFLAGS` cannot be used= for > > that purpose since "it is too early", according to `libtool`'s command = line > > parser. It is somewhat possible to use `AM_CFLAGS` for that purpose but > > then it breaks modes other than `--mode=3Dcompile`. >=20 > i was reading the libtool manual today and was reminded that libtool proc= esses > some standard options straight out of the wrapped command rather than for= cing > you to split things up. for example, it detects the -o option and parses= that. > then i was reminded that when passing libtool linker options like -no-und= efined, > you simply add them to the standard LDFLAGS. >=20 > which is to say, options like -no-suppress do not need exact placement. = put it > in existing CFLAGS variables as makes sense for your target. > AM_CFLAGS =3D -no-suppress > or > libfoo_la_CFLAGS =3D $(AM_CFLAGS) -no-suppress > and libtool should parse & discard it before invoking the underlying comp= iler. the Automake manual has libtool examples for general & linking flags, but nothing for compiling. we could add some to make it more clear. -mike --J7+EIVKA3GX6AjWp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWp1oYACgkQQWM7n+g3 9YGVXw//e1qmJ6Zqae530OhANlp7I2EcHbDPBFBAulK2QD+l0VY2CEH58mK2MAjn /vzcxgf9EWCARbhqHPEtDvWGaNfl/H1Yc17a36JBJV6x6vwIAxJyfEltdBlUc51m /YFMksn+yZdO1okneSrAGooRIXxW7vaQhGrLJv4K4uIeGxaWxobH6cKcLUsM7A/p NoIklIGvDHICCid3eZK3PNi4ilJCdANbzcWuQKNX0hREMU2V+Ch+blHNfNpHhgjz eYOAertfQP93TmVvE5v8ScOW1xr/0MjSh7AObV0QyIIa8U2KAFcCfJZoG3R1lxd/ O9wUM7uCI2vXmVKxohWgt/cxMSxbGyXUsOYYcVDWpCY8sZJzkAovCbOPqhy+uDvR SdlcpMA8KkvCREzahY2pRo8/nwEQLWl4+UnUSk5NGMqkLQUXy4He+IZ4I5mSKbVt a+BJy8vPEwZ+6Z3Qks+OW8qbPPZhwG2FPuj8D8CJNWO5Tf+aHPCZ3iJTjiV5GTH7 mhvtQK+lpn3hpMNcReIuVMqvndS72iF5twsz+pEQj1qcm/WPm/Hz2UlGWeb2ThmK 5y4RdwmtcYzOzDQgzoWNFlGY4JWgpDr4l6akSti0QDov+P6qQq+IZr8oZ1NLTayw eCqurS58Z1iRS2zBz4KHJx94c2Nu9kAB2FxBgi7obtRJacofADI= =tr3I -----END PGP SIGNATURE----- --J7+EIVKA3GX6AjWp--
Received: (at control) by debbugs.gnu.org; 19 Jan 2024 01:56:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 18 20:56:12 2024 Received: from localhost ([127.0.0.1]:57058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rQe79-0003mT-Ri for submit <at> debbugs.gnu.org; Thu, 18 Jan 2024 20:56:12 -0500 Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:35471 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vapier@HIDDEN>) id 1rQe78-0003mG-Mj for control <at> debbugs.gnu.org; Thu, 18 Jan 2024 20:56:11 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id DC7B03433BE; Fri, 19 Jan 2024 01:56:01 +0000 (UTC) From: Mike Frysinger <vapier@HIDDEN> To: control <at> debbugs.gnu.org Subject: Control message User-Agent: GNU debbugs/0 Message-Id: <20240119015601.DC7B03433BE@HIDDEN> Date: Fri, 19 Jan 2024 01:56:01 +0000 (UTC) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) retitle 54020 document libtool compile-specific flags in manual thankyou
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.