delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/05/08:45:21

X-Spam-Check-By: sourceware.org
Message-ID: <4e41f5c20709050544m4cd6fa42q9fe2bdffa2166ace@mail.gmail.com>
Date: Wed, 5 Sep 2007 06:44:36 -0600
From: "Morgan Gangwere" <0 DOT fractalus AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Slowness problem due to sjlj-exceptions for Octave
In-Reply-To: <20070905174345.A53D60F0.matsuoka@mol.nagoya-u.ac.jp>
MIME-Version: 1.0
References: <20070905080321 DOT 29259AB0 DOT matsuoka AT mol DOT nagoya-u DOT ac DOT jp> <46DE0390 DOT 6060000 AT gmail DOT com> <20070905174345 DOT A53D60F0 DOT matsuoka AT mol DOT nagoya-u DOT ac DOT jp>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 9/5/07, Tatsuro MATSUOKA <matsuoka AT auniverseinjapan> wrote:
> Dear Carlo
>
> >Could you please expound (or point to a link) on what sjlj or sjlj-
> >exceptions do?  AFAIK, it's probably the first time the "octave sjlj
> >exception issue" has appeared in this list.  As far as I've seen, this is a
> >gcc issue.
> Disscussion seem to be started from the foloowing points
> http://gcc.gnu.org/ml/gcc-bugs/2004-03/msg01605.html
>
> And also cygwin.com
> http://cygwin.com/ml/cygwin/2005-04/msg01070.html
>
> In 2.1.xx series, I have built octave by myself using gcc-3.2 from
> special web site.  For octave 2.9.xx, the gcc-3.2 is no longer to be
> used.  So I have built gcc-3.4.4 --disable-sjlj-expceptions
>
> ********************
> $/opt/octave-2.9.13/gcc-3.4.4d/bin/gcc -v
> Reading specs from /opt/octave-2.9.13/gcc-3.4.4d/lib/gcc/i686-pc-
> cygwin/3.4.4/specs
> Configured with: /home/gcc_s/gcc-3.4.4-3/gcc-3.4.4-3/configure --
> disable-sjlj-exceptions --prefix=/opt/octave-2.9.13/gcc-3.4.4d
> Thread model: single
> gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> ********************
> >The cygwin octave maintainer (if [s]he is still there) must know more about
> >this.  However, Cygwin's octave is 2.1.72 but mainline is 2.9.13.
>
>  James R. Phillips was the maintaner of the  octave-2.1.73 on cygwin.
> However there are noresponses for my binary upload to on my web.
> Perhaps he is not working as a maintainer.
> At that time, the Octave only be built using the cygwin on the windows.
> So I suppose that he knows the problem but build it by the normally
> prepared compiler.
>
>
> >Would it be possible for you to send corresponding straces of the cases you
> >posted below?
> >
> For Octave on mingw
> octave.exe:1> testOregoB
> ans =  1.5781
>
> $ gcc -v
> Reading specs from c:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.2/
    ok this sounds odd..
> specs
> Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-
> as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --
host=mingw32? eh?
> disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32
> -registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --
> disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-
> debug --enable-interpreter --enable-hash-synchronization --enable-
> libstdcxx-debug
> Thread model: win32
> gcc version 3.4.2 (mingw-special)

it looks like this is a real minGW not cygwin minGW. that may be the problem.

Make sure that you call the REAL location of gcc -- you have been
using the MinGW/official installed version (it doesnt work with
cygwin)

I'd look for gcc.exe myself in /usr/bin/ and /bin/ (among others) and
place that path into a var (maby "cygwin-gcc"?) so that calling
"$cygwin-gcc (files) to use the cygwin GCC... but im probobly
overcomplicating it.

-- 
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.
-----BEGIN PGP SIGNATURE-----
Version: Gmail/GnuPG Min32 Hack
Comment: Using GnuPG and Gmail - ask me about Grim Fandango

iD8DBQFGV3KQCF9T/dUsmAgRAvESAKDfZYbRtebNO+WPfx6DryIvIwt9TgCgukZG
cIj5nSWws/pAeW2ESlj7GuM=
=Y4uC
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019