From: Will Woods <will.woods@hp.com>
To: axp-list@redhat.com
Subject: Re: "unofficial" redhat releases/testing builds
Date: Tue, 11 Feb 2003 18:39:40 -0500 [thread overview]
Message-ID: <200302111839.40642.will.woods@hp.com> (raw)
In-Reply-To: <200302102344.19365.kelledin+AXP@skarpsey.dyndns.org>
On Tuesday 11 February 2003 12:44 am, Kelledin wrote:
> Hmmm...interesting. What exactly goes wrong with openssh?
When compiled with -mcpu=ev6 and -O2 or higher, sshd doesn't accept ssh2
protocol connections, because a gcc bug makes it drop a block of code that
sets have_ssh2_key = 1. Oops. There's a workaround patch available, which
might qualify for Stupidest Patch Ever:
--- sshd.c.orig 2002-11-21 15:42:45.000000000 -0500
+++ sshd.c 2002-11-21 15:43:42.000000000 -0500
@@ -994,6 +994,7 @@
sensitive_data.have_ssh1_key = 1;
break;
case KEY_RSA:
+ i=i+0; /* gcc3.2 drops these 2 cases without this */
case KEY_DSA:
sensitive_data.have_ssh2_key = 1;
break;
> I ask because I compiled openssh on my LX164 with plain old -O2 a
> while back, and it seems to work OK. Mind you, I haven't done
> any extensive regression tests on it, so it could have some
> brokenness that I've just dodged through sheer luck. I also
> haven't done an ev56-optimized compile--it's just straight
> -mcpu=ev4.
If memory serves, -mcpu=ev4 and -mcpu=ev5 generate the same set of
instructions; the only difference is the scheduling for the different
processors. So it's fairly useless to optimize for ev4 unless the resulting
binary will only be run on an ev4.
-will
next prev parent reply other threads:[~2003-02-11 23:34 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030203232701.CA3693F5D6@listman.redhat.com>
2003-02-07 17:31 ` "unofficial" redhat releases/testing builds Stephen Lewis
2003-02-07 20:17 ` Ted Goodridge
2003-02-10 6:53 ` Mike A. Harris
2003-02-10 19:02 ` George France
2003-02-10 19:12 ` Falk Hueffner
2003-02-10 21:34 ` George France
2003-02-10 21:43 ` Falk Hueffner
2003-02-10 21:48 ` George France
2003-02-11 4:14 ` Ted Goodridge
2003-02-11 5:03 ` George France
2003-02-11 5:44 ` Kelledin
2003-02-11 23:39 ` Will Woods [this message]
2003-02-11 23:57 ` Bryan W. Headley
2003-02-12 1:31 ` Falk Hueffner
2003-02-12 2:01 ` Falk Hueffner
2003-02-11 5:09 ` Kelledin
2003-02-03 20:49 alpha] " R P Herrold
2003-02-03 23:24 ` Mike Barnes
-- strict thread matches above, loose matches on Subject: below --
2003-02-03 18:16 Ted Goodridge, Jr
2003-02-03 18:19 ` John Jasen
2003-02-04 5:02 ` Mike A. Harris
2003-02-04 18:50 ` John Jasen
2003-02-03 20:38 ` Stefan van der Eijk
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox