From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28539 invoked by alias); 25 Mar 2004 14:26:05 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 28510 invoked by alias); 25 Mar 2004 14:26:03 -0000 Date: Thu, 25 Mar 2004 14:26:00 -0000 Message-ID: <20040325142603.28509.qmail@sources.redhat.com> From: "paulthomas2 at wanadoo dot fr" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040312233606.14563.paulthomas2@wanadoo.fr> References: <20040312233606.14563.paulthomas2@wanadoo.fr> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14563] octave built under Cygwin very slow X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg03028.txt.bz2 List-Id: ------- Additional Comments From paulthomas2 at wanadoo dot fr 2004-03-25 14:25 ------- Subject: Re: octave built under Cygwin very slow Danny and Wolfgang, It seems that I was a bit too quick off the mark just now - thanks Ben! So, the obvious question is how to do a build with sjlj disabled that is consistent with the way in which octave handles exceptions. Does -disable-sjlj-exceptions do it without throwing up unrequited references during the linking? Just to satisfy my curiosity and I would think, Ben's, just what is sjlj (baby-talk, please) and is this yet another thing that I should know and care about? Paul T Ben Diedrich wrote: >Paul Thomas wrote: > > > >>Danny, >> >>I am away from base right now and do not have access to any of the >>installations - Ben Diedrich can supply you with the version number for >>the "good" gcc; ie. that of the octave-forge binary distribution. For >>your information, Ben tells me that the slow build, with profiling, >>runs slightly more than three times more slowly than the fast build with >>profiling. Since the only significant difference in the profiles is the >>presence in the slow build of sjlj calls,..... j'accuse! Otherwise, the >>problem must lie in something outside the scope of the profiling. >> >>If "W" does not automatically get this, could you ensure that it is >>forwarded to him, please? >> >>Paul Thomas >> >>PS Thank you both for your rapid responses to this problem; it is >>something that has been perplexing us a lot. >> >> > >Here are the results of 'gcc -v' for the compiler that results in a fast octave. Note that it includes the >option '--disable-sjlj-exceptions'. > >$ gcc -v >Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs >Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj >--enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter >--disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux >--host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr >--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin >Thread model: posix >gcc version 3.2 20020927 (prerelease) > >Here are the results for the compiler that gives a slower octave. I noticed that this one has the option >'--enable-sjlj-exceptions': > >$ gcc -v >Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs >Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-as --prefix=/usr >--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man >--infodir=/usr/share/info --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj >--enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter >--enable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --disable-win32-registry >--enable-java-gc=boehm --disable-hash-synchronization --verbose --target=i686-pc-cygwin >--host=i686-pc-cygwin --build=i686-pc-cygwin >Thread model: posix >gcc version 3.3.1 (cygming special) > >Ben > > > > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14563