This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: DWARF-2 EH for MinGW gcj?
- From: Andrew Haley <aph at redhat dot com>
- To: Danny Smith <dannysmith at clear dot net dot nz>
- Cc: gnustuff at thisiscool dot com, "'GCJ'" <java at gcc dot gnu dot org>
- Date: Mon, 4 Dec 2006 11:52:41 +0000
- Subject: RE: DWARF-2 EH for MinGW gcj?
- References: <TPC7D2VRQ54IDVS5365844WF0VPIHF0.456a1a7f@d9300> <000401c71705$2fb62510$9f4861cb@anykey>
Danny Smith writes:
>
> Mohan Embar
> Monday, 27 November 2006 11:52 a.m.
> >
> > Hi Danny,
> >
> >
> > >I promise to submit a Part 1 patch by end of this week. If you would
> > >like to review first, I can send you working version.
> >
> > What does Part 1 do? I wouldn't mind looking at this, although
> > it will probably be Greek to me.
>
> Basically just registers the unwind info tables at startup.
>
> http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00133.html
>
> >
> > >Part 2 builds libgcc amd libstdc++ as dlls (c++ frontend patch for
> > >typeinfo linkage needed for latter).
> > >This takes care of EH across dll/exe bounds for C++with out need for
> > >shared-ptr hackery
> >
> > I'm assuming that this would mean that application developers would
> > need to ship these DLLs with their applications.
>
> Yes.
>
> Would this preclude
> > monolithic statically-linked executables?
>
> If *not* throwing execeptions across shared library boundaries, static
> linkage would still work fine for C/C++.
>
> > What are the GPL implications of this?
Can't see any. Where do you suspect that there might be?
> > >From what I understand of MSVC compiler for Vista, EH unwind is
> > handled >using DWARF2-like tables. Does anyone have any more
> > info?
Aren't they still using SEH for x86?
I heard on the x86-64 they're using a table-based scheme that's like
DWARF but (of course) incompatible.
Andrew.