www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/08/18:18:27

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 371533870884
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1610147862;
bh=ERhXb4VjX3cNoAhk0ZRRjPl+yAIaKPfOztT8HsK2S5A=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=TL5ytqEgbvq9yIeVLWttqIME1ZoptTO03IBDwMjTxAZn16aspmUpUzsuUv6awkVvm
Y3cpU8xQVuVabDwUUGshhFgfEB7Nic3uZA7k7dpYAINVFnbH43CVMPzX5zEtPExWTc
xNxxp/Dm6Qg3CXoaYKMKCgzltmAOWHbQDZ4ZJ7bY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 469E538438A4
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=c3V2W/2sMPquOGtaucPGnz5uYgk1IZJhPtHPJu6ua9U=;
b=JlvknczI/UR7vFLPwvYePTJZh8xphN8TPNApV0rleKUD+pbTxUETFg8AZS94242Aqx
ay0P1+nvjMua9GhhZPaTYAxDamboZYwZyM73GUHVyFfTkFIxDpsicp9whws8iG9Re63J
aoCdvfAGW7v0uDt2y8RS3tsVpR/HQguuZM+ls4q7gMsp5FphYjXb3LqwK0HHw0UoI8yl
CMXCpT8F4XjakvCYhL2olfTDVp0MvWHm22WlNnvIKRpQKyT7pEVdI3513BYT3BcJ8hCU
O9ZHNGkVU6AlD5DWDrCaD1U2Ti51wGG8mAX/7rFf4u/+FJMXV3UL6MuXSdTeEnv3VYuo
lMVA==
X-Gm-Message-State: AOAM532DUBloN6TlY8j6nI9rmP7tYVUraZ9IF+bQiHPDDIGOC7CP5hb7
spc3UpB8vsLmVnJeufLza5Q015tu1OlP3hxE3uE=
X-Google-Smtp-Source: ABdhPJzAEdiWJ2pmc8JN79FSpy5Q6mSYaiHXod3ylv8+rM8t0Xups3vupIndhkCEwqhcIcUyM6+XTnqSuXQlZE0fvG0=
X-Received: by 2002:aa7:9784:0:b029:1a6:5fb2:ecee with SMTP id
o4-20020aa797840000b02901a65fb2eceemr5984295pfp.41.1610147858277; Fri, 08 Jan
2021 15:17:38 -0800 (PST)
MIME-Version: 1.0
References: <99bab422-8cd3-2a48-ca74-14434149f171 AT gmail DOT com>
<20210108224914 DOT 682F0A80906 AT calimero DOT vinschen DOT de>
In-Reply-To: <20210108224914.682F0A80906@calimero.vinschen.de>
Date: Fri, 8 Jan 2021 18:17:27 -0500
Message-ID: <CANQs7dA1Rh0xy9_6ts2okjBDKpqA7QAjZxwD+1KkgxeTMJC=Mw@mail.gmail.com>
Subject: Re: error running linker
To: cygwinautoreply AT sourceware DOT org
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Tres Finocchiaro via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Tres Finocchiaro <tres DOT finocchiaro AT gmail DOT com>
Cc: cygwin AT cygwin DOT com, rikmorgan AT gmail DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 108NI9J5024075

If this command is getting its parameter from a previous command, make
sure to sanitize the stderr that comes from Cygwin.  Normally, this
isn't a problem, but ant specifically included stderr and stdout
together when parsing a command.

https://github.com/java-native-access/jna/commit/2714a017c9fada761e3d175d1e03f1d3bccaa14f

This above example is using ant's "apply", but any ant executed output
can suffer from this problem where stderr is mixed with stdout.  It's
not a cygwin bug, but rather a nuance with ant that surfaces with
Cygwin.

- Tres DOT Finocchiaro AT gmail DOT com

On Fri, Jan 8, 2021 at 5:50 PM cygwinautoreply--- via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> >Hi,
>
> >While running an ant build cc task (cpptasks: Compile tasks for Apache
> >Ant - cc (sourceforge.net)
> ><http://ant-contrib.sourceforge.net/cpptasks/antdocs/CCTask.html>), when
> >it reached the Link step I received the following output:
>
> >Starting Link
>
> >                 1 [main] 5672 find_fast_cwd: WARNING: Couldn’t compute
> >FAST_CWD pointer.  Please report this problem to the public mailing list
> >cygwin AT cygwin DOT com <mailto:cygwin AT cygwin DOT com>
>
> >                 link: extra operand ‘/DLL’
>
> >I don’t know if the extra operand is the problem, I don’t supply it, it
> >is likely generated by the “outtype=’shared’” parameter of the cc task,
> >so I don’t have an easy means to experiment with changing that since I
> >need a shared library to be generated.
>
> >If you need any other info let me know.
>
> >Regards,
>
> >Rick Morgan
>
> https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019