openssh static build - mission impossible?

Mr Dash Four mr.dash.four at googlemail.com
Tue Mar 6 17:32:21 EST 2012


> I suggest to build the package manually completely without any spec
> file or further build tools, in order to find how to build correctly.
I did try with the same result - no difference whatsoever.

> I would expect armv6l-redhat-linux-gnueabi-gcc to be run here, not
> gcc.
Nope! The compiler is quite capable of producing multi-arch binaries. This particular feature is called "multilib", not sure if you've heard about it, but it does exist.

>> I am cross-compiling from armv7l to armv6l as evident from the
>> initial configure. The actual library - /usr/lib/libcrypt.a - is
>> compiled and build for armv5tel (Fedora's own latest "stable").
> 
> Except if you are using the armv5tel gcc and libcrypt.a you are not
> actually targeting armv6l anymore.
As I already mentioned above my gcc compiler is multilib-capable - does that ring any bells?

> That you get to study on your own. I will not learn about it in order
> to teach you. You can find out easily by studying the OpenSSH code.
If you are going to act like a condescending prick, unwilling or incapable of offering anything of interest to this topic, then I'd suggest you move along - there's nothing to see here.



More information about the openssh-unix-dev mailing list