[PATCH] gdb: Disable source-highlight static libstdc++ check

Tom Tromey tom@tromey.com
Mon Jun 15 14:06:32 GMT 2020


>>>>> "Stephanos" == Stephanos Ioannidis <root@stephanos.io> writes:

Hi.  Thanks for the patch.

Stephanos> This patch removes the libstdc++ static linking prevention check when
Stephanos> the libsource-highlight (aka. GNU Source Highlight) library is used.

Patches have to come with a ChangeLog entry.
See the contribution checklist:

https://sourceware.org/gdb/wiki/ContributionChecklist

Stephanos> The commit d806ea2d0ef362fcddd2c1659f537b68aa114203 introduced this
Stephanos> requirement in order to prevent exception handling issues when mixing
Stephanos> dynamic C++ libraries and static libstdc++; however, this restriction
Stephanos> does not apply when all linked C++ libraries are in the static form.

It seems like this would just reintroduce the build problem that this
addition was intended to fix.  Maybe some option to circumvent this
check would be better.

Tom


More information about the Gdb-patches mailing list