[Bug ada/82141] [8 Regression] raised RTSFIND.RE_NOT_AVAILABLE : rtsfind.adb:851 on darwin
simon at pushface dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 21:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82141
--- Comment #33 from simon at pushface dot org ---
(In reply to Iain Sandoe from comment #32)
> it doesn't make any difference if the libstdc++ is statically or dynamically
> linked, in fact
It’s libgcc that causes the problem; with static libgcc, putting -lSystem
before -lgcc gets the proper unwinder (well, a _working_ unwinder, anyway).
The problem with a dynamic libstdc++ (up to at least GCC7) is that, in
stage 2, the stage 1 compilers try to load against libstdc++ in the
to-be-installed location, fail, and try to load against the system
libstdc++, which is missing a required symbol.
More information about the Gcc-bugs
mailing list