From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Collins Date: Fri, 30 Nov 2001 15:15:07 +0000 Subject: Re: openssh 3.0.1 rpm for sparc (redhat 6.x) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ultralinux@vger.kernel.org On Fri, Nov 30, 2001 at 04:06:12PM +0100, Stephan van Hienen wrote: > > -----Original Message----- > > From: David S. Miller [mailto:davem@redhat.com] > > Sent: vrijdag 30 november 2001 0:03 > > To: ddx@a2000.nu > > Cc: tcallawa@redhat.com; ultra@a2000.nu; > > sparclinux@vger.kernel.org; ultralinux@vger.kernel.org > > Subject: Re: openssh 3.0.1 rpm for sparc (redhat 6.x) > > > > > > From: Stephan van Hienen > > Date: Thu, 29 Nov 2001 23:58:45 +0100 (CET) > > > > On Thu, 29 Nov 2001, Tom 'spot' Callaway wrote: > > > > > Rebuild from the src rpm available at openssh.org. Should work. > > > > ok tried that : > > > > Run "sparc32 bash" before building the rpm. > > Thnx, that fixed the problem > > P.s. why can I rebuild a lot of src.rpms witouth this ? Because a lot of them are smart enough to use CPP macros like __sparc_v9__ or __arch64__ to determine things, rather than assuming sparc64 = 64-bit || v9 instructions. The compiler is much better at determining this (CC="gcc -mcpu=ultrasparc" for example) than `uname'. Ben -- .----------====-=-===-=====-----------===------------=-=-----. / Ben Collins -- Debian GNU/Linux \ ` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com ' `---=====------====-------------=-=-----=-==-===-------=--=---'