[Bug c++/14563] octave built under Cygwin very slow
Ben dot Diedrich at noaa dot gov
gcc-bugzilla@gcc.gnu.org
Thu Mar 25 14:16:00 GMT 2004
------- Additional Comments From Ben dot Diedrich at noaa dot gov 2004-03-25 14:15 -------
Subject: Re: octave built under Cygwin very slow
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
More information about the Gcc-bugs
mailing list