public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
From: gdb-buildbot@sergiodj.net
To: gdb-testers@sourceware.org
Subject: [binutils-gdb] x86: Also pass -P to $(CPP) when processing i386-opc.tbl
Date: Wed, 18 Mar 2020 18:47:11 -0400	[thread overview]
Message-ID: <384f368958f2a5bb083660e58e5f8a010e6ad429@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 384f368958f2a5bb083660e58e5f8a010e6ad429 ***

commit 384f368958f2a5bb083660e58e5f8a010e6ad429
Author:     H.J. Lu <hjl.tools@gmail.com>
AuthorDate: Mon Mar 9 08:23:46 2020 -0700
Commit:     H.J. Lu <hjl.tools@gmail.com>
CommitDate: Mon Mar 9 08:23:46 2020 -0700

    x86: Also pass -P to $(CPP) when processing i386-opc.tbl
    
    Since i386-opc.tbl contains '\' to avoid very long lines and i386-gen
    requires that each instruction must be in one line, also pass -P to
    $(CPP) to inhibit generation of linemarkers in the output from the
    preprocessor to support i386-gen.
    
            * Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP).
            * Makefile.in: Regenerated.

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 47a6372d71..62a843a548 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP).
+	* Makefile.in: Regenerated.
+
 2020-03-09  Jan Beulich  <jbeulich@suse.com>
 
 	* i386-opc.tbl (avx_irel): New. Use is for AVX512 vpcmp*
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 4f06074a85..7318bf04a8 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -561,7 +561,7 @@ $(srcdir)/i386-tbl.h: $(srcdir)/i386-init.h
 	@echo $@
 
 $(srcdir)/i386-init.h: @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg.tbl i386-opc.h
-	$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
+	$(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
 		< $(srcdir)/i386-opc.tbl \
 		| ./i386-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir)
 
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index 8564803fc7..ddb93464bc 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -1535,7 +1535,7 @@ $(srcdir)/i386-tbl.h: $(srcdir)/i386-init.h
 	@echo $@
 
 $(srcdir)/i386-init.h: @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg.tbl i386-opc.h
-	$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
+	$(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
 		< $(srcdir)/i386-opc.tbl \
 		| ./i386-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir)
 


             reply	other threads:[~2020-03-18 22:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 22:47 gdb-buildbot [this message]
2020-03-18 22:47 ` Failures on Fedora-i686, branch master gdb-buildbot
2020-03-18 23:21 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2020-03-18 23:36 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2020-03-18 23:52 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2020-03-19  0:30 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2020-03-19  0:33 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2020-03-21 10:00 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
2020-03-21 17:24 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
2020-03-22  4:11 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot

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=384f368958f2a5bb083660e58e5f8a010e6ad429@gdb-build \
    --to=gdb-buildbot@sergiodj.net \
    --cc=gdb-testers@sourceware.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).