This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830

--- Comment #12 from Kai Tietz <ktietz at gcc dot gnu.org> ---
(In reply to Denis Excoffier from comment #10)
> Created attachment 32595 [details]
> gdb session catching signal SIGABRT

Some comments here:
- it might be helpful to install proper debug-information (cygwin1.dbg doesn't
match cygwin1.dll)
- to ease debugging it might be helpful to translate gcc without optimizations
- As side-note: is there by any chance -std=c++11 active on built?

The issue seems to be a global-destructor.  The issue might be that
a) A library doesn't register .eh_frame.  Nevertheless tries to destruct it
b) There is tried to destruct it more then once.  (Maybe try to set a
break-point on that function to find if it get called more then once)
c) Issue might be to have mixed static/shared version.  This could lead to
register/deregister-issues too.

In general it would be of interest to learn what destructors (by whom) are
present in the list called by do_global_dtors (&__DTOR_LIST__)


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