texmacs-dev
[Top][All Lists]
Advanced

[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

Hi!

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

This time I tried TeXmacs version 1.0.1.16 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 1.0.0.21)

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-1.0.1.16-src.tar.gz from Jun 30, 2003
with Guile 1.6.4 on latest Gentoo Linux.

Two minor compile fixes were needed:
----------------
diff -ur TeXmacs-1.0.1.16-src-orig/src/Guile/Scheme/object.hpp 
TeXmacs-1.0.1.16-src/src/Guile/Scheme/object.hpp
--- TeXmacs-1.0.1.16-src-orig/src/Guile/Scheme/object.hpp       2003-06-30 
13:12:32.000000000 +0400
+++ TeXmacs-1.0.1.16-src/src/Guile/Scheme/object.hpp    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-1.0.1.16-src-orig/src/common.makefile.in 
TeXmacs-1.0.1.16-src/src/common.makefile.in
--- TeXmacs-1.0.1.16-src-orig/src/common.makefile.in    2003-06-30 
13:12:41.000000000 +0400
+++ TeXmacs-1.0.1.16-src/src/common.makefile.in 2003-07-03 22:54:33.000000000 
+0400
@@ -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]