https://sourceware.org/bugzilla/show_bug.cgi?id=29973

--- Comment #34 from cqwrteur <euloanty at live dot com> ---
(In reply to cqwrteur from comment #33)
> (In reply to Nick Clifton from comment #32)
> > Hi,
> > 
> >   I am wondering if there are two problems here, rather than just one.  So
> > please could you check a couple of things for me ?
> > 
> >   1. Does iostream.exe fail to run if built without LTO ?
> >   2. Where does iostream.exe fail ?  Is it before main(), or when the
> > libstdc++ library is being loaded, or somewhere else ?
> > 
> > Thanks
> >   Nick
> 
> it fails to run without lto. yes
> 
> when libstdc++ library is being loaded.

if it is -static-libstdc++ then it works. Or it just crashes the program. I
tried with lld and it works even with GCC or clang with/without lto.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to