[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] GCC-3.2 segfault debugging update

From: Igor V. Kovalenko
Subject: Re: [Texmacs-dev] GCC-3.2 segfault debugging update
Date: Wed, 09 Jul 2003 10:29:36 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030611


Sorry I might have missed some important discussion on this subject.

This time I tried TeXmacs version built with

./configure  -v --prefix=/home/garrison/local --enable-optimize \
                --enable-debug --enable-fastalloc=yes

and seen the following results:

gcc (GCC) 3.2.3 20030502 (actually the latest CVS from 3.2 series)
  Seems to be the same crashing thing
  (as about Nov, 2002 for TeXmacs

gcc (GCC) 3.3.1 20030705 (prerelease) (also from gcc-3_3-branch CVS)
  Seems stable!
  Also tried --enable-fastalloc=no, seen some decrease in performance
  (as expected :) and still no crash for the same Help->Welcome test.

Any volunteer to confirm? If updated GCC fixes the stability problem
than it may be extremelly hard to determine the exact cause of failure
with 3.2 GCC.

BTW I used TeXmacs- from Jun 30, 2003
with Guile 1.6.4 on latest Gentoo Linux.

Two minor compile fixes were needed:
diff -ur TeXmacs- 
--- TeXmacs-       2003-06-30 
13:12:32.000000000 +0400
+++ TeXmacs-    2003-07-03 
22:34:16.000000000 +0400
@@ -14,8 +14,9 @@
 #define OBJECT_H
 #include "tree.hpp"
 #include "command.hpp"
-typedef long SCM;
-//#include <libguile/tags.h>
+//typedef long SCM;
+#include <libguile/tags.h>

 class object_rep: concrete_struct {
   SCM handle;
diff -ur TeXmacs- 
--- TeXmacs-    2003-06-30 
13:12:41.000000000 +0400
+++ TeXmacs- 2003-07-03 22:54:33.000000000 
@@ -220,7 +220,7 @@
 $(classes_obj): Objects/%.o: %.cpp
        $(call cxx_incl,$(classes_incl))
 $(data_obj): Objects/%.o: %.cpp
-       $(call cxx_incl,$(data_incl),-I$(tmsrc)/include)
+       $(call cxx_incl,$(data_incl) -I$(tmsrc)/include)
 $(edit_obj): Objects/%.o: %.cpp
        $(call cxx_incl,$(edit_incl))
 $(guile_obj): Objects/%.o: %.cpp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]