* cygport -8 adds bogus cygwin64-gcc-core to setup.hint requires line
@ 2013-07-31 8:14 Christian Franke
2013-07-31 14:11 ` Yaakov (Cygwin/X)
0 siblings, 1 reply; 2+ messages in thread
From: Christian Franke @ 2013-07-31 8:14 UTC (permalink / raw)
To: cygwin
Cygport 0.13.0 (and 0.12.2) adds a bogus "requires: ...
cygwin64-gcc-core ..." to setup.hint when cross-compiling for x86_64.
Testcase: smartmontools 6.1-2 source package from x86_64 distro:
$ uname -s
CYGWIN_NT-6.1-WOW64
$ cygport --version
cygport 0.13.0
$ grep ^REQ smartmontools-6.1-2.cygport:
REQUIRES="coreutils cygrunsrv grep sed which"
$ cygport -8 smartmontools-6.1-2.cygport almostall
...
$ grep ^req smartmontools-6.1-2/dist/smartmontools/setup.hint
requires: bash cygwin64-gcc-core libstdc++6 coreutils cygrunsrv grep sed
which
Adding libgcc1 to REQUIRES does not help:
requires: bash cygwin64-gcc-core libstdc++6 libgcc1 coreutils cygrunsrv
grep sed which
When building for cygwin 32 or on cygwin 64 result is correct:
requires: bash libgcc1 libstdc++6 coreutils cygrunsrv grep sed which
Christian
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cygport -8 adds bogus cygwin64-gcc-core to setup.hint requires line
2013-07-31 8:14 cygport -8 adds bogus cygwin64-gcc-core to setup.hint requires line Christian Franke
@ 2013-07-31 14:11 ` Yaakov (Cygwin/X)
0 siblings, 0 replies; 2+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-07-31 14:11 UTC (permalink / raw)
To: cygwin
On 2013-07-31 00:41, Christian Franke wrote:
> Cygport 0.13.0 (and 0.12.2) adds a bogus "requires: ...
> cygwin64-gcc-core ..." to setup.hint when cross-compiling for x86_64.
I suppose it would. The problem here is that the libgcc1 DLL has
different names on each arch due to the added -seh on x86_64.
I'm afraid that under cross-compiling scenarios, dependency detection is
at best a guide; manual editing of the setup.hint requires: will often
be necessary.
> Adding libgcc1 to REQUIRES does not help:
[PKG_]REQUIRES only adds to the automatic detection, it doesn't take
anything away from it.
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-31 13:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 8:14 cygport -8 adds bogus cygwin64-gcc-core to setup.hint requires line Christian Franke
2013-07-31 14:11 ` Yaakov (Cygwin/X)
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).