Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

singular believes the Sun C++ compiler is broken. #7031

Closed
sagetrac-drkirkby mannequin opened this issue Sep 27, 2009 · 4 comments
Closed

singular believes the Sun C++ compiler is broken. #7031

sagetrac-drkirkby mannequin opened this issue Sep 27, 2009 · 4 comments

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Sep 27, 2009

Using

CC was set to the Sun C compler, and CXX to the Sun C++ compiler. The singular configure script does not believe the Sun C++ compiler can create executables. This is the same sort of error as seen in quaddouble-2.2.p9 #7030.

This time the problem is easy to diagnose. The test is used adds the option -fPIC when trying to test the C++ compiler. But -fPIC is a GNU-specific option - it is not acceptable to the Sun C++ compiler. Instead -xcode=pic32, -KPIC or -PIC would work, but not -fPIC.

It's clearly dumb to send a GNU specific option to test a C++ compiler unless you are 100% sure the C++ compiler is the GNU C++ compiler.

checking for c++... /opt/xxxsunstudio12.1/bin/CC
checking whether the C++ compiler (/opt/xxxsunstudio12.1/bin/CC  -O3 -g -fPIC ) works... no

CC: @dimpase

Component: porting: Solaris

Reviewer: Michael Orlitzky

Issue created by migration from https://trac.sagemath.org/ticket/7031

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-5.11 milestone Sep 27, 2009
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe
Copy link
Contributor

mkoeppe commented Jul 8, 2020

comment:5

Outdated, should be closed

@mkoeppe mkoeppe removed this from the sage-6.4 milestone Jul 8, 2020
@orlitzky
Copy link
Contributor

comment:6

The goal of these tickets is laudable, but:

  • We need at least one user who is able to test.
  • The package/OS information on this ticket is outdated beyond usefulness.
  • Upstream is a better place to report portability issues these days.

@orlitzky
Copy link
Contributor

Reviewer: Michael Orlitzky

@fchapoton
Copy link
Contributor

comment:7

Closing very old sun/solaris tickets. Any tentative for this OS should start afresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants