#9817: blas uses non-POSIX option -p to uname. This causes problems on HP-UX.
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby
       Type:  defect    |      Status:  new     
   Priority:  major     |   Milestone:  sage-4.6
  Component:  porting   |    Keywords:          
     Author:            |    Upstream:  N/A     
   Reviewer:            |      Merged:          
Work_issues:            |  
------------------------+---------------------------------------------------
 The POSIX standard for Unix states the command {{{uname}}} must exist, and
 list the options it should take. See

 http://www.opengroup.org/onlinepubs/9699919799/utilities/uname.html

 The '''only''' options which should be given in code that can be run on
 any system is these:


 {{{
     uname [-amnrsv]
 }}}

 but the BLAS package ignores this, and calls {{{uname -p}}}, which screws
 up on systems like HP-UX where the -p option is not supported.

 {{{
 blas-20070724/src/ztrsm.f
 blas-20070724/src/ztrsv.f
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 HP-UX hpbox B.11.11 U 9000/785 2016698240 unlimited-user license
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 Target: hppa2.0w-hp-hpux11.11
 Configured with: ../gcc-4.3.4/configure --with-gnu-as --with-
 as=/home/dclarke/local/bin/as --without-gnu-ld --with-ld=/usr/bin/ld
 --enable-threads=posix --enable-nls --prefix=/home/dclarke/local --enable-
 shared --enable-multilib --with-included-gettext --with-libiconv-
 prefix=/home/dclarke/local --with-system-zlib --with-
 gmp=/home/dclarke/local --with-mpfr=/home/dclarke/local --enable-
 languages=c,c++,fortran,objc --enable-bootstrap
 Thread model: posix
 gcc version 4.3.4 (GCC)
 ****************************************************
 uname: illegal option -- p
 usage: uname [-amnrsvil] [-S nodename]

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9817>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to