Date: Thu, 24 Jan 2008 13:25:11 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: John Hay <jhay@meraka.org.za> Cc: freebsd-arm@FreeBSD.ORG Subject: Re: sshd broken on arm? Message-ID: <86y7afv2ag.fsf@ds4.des.no> In-Reply-To: <20080124114039.GF79134@zibbi.meraka.csir.co.za> (John Hay's message of "Thu\, 24 Jan 2008 13\:40\:40 %2B0200") References: <20080118185634.GA28843@zibbi.meraka.csir.co.za> <20080118.120152.-345488389.imp@bsdimp.com> <20080118191638.GA30155@zibbi.meraka.csir.co.za> <20080118.145436.-1540399028.imp@bsdimp.com> <20080124114039.GF79134@zibbi.meraka.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
John Hay <jhay@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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y7afv2ag.fsf>