Opened 11 years ago

Last modified 5 years ago

#7048 new defect

ATLAS ignores CC variable, then dumps core when trying to build with Sun Studio on Solaris

Reported by: drkirkby Owned by: tbd
Priority: major Milestone: sage-6.4
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers: solaris GNUism
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by ltw)

Using

  • Solaris 10 update 7 on SPARC
  • sage-4.1.2.alpha4
  • Sun Studio 12.1
  • An updated configure script to allow the Sun compiler to be used #7021

I tried to build Sage with Sun Studio and see:

atlas-3.8.3.p9/src/src/auxil/ATL_hescal.c
atlas-3.8.3.p9/src/src/auxil/ATL_axpy.c
Finished extraction
****************************************************
Host system
uname -a:
SunOS swan 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
****************************************************
****************************************************
CC Version
/opt/xxxsunstudio12.1/bin/cc -v
usage: cc [ options] files.  Use 'cc -flags' for details
****************************************************
Platform detected to be 32 bits
system_atlas.py:6: DeprecationWarning: os.popen2 is deprecated.  Use the subprocess module.
  fortran = os.popen2(os.environ['SAGE_LOCAL']+'/bin/'+'which_fortran')[1].read()
f95: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise
f95: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
Usage: f95 [ options ] files.  Use 'f95 -flags' for details
/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9
Deal with PPC4 7447 model and Itanium 2
Updating archinfo_x86.c
Updating probe_comp.c
Updating Make.top
make[2]: Entering directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
gcc -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/include  -g -w -c /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/src/atlconf_misc.c
gcc -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/include  -g -w -o xconfig /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/src/config.c atlconf_misc.o
make[2]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
./xconfig -d s /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src/ -d b /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build  -Ss flapack /export/home/drkirkby/sage/sage-4.1.2.alpha4/local/lib/liblapack.a -Si cputhrchk 0 -Fa alg -fPIC -t 0 -C if /export/home/drkirkby/sage/sage-4.1.2.alpha4/local/bin/sage_fortran -b 32
make[2]: Entering directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
gcc -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/include  -g -w -c /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/src/probe_comp.c
gcc -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/include  -g -w -o xprobe_comp probe_comp.o atlconf_misc.o
rm -f config1.out
make atlas_run atldir=/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build exe=xprobe_comp args="-v 0 -o atlconf.txt -O 2 -A 28 -Si nof77 0  -Fa ic '-fPIC' -Fa sm '-fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '-fPIC' -Fa xc '-fPIC' -C if '/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/bin/sage_fortran' -Fa if '-fPIC'  -b 32" \
                redir=config1.out
make[3]: Entering directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
cd /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build ; ./xprobe_comp -v 0 -o atlconf.txt -O 2 -A 28 -Si nof77 0  -Fa ic '-fPIC' -Fa sm '-fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '-fPIC' -Fa xc '-fPIC' -C if '/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/bin/sage_fortran' -Fa if '-fPIC'  -b 32 > config1.out
UNKNOWN COMPILER '/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/bin/sage_fortran' for F77: you must also supply flags!
make[3]: *** [atlas_run] Error 7
make[3]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
make[2]: *** [IRun_comp] Error 2
make[2]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
Assertion failed: !system(ln), file /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build/../src//CONFIG/src/config.c, line 125

OS configured as SunOS (2)

Assembly configured as GAS_SPARC (3)

Bad VECFLAG value=0, ierr=0, ln2='VECFLAG=0
'

Vector ISA Extension configured as   (0,0)

Architecture configured as  USIII (28)

Clock rate configured as 1200Mhz
Cannot detect CPU throttling.
Abort - core dumped
xconfig exited with 134
make[2]: Entering directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
make -f Make.top build
make[3]: Entering directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
make[3]: Make.top: No such file or directory
make[3]: *** No rule to make target `Make.top'.  Stop.
make[3]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/atlas-3.8.3.p9/ATLAS-build'
Failed to build ATLAS.
Failed to build ATLAS.

real    0m11.364s
user    0m5.163s
sys     0m4.042s

Change History (6)

comment:1 Changed 9 years ago by ltw

  • Description modified (diff)
  • Report Upstream set to N/A

comment:2 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:3 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:4 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:5 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:6 Changed 5 years ago by jdemeyer

  • Component changed from build to packages: standard
Note: See TracTickets for help on using tickets.