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

ratpoints always building 32-bit on Solaris even when SAGE64="yes" #7137

Closed
sagetrac-drkirkby mannequin opened this issue Oct 6, 2009 · 1 comment
Closed

ratpoints always building 32-bit on Solaris even when SAGE64="yes" #7137

sagetrac-drkirkby mannequin opened this issue Oct 6, 2009 · 1 comment

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Oct 6, 2009

Using

  • A Sun Blade 2000 running Solaris 10 update 7
  • Sage 4.1.2.rc0
  • gcc 4.4.1
  • SAGE64 exported to "yes"

Looking at the directory $SAGE_HOME/local/bin, we can see that ratpoint is being built as 32-bit binary, despite the fact that SAGE64 was set to "yes"

drkirkby@swan:[~/sage/gcc64-sage-4.1.2.rc0/local/bin] $ file ratpoint
ratpoint:       ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, stripped

This is far from the only package building 32-bit when SAGE64 is set to "yes" on Solaris. All of the following do, and I suspect there are many others too.

mpir currently mixes 32 and 64-bit objects, so does not build at all #7132.

I will sort this package out after creating a new sage-env, which exports all the variables properly, including the flag for building 64-bit code, which is not always -m64.

Although there is no support for AIX or HP-UX in Sage yet, we could potentially add it - I personally own machines running AIX and HP-UX.

IBM's compiler on AIX uses -q64, and HP's on HP-UX uses +DD64.

The sensible way to resolve this is to add the correct flag on every platform.

Component: porting: Solaris

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

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-4.5.3 milestone Oct 6, 2009
@sagetrac-drkirkby sagetrac-drkirkby mannequin changed the title always building 32-bit on Solaris even when SAGE64="yes" ratpoints always building 32-bit on Solaris even when SAGE64="yes" Oct 6, 2009
@sagetrac-drkirkby
Copy link
Mannequin Author

sagetrac-drkirkby mannequin commented Aug 20, 2010

comment:2

This was fixed for OpenSolaris #8351. The fix also works for Solaris 10, so this can be closed.

Dave

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

0 participants