Opened 12 years ago

Closed 10 years ago

#7062 closed defect (duplicate)

ECL snapshot of 13th Sept 2009 fails with Sun Studio 12.1

Reported by: drkirkby Owned by: tbd
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: porting: Solaris Keywords:
Cc: Merged in:
Authors: Reviewers: David Kirkby
Report Upstream: Fixed upstream, in a later stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

I tried to build the file ecl-9.8.4-20090913cvs.p1 in Sage sage-4.1.2.alpha4, but it fails with a message that the compiler needs to be c99 compliant. I think the author of ECL has now fixed that, so there is no such requirement, but no stable release has been made since he made the fix.

I added a few lines to spkg-install, to force the compiler option -xc99, but whilst the build of ECL got a lot further, it failed with:

if test -f ../CROSS-DPP ; then ../CROSS-DPP /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/reference.d tm p.c ; else ./dpp /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/reference.d tmp.c ; fi
dpp: /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/reference.d -> tmp.c
/opt/xxxsunstudio12.1/bin/cc -DECLDIR="\"/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/lib/ecl-9.8.4\"" -I. -I/export/home/drkirkby/sage/sage-4. 1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/build -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c  -I../ecl/gc -DECL_API -DECL_NO_LEGACY -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/include -O2 -m64 -g -xc99 -fPIC -O2 -m64 -g -xc99 -fPIC - Dsun4sol2 -c  -o reference.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/character.d tm p.c ; else ./dpp /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/character.d tmp.c ; fi
dpp: /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/character.d -> tmp.c
/opt/xxxsunstudio12.1/bin/cc -DECLDIR="\"/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/lib/ecl-9.8.4\"" -I. -I/export/home/drkirkby/sage/sage-4. 1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/build -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c  -I../ecl/gc -DECL_API -DECL_NO_LEGACY -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/include -O2 -m64 -g -xc99 -fPIC -O2 -m64 -g -xc99 -fPIC - Dsun4sol2 -c  -o character.o tmp.c
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d tmp.c ;  else ./dpp /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d tmp.c ; fi
dpp: /export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d -> tmp.c
/opt/xxxsunstudio12.1/bin/cc -DECLDIR="\"/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/lib/ecl-9.8.4\"" -I. -I/export/home/drkirkby/sage/sage-4. 1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/build -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c  -I../ecl/gc -DECL_API -DECL_NO_LEGACY -I/export/home/drkirkby/sage/sage-4.1.2.alpha4/local/include -O2 -m64 -g -xc99 -fPIC -O2 -m64 -g -xc99 -fPIC - Dsun4sol2 -c  -o file.o tmp.c
"/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d", line 4019: void function cannot return value
"/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d", line 4402: warning: statement not reached
"/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d", line 4722: warning: statement not reached
"/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d", line 4738: warning: shift count negative or too big: >>= 64
"/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/src/c/file.d", line 4769: warning: shift count negative or too big: <<= 64
cc: acomp failed for tmp.c
make[4]: *** [file.o] Error 1
make[4]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/build/c'
make[3]: *** [libeclmin.a] Error 2
make[3]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/drkirkby/sage/sage-4.1.2.alpha4/spkg/build/ecl-9.8.4-20090913cvs.p2/src'
Failed to build ECL ... exiting

Change History (3)

comment:1 Changed 12 years ago by drkirkby

Juanjo, the main author of ECL, has advised me this has been fixed in the ECL CVS. However, I will not at this point attempt to make a new package for Sage until there is a new stable release or ECL.

david Kirkby

comment:2 Changed 10 years ago by drkirkby

  • Report Upstream set to Fixed upstream, in a later stable release.

This can be closed as fixed by #7393 in sage-4.2.1.alpha0

comment:3 Changed 10 years ago by jdemeyer

  • Milestone changed from sage-4.7 to sage-duplicate/invalid/wontfix
  • Resolution set to duplicate
  • Reviewers set to David Kirkby
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.