This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling DLL


Marco Trudel writes:
 > Andrew Haley wrote:
 > > Marco Trudel writes:
 > >  > Yeah, this is broken in newer versions. Someone - sorry I even
 > >  > forgot the name - had (a year, half a year ago?) a ready patch that
 > >  > adds DWARF exception handling, your requested DLL support and
 > >  > building GCJ as DLL to mingw. As far as I know, he posted the patch
 > >  > to the gcc-patches list and didn't really get a reaction. Therefore
 > >  > the patch... well... went forgotten? It's really a shame...
 > > 
 > > I thought that patch was broken.  I can't remember the exact details,
 > > but my understanding was that it was incompatible with something else.
 > 
 > Never heard anything like that. Latest thing I remember is that you 
 > didn't know that dwarf support for mingw was already implemented :-)

Nothing surprising about that: my knowledge of mingw is nearly zero.

 > But of course you might be right, I don't know all details. I only know 
 > that we lost a valuable patch for mingw...

Everyone who uses mingw has been desperate to make proper exception
handling work.  But my understanding was that DWARF is not compatible
with Windows Stuructred Exception Handling, and that makes it
impossible to handle exceptions in Windows callbacks.  And that
no-one, depsite extensive pleading, was prepared to solve the problem
by handling SEH frames correctly.  And that is an absolute
show-stopper.

Now, I might be wrong about all this, as I said...

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]