On Wed, Dec 12, 2012 at 6:21 AM, H.J. Lu <hjl.to...@gmail.com> wrote:
> On Thu, Nov 29, 2012 at 9:38 AM, H.J. Lu <hongjiu...@intel.com> wrote:
>> Hi,
>>
>> When GCC is configured with --with-build-config="bootstrap-asan", all
>> -flto tests will fail since -fsanitize=address is used to compile
>> liblto_plugin.so and linker isn't compiled with -fsanitize=address.
>> This patch filters out -fsanitize=address from CFLAGS if we aren't
>> in a combined tree with binutils.  OK to install?
>>
>>
>> H.J.
>> ---
>> ---
>>  lto-plugin/Makefile.am    |  7 +++++++
>>  lto-plugin/Makefile.in    |  5 +++++
>>  lto-plugin/configure      | 18 +++++++++++++++---
>>  lto-plugin/configure.ac   |  4 ++++
>>  5 files changed, 39 insertions(+), 3 deletions(-)
>>  create mode 100644 lto-plugin/ChangeLog.asan
>>
>> 2012-11-21  H.J. Lu  <hongjiu...@intel.com>
>>
>>         * Makefile.am (CFLAGS): Filter out -fsanitize=address if not
>>         in a combined tree of GCC and binutils.
>>         (LDFLAGS): Likewise.
>>         * configure.ac (COMBINED_TREE): New AM_CONDITIONAL.
>>         * Makefile.in: Regenerated.
>>         * configure: Likewise.
>>
>
> PING.
>

PING.

-- 
H.J.

Reply via email to