sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.33k stars 453 forks source link

gfan totally broken on 32-bit OpenSolaris on x86 CPU #9736

Closed bac7d3ea-3f1b-4826-8464-f0b53d5e12d2 closed 14 years ago

bac7d3ea-3f1b-4826-8464-f0b53d5e12d2 commented 14 years ago

== Hardware & Software ==

sage -t  -long devel/sage/doc/en/tutorial/tour_advanced.rst
**********************************************************************
File "/export/home/drkirkby/32/sage-4.5.3.alpha0/devel/sage-main/doc/en/tutorial/tour_advanced.rst", line 66:
    sage: F.reduced_groebner_bases ()
Exception raised:
    Traceback (most recent call last):
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/bin/ncadoctest.py", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/bin/sagedoctest.py", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/bin/ncadoctest.py", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_1[5]>", line 1, in <module>
        F.reduced_groebner_bases ()###line 66:
    sage: F.reduced_groebner_bases ()
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/lib/python/site-packages/sage/rings/polynomial/groebner_fan.py", line 696, in reduced_groebner_bases
        G = self._gfan_reduced_groebner_bases()
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/lib/python/site-packages/sage/rings/polynomial/groebner_fan.py", line 647, in _gfan_reduced_groebner_bases
        B = self.gfan()
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/lib/python/site-packages/sage/rings/polynomial/groebner_fan.py", line 755, in gfan
        s = gfan(I, cmd, verbose=self.__verbose, format=format)
      File "/export/home/drkirkby/32/sage-4.5.3.alpha0/local/lib/python/site-packages/sage/interfaces/gfan.py", line 67, in __call__
        raise RuntimeError, err
    RuntimeError: ld.so.1: gfan: fatal: relocation error: file /export/home/drkirkby/32/sage-4.5.3.alpha0/local/bin/gfan: symbol _ZNSt15_List_node_base7_M_hookEPS_: referenced symbol not found

CC: @jaapspies @jhpalmieri

Component: doctest coverage

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

bac7d3ea-3f1b-4826-8464-f0b53d5e12d2 commented 14 years ago
comment:3

This was an error on my part. LD_LIBRARY_PATH was not set, and neither were LD_OPTIONS, so gfan was picking up the older gcc header files included with OpenSolaris, and not the newer ones which were part of the gcc 4.5.0 on the system.

As such, this ticket is invalid.

The only issues affecting 32-bit build on OpenSolaris on x86 are the same as as those effecting 32-bit builds Solaris 10 x86. These are shown on the METATICKET #9734. The problems effecting the 32-bit builds on x86 hardward are:

Dave