OpenSSH Package Distribution Architecture Mismatch

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Apr 11 22:05:00 GMT 2014


On 4/11/2014 5:49 PM, Auteria W. Winzer Jr. wrote:
> I noticed an anomaly within both 32bit and 64bit distributions of
> OpenSSH.   The package maintainer inadvertently placed the architectures in
> their opposition. At 1st glance I thought I had clicked the wrong icon
> thinking I was using 64bit within 32bit's space, and vice-versa.
>
> The latest OpenSSH package from both 32 and 64 bit resources displays
> the  following:

> FROM 32bit Cygwin (C:\cygwin)
> TARGET: C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -
> winzera@USWSCOWINZERA ~
>
> $ cygcheck -c openssh
> Cygwin Package Information
> Package              Version        Status
> openssh              6.6p1-1        OK
>
> winzera@USWSCOWINZERA /usr/sbin
> $ ls -l sshd.exe
> -rwxr-xr-x 1 winzera Domain Users 762397 Mar 18 12:41 sshd.exe
>
> winzera@USWSCOWINZERA /usr/sbin
> $ ldd sshd.exe
>          ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77480000)
                                            ^^^^^^^^^
I assume you're basing your conclusion on the above information.

> In conclusion: 32bit OpenSSH is in Cygwin64, and 64bit OpenSSH is in Cygwin32.

You're mistaken.  SysWOW64 is what 64-bit Windows uses to run 32-bit
executables.  If you 'ldd' other Cygwin 32-bit executables, you'll see the
same thing.  This is what's expected for any 32-bit Windows executable
actually.



-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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



More information about the Cygwin mailing list