Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: upi at iki.fi (Pasi Pirhonen)
Subject: CPU Arch Detection
Date: Sat, 22 Oct 2005 20:40:04 +0300	[thread overview]
Message-ID: <20051022174004.GI862@core.upi.iki.fi> (raw)
In-Reply-To: <435A2642.1010501@grouse.net.au>

Hi,


On Sat, Oct 22, 2005 at 09:45:06PM +1000, Mike Barnes wrote:
> I was building up a few packages for CentOS (I wanted DVD playback, 
> basically), and noticed something about building for an "alphaev6" target.
> 
> The build process works OK - I produced a xine-lib that performs a LOT 
> better than the default - and things WORK when installed. The snag is 
> that RPM doesn't recognise alphaev6 as a suitable architecture on my 
> DS10. I have to use --ignorearch.
> 
> I remember hitting this a while back, building an EV6 optimisied glibc 
> for Alpha Core, and I think we worked out this down to a bug in uname, 
> not reporting the variation properly, but I can't recall the full details.
> 
> Did anyone get this sorted, or does anyone know what might need patching up?



I haven't been tampering with /usr/lib/rpm magic at all. For me it
seems pretty much like voodoo.

There are something like

arch_compat: alphaev67: alphaev6
arch_compat: alphaev6: alphapca56
arch_compat: alphapca56: alphaev56
arch_compat: alphaev56: alphaev5
arch_compat: alphaev5: alpha
arch_compat: alpha: axp noarch


in /usr/lib/rpm/rpmrc (which was pointed out in other mail). For me it
seems that those macros should eventually translate any alphaev* to
alpha, but i really don't know.

There might be another issue tho, which i didn't remember to verify for
sure. Anaconda is writing /etc/rpm/platform file which might be the
source for your proplem? I am not sure about how this should really be
formatted, but i suspect you dohave have something like
'alphaev6-redhat-linux' there. I do _believe_ a 'alpha-redhat-linux'
should be more right and generally i tend to just remove the file from
my build systems.

I do remember seeing the 'must use --ignorearch' myself too, but i
really don't remember if i just tweaked the /etc/rpm/platform or
something else too. 


-- 
Pasi Pirhonen - upi at iki.fi - http://iki.fi/upi/



  parent reply	other threads:[~2005-10-22 17:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-22 11:45 CPU Arch Detection mike
2005-10-22 15:31 ` michal
2005-10-22 17:40 ` upi [this message]
2005-10-22 18:35   ` tsv
2005-10-22 18:50     ` michal
2005-10-22 19:17       ` tsv
2005-10-22 22:30         ` mike
2005-10-23 17:13         ` tsv
2005-10-23 17:54           ` michal
2005-10-23 18:11           ` upi
2005-10-22 18:58     ` upi
2005-10-22 22:41       ` mike
2005-10-23 16:26         ` Jay.Estabrook
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