GNU bug report logs - #34925
Overwriting target_LDFLAGS within conditionals

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Дилян Палаузов <dilyan.palauzov@HIDDEN>; dated Wed, 20 Mar 2019 17:32:02 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Mar 2019 17:31:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 20 13:31:24 2019
Received: from localhost ([127.0.0.1]:52130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h6f3k-0006QH-H6
	for submit <at> debbugs.gnu.org; Wed, 20 Mar 2019 13:31:24 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1h6f3i-0006Q4-Ei
 for submit <at> debbugs.gnu.org; Wed, 20 Mar 2019 13:31:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:50190)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>)
 id 1h6f3d-0002Pm-6W
 for submit <at> debbugs.gnu.org; Wed, 20 Mar 2019 13:31:17 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43973)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1h6f3c-00076N-Ab
 for bug-automake@HIDDEN; Wed, 20 Mar 2019 13:31:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1h6eyj-00047V-Ha
 for bug-automake@HIDDEN; Wed, 20 Mar 2019 13:26:19 -0400
Received: from mail.aegee.org ([144.76.142.78]:33162)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dilyan.palauzov@HIDDEN>)
 id 1h6eyi-000421-RN
 for bug-automake@HIDDEN; Wed, 20 Mar 2019 13:26:13 -0400
Authentication-Results: mail.aegee.org/x2KHQAne021089;
 auth=pass (PLAIN) smtp.auth=didopalauzov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096;
 t=1553102770; i=dkim+MSA-tls@HIDDEN; r=y;
 bh=R/+Bz6vlJGRI+RGtvCxpTQJnUhZIFKy7g28fYtSBmPU=;
 h=Subject:From:To:Date;
 b=lPyMcYDeHWwo7wzKGioO9S4mAwF8XOIX2SB/keq6LxS4dYcG3mKGRMbA84CftZUpd
 L+bAJ2TvmaqfgAVjYOyvDDi948+m9kJc05tNF1wQCnnBGJPKEMZGNTCcwlvER79ygD
 OvVfHMy1/f/yDmU2nXuj6yATdmG6e/AtTUQ/Oz+sQ7Y5IxT2q4AozvUZdjtB8zlp+D
 x0MicbOZIPxGcelciurVxeA1IG25w2f2WOUxSJTbo9n6ULQoJdd4HCLBRXGNvggxYQ
 n5eaTfhNNxdOWq+E3JVRl5ZYRmvnb1oSpERV64UBjIGzNgKLBaM0GZXTj8Bqhxn+/f
 u9C0l2xZJjyU2f2v4h0lHeFychbh/znQX+gbKJ7iC6P7nkrk5nMNvZs7uwTTp6EXSf
 YQPYIg1OzHkt+NPm23FTc7nRh5ChdYppET05P2tW2IZWgWr4vab204adYmBGeeF/Zf
 mWgZE6tp3FR0Q0wux70Xpx752LqyX+MCkTTruFZyIL5pW6hHogUQDdEBj31DDKueJX
 ALQHg+Vv4vYY7ZLAhUxWRqnm51Eyybf/AcPLrev/5u5rjlhZiFjoCO+iujcYbpADNI
 dbKSAL7+h6+2vLdggLbcVf7Q53/iJnVkZMxXEMKIuyVUAbJZtwMFu5KV9TupyQSU1l
 7acWBBNSZ3ly7Hp4VrYzIf3A=
Authentication-Results: mail.aegee.org/x2KHQAne021089; dkim=none
Received: from Tylan (eduroam-PAT.sit.fraunhofer.de [141.12.129.132])
 (authenticated bits=0)
 by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id x2KHQAne021089
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
 for <bug-automake@HIDDEN>; Wed, 20 Mar 2019 17:26:10 GMT
Message-ID: <8e12bd8c09812b4bd87d884228c4a440a76c3c32.camel@HIDDEN>
Subject: Overwriting target_LDFLAGS within conditionals
From: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?=
 =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?=
 <dilyan.palauzov@HIDDEN>
To: bug-automake@HIDDEN
Date: Wed, 20 Mar 2019 17:26:08 +0000
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.33.1 
MIME-Version: 1.0
X-Virus-Scanned: clamav-milter 0.101.1 at mail.aegee.org
X-Virus-Status: Clean
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail.aegee.org id
 x2KHQAne021089
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 144.76.142.78
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
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 (-)

Hello,

my reading of the automake manual is that for an AM_CONDITIONAL Z

AM_LDFLAGS =3D -flto
if Z
a_LDFLAGS =3D -O3
endif

means:

if Z is defined, a_LDFLAGS is used and AM_LDFLAGS are not used.
if Z is not defined, a_LDFLAGS is absent and AM_LDFLAGS are used.

But looking in Makefile.in the code looks like this:

@Z_TRUE@a_LDFLAGS =3D -O3
a_LINK =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC \
        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=3Dlink $(CCLD) \
        $(AM_CFLAGS) $(CFLAGS) $(a_LDFLAGS) $(LDFLAGS) -o $@

which means, that AM_LDFLAGS is always ignored.

The manual says in =E2=80=9CProgram and Library Variables=E2=80=9D:

=E2=80=98maude_LDFLAGS=E2=80=99
     This variable is used to pass extra flags to the link step of a
     program or a shared library.  It overrides the =E2=80=98AM_LDFLAGS=E2=
=80=99
     variable.

Regards
  =D0=94=D0=B8=D0=BB=D1=8F=D0=BD





Acknowledgement sent to Дилян Палаузов <dilyan.palauzov@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#34925; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.