[Bug other/91396] Link error when I use -fvtable-verify=std and -static
ctice at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 13 16:12:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91396
--- Comment #5 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Tue Aug 13 16:11:20 2019
New Revision: 274386
URL: https://gcc.gnu.org/viewcvs?rev=274386&root=gcc&view=rev
Log:
Fix PR other/91396 static linke error with -fvtable-verify
Fix a bug where linking with -fvtable-verify and
-static causes the linker to complain about multiple definitions of
things in the vtv_end*.o files (once from the .o file and once from
libvtv.a).
2019-08-12 Caroline Tice <cmtice@google.com>
PR other/91396
* config/gnu-user.h (GNU_USER_TARGET_ENDFILE_SPEC): Only add the
vtv_end.o or vtv_end_preinit.o files if !static.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/gnu-user.h
More information about the Gcc-bugs
mailing list