Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1169507
| Path | csiph.com!aioe.org!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Paul Gortmaker <paul.gortmaker@windriver.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] Documentation/prctl: don't build tsc tests when cross compiling |
| Date | Sun, 21 Jun 2015 03:30:01 +0200 |
| Message-ID | <pDCf7-79U-3@gated-at.bofh.it> (permalink) |
| X-Original-To | <linux-kernel@vger.kernel.org> |
| X-Mailer | git-send-email 2.2.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 41 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Paul Gortmaker <paul.gortmaker@windriver.com>, Jonathan Corbet <corbet@lwn.net>, <linux-doc@vger.kernel.org>, Erik Bosman <ejbosman@cs.vu.nl> |
| X-Original-Date | Sat, 20 Jun 2015 21:22:20 -0400 |
| X-Original-Message-ID | <1434849740-5858-1-git-send-email-paul.gortmaker@windriver.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1169507 |
Show key headers only | View raw
The following was seen in linux-next build coverage, which is somewhat unique since it uses powerpc host to cross compile x86: Documentation/prctl/disable-tsc-on-off-stress-test.c:36:1: error: impossible register constraint in 'asm' Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c:34:1: error: impossible register constraint in 'asm' Documentation/prctl/disable-tsc-test.c:36:1: error: impossible register constraint in 'asm' It probably makes sense to just skip building these tests when we are cross compiling. Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Erik Bosman <ejbosman@cs.vu.nl> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- Documentation/prctl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/prctl/Makefile b/Documentation/prctl/Makefile index 2948b7b124b9..44de3080c7f2 100644 --- a/Documentation/prctl/Makefile +++ b/Documentation/prctl/Makefile @@ -1,3 +1,4 @@ +ifndef CROSS_COMPILE # List of programs to build hostprogs-$(CONFIG_X86) := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test # Tell kbuild to always build the programs @@ -6,3 +7,4 @@ always := $(hostprogs-y) HOSTCFLAGS_disable-tsc-ctxt-sw-stress-test.o += -I$(objtree)/usr/include HOSTCFLAGS_disable-tsc-on-off-stress-test.o += -I$(objtree)/usr/include HOSTCFLAGS_disable-tsc-test.o += -I$(objtree)/usr/include +endif -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] Documentation/prctl: don't build tsc tests when cross compiling Paul Gortmaker <paul.gortmaker@windriver.com> - 2015-06-21 03:30 +0200
csiph-web