#10739: Singular fails to build on OSX with 64bit kernel
----------------------------+-----------------------------------------------
Reporter: vbraun | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.6.2
Component: build | Keywords:
Author: Volker Braun | Upstream: Workaround found; Bug reported
upstream.
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* milestone: => sage-4.6.2
* author: => Volker Braun
Old description:
> OSX usually runs a 32bit kernel (`uname -m == 'i386'`), but very new Macs
> default to a 64bit kernel (`uname -m == 'x86_64'`). This breaks Singular,
> since the `singuname.sh` script is not aware of the possibility of
> `x86_64`.
>
> From the OSX 10.6 wikipedia page
> http://en.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard
>
> Newer Xserve and Mac Pro machines will run a 64-bit kernel by default;
> newer iMac machines can run a 64-bit kernel, but will not do so by
> default. Users wishing to use the 64-bit kernel on those machines must
> hold down the numbers 6 and 4 on the keyboard while booting to get the
> 64-bit kernel to load.
>
> Franco Saliola on sage-devel (https://groups.google.com/d/msg/sage-
> release/X1J1ciueT5A/doPR9vPVZVAJ) has checked that modifying singuname.sh
> to return ix86Mac-darwin (same as other OSX versions) allows Singular to
> build correctly.
New description:
OSX usually runs a 32bit kernel (`uname -m == 'i386'`), but very new Macs
default to a 64bit kernel (`uname -m == 'x86_64'`). This breaks Singular,
since the `singuname.sh` script is not aware of the possibility of
`x86_64`.
From the OSX 10.6 wikipedia page
http://en.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard
Newer Xserve and Mac Pro machines will run a 64-bit kernel by default;
newer iMac machines can run a 64-bit kernel, but will not do so by
default. Users wishing to use the 64-bit kernel on those machines must
hold down the numbers 6 and 4 on the keyboard while booting to get the
64-bit kernel to load.
Franco Saliola on sage-devel (https://groups.google.com/d/msg/sage-
release/X1J1ciueT5A/doPR9vPVZVAJ) has checked that modifying singuname.sh
to return ix86Mac-darwin (same as other OSX versions) allows Singular to
build correctly.
Updated spkg is here:
http://www.stp.dias.ie/~vbraun/Sage/spkg/singular-3-1-1-4.p4.spkg
--
Comment:
Upstream agrees that the changes are correct, although they want to
introduce a new label because it is also used for binary packages. Since
we have our own labels for binary distributions, we can just use the
original workaround until the next upstream release.
I've made an updated singular spkg. Franco, can you test it?
I also tried to upgrade Singular to 3-1-2, but found that rather
complicated since the location of many headers moved.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10739#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.