This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] PR ld/20321: Warn and return for duplicated plugin
On Mon, Jul 11, 2016 at 5:34 AM, Cupertino Miranda
> Hi H.J.
> I don't seem to PASS pr20321 in any of the architectures I tried it for.
> More precisely, X86 and ARC.
> The following assertion occurs:
> collect-ld: ../../src/lto-plugin/lto-plugin.c:621:
> all_symbols_read_handler: Assertion `lto_wrapper_argv' failed.
Please make sure that you have
>From 29d7478bc63762606302a0ae0525b22eaf85b47b Mon Sep 17 00:00:00 2001
From: H.J. Lu <email@example.com>
Date: Tue, 5 Jul 2016 07:35:52 -0700
Subject: [PATCH] Add -flto to PR ld/20321 test
Before GCC 4.9, -flto is required for final LTO link. Add -flto to PR
ld/20321 test to support older versions of GCC.
* testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.