Mailinglist Archive: opensuse-buildservice (287 mails)

< Previous Next >
Re: [opensuse-buildservice] Odd value for 'uname -p' in build service?
  • From: Bernhard Walle <bwalle@xxxxxxx>
  • Date: Mon, 24 Sep 2007 17:58:19 +0200
  • Message-id: <20070924155819.GA7461@xxxxxxx>
* Marcus Rueckert <mrueckert@xxxxxxx> [2007-09-24 17:30]:
> On 2007-09-24 15:48:26 +0200, Andrew Beekhof wrote:
> > In a recent build of:
> >     http://build.opensuse.org/package/live_build_log? ;
> > arch=i586&project=server%3Aha- 
> > clustering&repository=Mandriva_2006&package=openais
> > 
> > 'uname -p' expanded into "Dual-Core AMD Opteron(tm) Processor 8214"  
> > and broke the makefile (due to various quoting issues)
> > 
> > Is such a value to be expected?
> > Should I perhaps be using 'uname -i' instead if I'm looking for i386/ 
> > x86_64/... ?
> 
> slackware has a similar issue.
> 
> uname -p on suse just reports x86_64

Yes, but you cannot rely on this:

    $ linux32 uname -p
    athlon

"uname -i" should be used for this since it prints i386 and not i586
or i686 on IA32.


Thanks,
   Bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups