C++ app segfaults in libstdc++

Dave Korn dave.korn.cygwin@gmail.com
Thu Jun 17 19:38:00 GMT 2010


On 17/06/2010 16:23, Charles Wilson wrote:

> As expected, this didn't work. But...the imports and exports are NOT
> what I expected, so I'm a little confused:

> Err, what? (a) why is this DLL exporting modexc stuff, when it is marked
> dllimport in this context? (b) why is this DLL exporting std::exception
> stuff?

  Looks like an e-a-s bug causing linked-in __imp_ symbols to get re-exported.
 That's not supposed to happen, but if you remove e-a-s (and add the standard
dllimport/dllexport macro dance in the module .h and .cpp files) you get more
sensible looking exports.

    cheers,
      DaveK


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



More information about the Cygwin mailing list