#11331: PolyBoRi won't build on OS X 10.4 PPC G4
------------------------+---------------------------------------------------
Reporter: kcrisman | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.1
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
With both XCode 2.4.1 and 2.5, builds consistently fail at !PolyBoRi on
Mac OS X 10.4 on PowerPC G4 chips.
No other platforms seem to be affected, including G5 chips and 10.5 on a
G4.
Depending on the machine and the version, the error seems to hit at
different places, but in the end it's always failing. See for example
[http://groups.google.com/group/sage-
release/browse_thread/thread/b41ef4f3dd2c1be0/127b263a05c1cbab?show_docid=127b263a05c1cbab
this sage-release thread].
It appears to be a compiler bug, perhaps a memory issue.
This is with sage-4.7.rc0 through rc2. alpha5 is unaffected, which is
truly bizarre. Since Singular's latest (rc2, p9) builds fine on these
machines, it might be the bzip2 package upgrade that is the issue,
unlikely though this may seem.
E.g.,
{{{
Dasher-03:~/Desktop/sage-4.7.rc1 student$ make
cd spkg && "../spkg/pipestatus" "./install all 2>&1" "tee -a ../
install.log"
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
SAGENB=sagenb-0.8.14
GD=gd-2.0.35.p5
CONWAY=conway_polynomials-0.2
CLIQUER=cliquer-1.2.p8
READLINE=readline-6.1
JINJA2=jinja2-2.5.5
SAGE_LOGS=/Users/student/Desktop/sage-4.7.rc1/spkg/logs
PEXPECT=pexpect-2.0.p4
F2C=f2c-20070816.p2
TERM_PROGRAM=Apple_Terminal
MATPLOTLIB=matplotlib-1.0.1
G2RED=genus2reduction-0.3.p8
LIBM4RI=libm4ri-20100701.p1
SAGE_BZIP2=bzip2-1.0.5
TERM=xterm-color
SHELL=/bin/sh
CYTHON=cython-0.14.1.p1
MAKEFLAGS=
SQLALCHEMY=sqlalchemy-0.5.8
DOCUTILS=docutils-0.5.p0
ZNPOLY=zn_poly-0.9.p5
SYMMETRICA=symmetrica-2.0.p5
GIVARO=givaro-3.2.13rc2.p2
TERM_PROGRAM_VERSION=133-1
SAGETEX=sagetex-2.2.5
MPFR=mpfr-2.4.2
SYMPY=sympy-0.6.4.p0
POLYTOPES_DB=polytopes_db-20100210
OLDPWD=/Users/student/Desktop/sage-4.7.rc1
EXAMPLES=examples-4.7.rc1
ATLAS=atlas-3.8.3.p16
PREREQ=prereq-0.8
DIR=dir-0.1
TACHYON=tachyon-0.98.9.p3
MPFI=mpfi-1.3.4-cvs20071125.p8
MERCURIAL=mercurial-1.6.4.p0
CDDLIB=cddlib-094f.p8
ECLIB=eclib-20100711
USER=student
R=r-2.10.1.p4
SPHINX=sphinx-1.0.4.p6
LIBGCRYPT=libgcrypt-1.4.4.p3
CVXOPT=cvxopt-1.1.3
BOEHM_GC=boehm_gc-7.1.p6
TERMCAP=termcap-1.3.1.p1
MPIR=mpir-1.2.2.p2
ZODB=zodb3-3.7.0.p4
GRAPHS=graphs-20070722.p1
ICONV=iconv-1.13.1.p3
__CF_USER_TEXT_ENCODING=0x1F7:0:0
ECL=ecl-11.1.1.p0
CEPHES=cephes-2.8
SAGE_LOCAL=/Users/student/Desktop/sage-4.7.rc1/local
MAKELEVEL=1
SAGE_SCRIPTS=sage_scripts-4.7.rc1
ECM=ecm-6.2.1.p2
TWISTED=twisted-9.0.p2
RUBIKS=rubiks-20070912.p15
FREETYPE=freetype-2.3.5.p3
MFLAGS=
PYGMENTS=pygments-1.3.1.p0
GAP=gap-4.4.12.p5
PATH=/Users/student/Desktop/sage-4.7.rc1:/Users/student/Desktop/
sage-4.7.rc1/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
IML=iml-1.0.1.p13
LAPACK=lapack-20071123.p2
EXTCODE=extcode-4.7.rc1
BLAS=blas-20070724
ZLIB=zlib-1.2.5
SINGULAR=singular-3-1-1-4.p8
GNUTLS=gnutls-2.2.1.p5
POLYBORI=polybori-0.7.0.p2
LIBGPG_ERROR=libgpg_error-1.6.p3
PWD=/Users/student/Desktop/sage-4.7.rc1/spkg
LCALC=lcalc-20100428-1.23.p6
SCONS=scons-1.2.0
LINBOX=linbox-1.1.6.p3
OPENCDK=opencdk-0.6.6.p5
FLINTQS=flintqs-20070817.p5
GDMODULE=gdmodule-0.56.p7
SCIPY=scipy-0.9
SAGE_ROOT_REPO=sage_root-4.7.rc1
GFAN=gfan-0.4plus.p1
SAGE_ROOT=/Users/student/Desktop/sage-4.7.rc1
SAGE=sage-4.7.rc1
RATPOINTS=ratpoints-2.1.3.p1
NUMPY=numpy-1.5.1
PARI=pari-2.4.3.alpha.p5
PATCH=patch-2.5.9.p0
GLPK=glpk-4.44
PPL=ppl-0.11.2
PALP=palp-1.1.p3
SHLVL=4
HOME=/Users/student
PYCRYPTO=pycrypto-2.1.0
GSL=gsl-1.14
PYTHON_GNUTLS=python_gnutls-1.1.4.p7
IPYTHON=ipython-0.9.1.p0
FLINT=flint-1.5.0.p5
PYTHONPATH=/Users/student/Desktop/sage-4.7.rc1/local
LOGNAME=student
SQLITE=sqlite-3.7.5
MPMATH=mpmath-0.17
NTL=ntl-5.4.2.p12
FORTRAN=fortran-20100629
PIL=pil-1.1.6.p4
SYMPOW=sympow-1.018.1.p8
PYNAC=pynac-0.2.1
MAXIMA=maxima-5.23.2
FPLLL=libfplll-3.0.12.p1
SETUPTOOLS=setuptools-0.6c9.p0
MOIN=moin-1.9.1.p1
ELLIPTIC_CURVES=elliptic_curves-0.1
BOOST_CROPPED=boost-cropped-1.34.1
SECURITYSESSIONID=69af20
PYTHON=python-2.6.4.p10
NETWORKX=networkx-1.2.p1
LIBPNG=libpng-1.2.35.p3
_=/usr/bin/env
***********************************************
/Users/student/Desktop/sage-4.7.rc1/spkg/pipestatus "sage-spkg $
{SAGE_SPKG_OPTS} polybori-0.7.0.p2 2>&1" "tee -a /Users/student/
Desktop/sage-4.7.rc1/spkg/logs/polybori-0.7.0.p2.log"
Warning: Attempted to overwrite SAGE_ROOT environment variable
polybori-0.7.0.p2
Machine:
Darwin Dasher-03.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
powerpc
Deleting directories from past builds of previous/current versions of
polybori-0.7.0.p2
Extracting package /Users/student/Desktop/sage-4.7.rc1/spkg/standard/
polybori-0.7.0.p2.spkg ...
-rw-r--r-- 1 student student 1885217 Mar 30 18:44 /Users/student/
Desktop/sage-4.7.rc1/spkg/standard/polybori-0.7.0.p2.spkg
Finished extraction
****************************************************
Host system
uname -a:
Darwin Dasher-03.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
powerpc
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --
disable-checking -enable-werror --prefix=/usr --mandir=/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-
slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-
darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
****************************************************
Starting build...
Removing old PolyBoRi install...
Done removing old PolyBoRi install.
Running build_polybori...
scons: Reading SConscript files ...
darwin linker detected!
Platform: darwin
Checking for C header file gd.h... yes
Checking for C library gd... yes
Checking for C++ header file ext/hash_map... yes
Warning: No LaTeX to html converter found, Tutorial will not be
installed
Checking for C library m4ri... yes
Checking for C header file gd.h... yes
Checking for C library gd... yes
no python extension
scons: done reading SConscript files.
scons: Building targets ...
g++ -o polybori/src/BoolePolyRing.o -c -O3 -Wno-long-long -Wreturn-
type -g -fPIC -ftemplate-depth-100 -O3 -Wno-long-long -Wreturn-type -g
-fPIC -DNDEBUG -DHAVE_GD -DHAVE_HASH_MAP -DPACKED -DHAVE_M4RI -
DHAVE_GD -DHAVE_IEEE_754 -I/Users/student/Desktop/sage-4.7.rc1/local/
include -I/Users/student/Desktop/sage-4.7.rc1/local/include/python2.6 -
Ipolybori/include -ICudd/obj -ICudd/util -ICudd/cudd -ICudd/mtr -ICudd/
st -ICudd/epd polybori/src/BoolePolyRing.cc
[address=019fffff pc=003f11d8]
In file included from polybori/include/CCheckedIdx.h:17,
from polybori/include/BoolePolyRing.h:23,
from polybori/include/BooleEnv.h:20,
from polybori/include/CTermIter.h:28,
from polybori/include/CDelayedTermIter.h:20,
from polybori/include/COrderedIter.h:23,
from polybori/include/COrderingBase.h:22,
from polybori/include/COrderingFacade.h:23,
from polybori/include/DegRevLexAscOrder.h:20,
from polybori/include/pbori_order.h:27,
from polybori/src/BoolePolyRing.cc:26:
polybori/include/pbori_defs.h:1: internal compiler error: Segmentation
Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
scons: *** [polybori/src/BoolePolyRing.o] Error 1
scons: building terminated because of errors.
Error building PolyBoRi.
real 0m37.750s
user 0m14.012s
sys 0m6.039s
sage: An error occurred while installing polybori-0.7.0.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /Users/student/Desktop/sage-4.7.rc1/install.log. Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/student/Desktop/sage-4.7.rc1/spkg/build/polybori-0.7.0.p2 and
type 'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Users/student/Desktop/sage-4.7.rc1/spkg/build/polybori-0.7.0.p2'
&& '/Users/student/Desktop/sage-4.7.rc1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/polybori-0.7.0.p2] Error 1
real 0m48.491s
user 0m18.221s
sys 0m8.112s
Error building Sage.
make: *** [build] Error 1
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11331>
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.