https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750

--- Comment #24 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #23)
> (In reply to Jürgen Reuter from comment #22)
> > This is the output from the lldb command (but this was not a debug build of
> > gcc yet):
> > $ lldb ./static_1.exe
> > (lldb) target create "./static_1.exe"
> > Current executable set to './static_1.exe' (x86_64).
> > (lldb) run
> 
> <snip>
> 
> > __sb=0x0000000105c60840) at basic_ios.tcc:129
> >     frame #9: 0x0000000105afcdf9
> > libstdc++.6.dylib`std::ios_base::Init::Init() + 681
> >     frame #10: 0x0000000105ad30a0
> 
> ^^^^ so, you have a combination of things linking libstdc++ statically and
> dynamically .. that seems fragile at best.
> 
> Having said that - the tricky thing now is to determine what has "broken"
> (it's probably going to be hard without a "before" and "after" case).

Indeed - somehow you didn't get a statically linked executable.  Quoting the
full final link command would be interesting.

Reply via email to