[PATCH] Do not bail out for multiple PREVAILING_DEF_IRONLY for common symbols.

Martin Liška mliska@suse.cz
Thu Apr 19 08:41:00 GMT 2018


Hi.

This patch handles the lto-wrapper failure seen on multiple packages in
openSUSE OBS w/ -flto. It's explained here in more details:
https://sourceware.org/bugzilla/show_bug.cgi?id=23079

The patch is approved by Honza, I'm going to install it.

Martin

gcc/lto/ChangeLog:

2018-04-19  Martin Liska  <mliska@suse.cz>

	* lto-symtab.c (lto_symtab_resolve_symbols): Do not bail out
	for multiple PREVAILING_DEF_IRONLY for common symbols.
---
 gcc/lto/lto-symtab.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-bail-out-for-multiple-PREVAILING_DEF_IRONLY-f.patch
Type: text/x-patch
Size: 907 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180419/65e3fc7f/attachment.bin>


More information about the Gcc-patches mailing list