#9583: Unhandled SIGSEGV with 4.5.2.alpha0 on t2
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  drkirkby  
       Type:  defect   |      Status:  new       
   Priority:  blocker  |   Milestone:  sage-4.5.2
  Component:  solaris  |    Keywords:            
     Author:           |    Upstream:  N/A       
   Reviewer:           |      Merged:            
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by SimonKing):

 Hi John!

 Yes, I already found out that indeed I have an account on t2.math. I could
 see only part of the advices, but at least I added a .profile in my home
 dictionary containing
 {{{
 if [ `uname -n` = t2 ] ; then
    . /usr/local/gcc-4.4.1-sun-linker/gcc441sun
 fi
 }}}

 Then, I unpacked the pre-built sage in some directory of mine (but not in
 /scratch, perhaps that would have been better), and Sage started.

 Replying to [comment:14 jhpalmieri]:
 > ...
 > In the file {{{SAGE_ROOT/local/include/singular/kstd1.h}}}, the
 variables {{{Kstd1_deg}}} and {{{Kstd1_mu}}} are defined differently;
 could that be causing the problem?
 > {{{
 > extern int LazyPass,LazyDegree,mu,Kstd1_deg;
 > #define Kstd1_mu mu
 > }}}

 Yes, this is something that we have been wondering about in Kaiserslautern
 at Sage Days 23.5.

 My understanding is that the line {{{#define Kstd1_mu mu}}} has the same
 effect as replacing {{{Kstd1_mu}}} by {{{mu}}} in any C-file that includes
 the header {{{kstd1.h}}} - in particular, this should also hold for the
 Cython-generated C-files. Hans Schönemann (Singular developer) agreed that
 this should not be a problem. And I used similar {{{#define}}} tricks
 myself repeatedly, so far without problem.

 But this was all using gcc -- Could it be that t2/Sun compiler behave
 differently in that regard?

 However, I would expect -- if {{{kstd1.h}}} really is to blame for it -
 that Singular would not build. Recall that this is a file verbously taken
 from Singular.

 Cheers,

 Simon

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9583#comment:15>
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.

Reply via email to