sshd broken on arm?
Dag-Erling Smørgrav
des at des.no
Thu Jan 24 04:43:57 PST 2008
John Hay <jhay at meraka.org.za> writes:
> [89 lines of irrelevant context snipped - learn to quote!]
>
> Ok, it turned out that the problem/change was not in the kernel. Old
> and new kernels work equally well/bad. On December 2, the default
> optimisation for the ARMs was changed from -O2 to -O. That is it. If
> I compile libsshd with -O2, it works and if I compile it with -O, it
> does not.
>
> Just adding __aligned(4) like Warner suggested also fix the problem.
> [...]
> So what should we do?
>From a portability POV, the simplest fix is to place the buffer in a
union with a dummy member that forces the alignment.
In any case, this should be discussed on the OpenSSH mailing lists, not
here.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-arm
mailing list