* error running linker
@ 2021-01-08 22:47 Richard Morgan
2021-01-08 22:49 ` cygwinautoreply
0 siblings, 1 reply; 3+ messages in thread
From: Richard Morgan @ 2021-01-08 22:47 UTC (permalink / raw)
To: cygwin
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@cygwin.com <mailto:cygwin@cygwin.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error running linker
2021-01-08 22:47 error running linker Richard Morgan
@ 2021-01-08 22:49 ` cygwinautoreply
2021-01-08 23:17 ` Tres Finocchiaro
0 siblings, 1 reply; 3+ messages in thread
From: cygwinautoreply @ 2021-01-08 22:49 UTC (permalink / raw)
To: rikmorgan; +Cc: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 949 bytes --]
>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@cygwin.com <mailto:cygwin@cygwin.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error running linker
2021-01-08 22:49 ` cygwinautoreply
@ 2021-01-08 23:17 ` Tres Finocchiaro
0 siblings, 0 replies; 3+ messages in thread
From: Tres Finocchiaro @ 2021-01-08 23:17 UTC (permalink / raw)
To: cygwinautoreply; +Cc: rikmorgan, cygwin
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.Finocchiaro@gmail.com
On Fri, Jan 8, 2021 at 5:50 PM cygwinautoreply--- via Cygwin
<cygwin@cygwin.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@cygwin.com <mailto:cygwin@cygwin.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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-08 23:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 22:47 error running linker Richard Morgan
2021-01-08 22:49 ` cygwinautoreply
2021-01-08 23:17 ` Tres Finocchiaro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).