Opened 12 years ago
Closed 4 months ago
#7035 closed defect (invalid)
R sends the correct Sun flags to C and C++ compilers, but not Fortran.
Reported by: | drkirkby | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | packages: standard | Keywords: | solaris gfortran |
Cc: | Merged in: | ||
Authors: | Reviewers: | Michael Orlitzky | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
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
CC was set to the Sun C compiler, and CXX to the Sun C++ compiler and SAGE_FORTRAN to the Sun Fortran 95 compiler. While R sends the correct flags (-KPIC) to make position independent code to the Sun C and C++ compilers, it does not do so with the Fortran compiler. Instead it used the GNU flag -fPIC. R is however picking up the correct Fortran compiler (f95 and not gfortran)
/opt/xxxsunstudio12.1/bin/cc -I. -I../../src/include -I../../src/include -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/inlcude -DHAVE_CONFIG_H -KPIC -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/ -c tabulate.c -o tabulate.o /opt/xxxsunstudio12.1/bin/cc -I. -I../../src/include -I../../src/include -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/inlcude -DHAVE_CONFIG_H -KPIC -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/ -c uncmin.c -o uncmin.o/opt/xxxsunstudio12.1/bin/cc -I. -I../../src/include -I../../src/include -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/inlcude -DHAVE_CONFIG_H -KPIC -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include -L/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/ -c zeroin.c -o zeroin.osage_fortran -PIC -g -c ch2inv.f -o ch2inv.o f95: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise sage_fortran -PIC -g -c chol.f -o chol.o
Change History (5)
comment:1 Changed 11 years ago by
- Description modified (diff)
- Report Upstream set to N/A
comment:2 Changed 6 years ago by
- Component changed from build to packages: standard
comment:3 Changed 5 months ago by
- Milestone set to sage-duplicate/invalid/wontfix
- Status changed from new to needs_review
comment:4 Changed 4 months ago by
- Reviewers set to Michael Orlitzky
- Status changed from needs_review to positive_review
comment:5 Changed 4 months ago by
- Resolution set to invalid
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Outdated, should close