[Bug libstdc++/99172] Build failure with slibtool and vtv

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 15 16:43:47 GMT 2021


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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Caroline Tice <ctice@gcc.gnu.org>:

https://gcc.gnu.org/g:c2be82058fb40f3ae891c68d185ff53e07f14f45

commit r11-7678-gc2be82058fb40f3ae891c68d185ff53e07f14f45
Author: Caroline Tice <cmtice@google.com>
Date:   Fri Mar 12 07:34:36 2021 -0800

    libstdc++-v3: Update VTV vars for libtool link commands [PR99172]

    This fixes PR 99172

    Currently when GCC is configured with --enable-vtable-verify, the
    libstdc++-v3 Makefiles add "-fvtable-verify=std
    -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end" to libtool link
    commands. The "-fvtable-verify=std" piece causes alternate versions of
    libtool (such as slibtool) to fail, unable to find "-lvtv" (GNU
    libtool just removes that piece).

    This patch updates the libstdc++-v3 Makefiles to not pass
    "-fvtable-verify=std" to the libtool link commands.


More information about the Gcc-bugs mailing list