Opened 12 years ago

Last modified 9 years ago

#7038 closed defect

ratpoints 2.1.2.p2 ignores CC and uses gcc whatever — at Version 1

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

Status badges

Description (last modified by ltw)

I gather ratpoints is causing problems with it wanting a very recent version of gcc, where here is another issue. Even if the variable CC is set to the Sun compiler, ratpoints ignores that and simply uses gcc anyway.

The build of ratpoints was attempted using

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

So it seems there are two at least two issues to resolve in ratpoints.

ratpoints-2.1.2.p2/src/testdata.h
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
****************************************************
make[2]: Entering directory `/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/spkg/build/ratpoints-2.1.2.p2/src'
gcc sift.c -c -o sift.o -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
gcc gen_init_sieve_h.c -o gen_init_sieve_h  -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib -lgmp -lm
./gen_init_sieve_h > init_sieve.h
gcc init.c -c -o init.o -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops -O3

Change History (1)

comment:1 Changed 10 years ago by ltw

  • Description modified (diff)
  • Report Upstream set to N/A
Note: See TracTickets for help on using tickets.