public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/102632] Missing AM_CCASFLAGS in libsanitizer Makefile.am
Date: Fri, 08 Oct 2021 13:17:23 +0000	[thread overview]
Message-ID: <bug-102632-4-Yungf0UtF2@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102632-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

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

commit r12-4251-ga23653c6a683d6a1bb1278aaa32e35247d8c2740
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Sep 10 06:13:59 2021 -0700

    libsanitizer: Add AM_CCASFLAGS to Makefile.am

    commit 9069eb28d45baaa8baf5e3790b03b0e2cc5b49b3
    Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
    Date:   Fri Nov 17 22:34:50 2017 +0100

        Enable building libsanitizer with Intel CET

        libsanitizer/
                * acinclude.m4: Add enable.m4 and cet.m4.
                * Makefile.in: Regenerate.
                * asan/Makefile.am: Update AM_CXXFLAGS.
                * asan/Makefile.in: Regenerate.
                * configure: Likewise.
                * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
                EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
                * interception/Makefile.am: Update AM_CXXFLAGS.
                * interception/Makefile.in: Regenerate.
                * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
                * libbacktrace/Makefile.in: Regenerate.
                * lsan/Makefile.am: Update AM_CXXFLAGS.
                * lsan/Makefile.in: Regenerate.
                * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
                AM_CCASFLAGS.
                * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
                Add _CET_ENDBR macro.
                * sanitizer_common/Makefile.in: Regenerate.
                * tsan/Makefile.am: Update AM_CXXFLAGS.
                * tsan/Makefile.in: Regenerate.
                * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
                * ubsan/Makefile.am: Update AM_CXXFLAGS.
                * ubsan/Makefile.in: Regenerate.

    failed to add EXTRA_ASFLAGS to AM_CCASFLAGS in all Makefile.am.  As
    the result, CET aren't enabled in all assembly codes.

    Add AM_CCASFLAGS to Makefile.am to compile assembly codes with $CET_FLAGS.

            PR sanitizer/102632
            * asan/Makefile.am (AM_CCASFLAGS): New.  Set to $(EXTRA_ASFLAGS).
            * hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
            * interception/Makefile.am (AM_CCASFLAGS): Likewise.
            * lsan/Makefile.am (AM_CCASFLAGS): Likewise.
            * tsan/Makefile.am (AM_CCASFLAGS): Likewise.
            * ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
            * asan/Makefile.in: Regenerate.
            * hwasan/Makefile.in: Likewise.
            * interception/Makefile.in: Likewise.
            * lsan/Makefile.in: Likewise.
            * tsan/Makefile.in: Likewise.
            * ubsan/Makefile.in: Likewise.

  reply	other threads:[~2021-10-08 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06 18:20 [Bug sanitizer/102632] New: " hjl.tools at gmail dot com
2021-10-08 13:17 ` cvs-commit at gcc dot gnu.org [this message]
2021-10-08 13:38 ` [Bug sanitizer/102632] " hjl.tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-102632-4-Yungf0UtF2@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).