public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Thomas Gleixner <tglx@linutronix•de>, Ingo Molnar <mingo@elte•hu>,
	"H. Peter Anvin" <hpa@zytor•com>,
	Peter Zijlstra <peterz@infradead•org>,
	Shuah Khan <shuahkh@osg•samsung.com>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	Andy Lutomirski <luto@kernel•org>
Subject: linux-next: manual merge of the tip tree with the kselftest-fixes tree
Date: Thu, 14 May 2015 14:32:26 +1000	[thread overview]
Message-ID: <20150514143226.530c0fad@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]

Hi all,

Today's linux-next merge of the tip tree got a conflict in
tools/testing/selftests/x86/Makefile between commit e9886ace222e
("selftests, x86: Rework x86 target architecture detection") from the
kselftest-fixes tree and commit e22438f8e997 ("x86, selftests: Add a
test for the "sysret_ss_attrs" bug") from the tip tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au

diff --cc tools/testing/selftests/x86/Makefile
index 5bdb781163d1,9309097f58e8..000000000000
--- a/tools/testing/selftests/x86/Makefile
+++ b/tools/testing/selftests/x86/Makefile
@@@ -1,10 -1,6 +1,10 @@@
 -.PHONY: all all_32 all_64 check_build32 clean run_tests
 +all:
 +
 +include ../lib.mk
 +
 +.PHONY: all all_32 all_64 warn_32bit_failure clean
  
- TARGETS_C_BOTHBITS := sigreturn single_step_syscall
+ TARGETS_C_BOTHBITS := sigreturn single_step_syscall sysret_ss_attrs
  
  BINARIES_32 := $(TARGETS_C_BOTHBITS:%=%_32)
  BINARIES_64 := $(TARGETS_C_BOTHBITS:%=%_64)
@@@ -38,20 -33,19 +38,23 @@@ $(TARGETS_C_BOTHBITS:%=%_32): %_32: %.
  $(TARGETS_C_BOTHBITS:%=%_64): %_64: %.c
  	$(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl
  
 -check_build32:
 -	@if ! $(CC) -m32 -o /dev/null trivial_32bit_program.c; then	\
 -	  echo "Warning: you seem to have a broken 32-bit build" 2>&1; 	\
 -	  echo "environment.  If you are using a Debian-like";		\
 -	  echo " distribution, try:"; 					\
 -	  echo "";							\
 -	  echo "  apt-get install gcc-multilib libc6-i386 libc6-dev-i386"; \
 -	  echo "";							\
 -	  echo "If you are using a Fedora-like distribution, try:";	\
 -	  echo "";							\
 -	  echo "  yum install glibc-devel.*i686";			\
 -	  exit 1;							\
 -	fi
 +# x86_64 users should be encouraged to install 32-bit libraries
 +ifeq ($(CAN_BUILD_I386)$(CAN_BUILD_X86_64),01)
 +all: warn_32bit_failure
 +
 +warn_32bit_failure:
 +	@echo "Warning: you seem to have a broken 32-bit build" 2>&1; 	\
 +	echo "environment.  This will reduce test coverage of 64-bit" 2>&1; \
 +	echo "kernels.  If you are using a Debian-like distribution," 2>&1; \
 +	echo "try:"; 2>&1; \
 +	echo "";							\
 +	echo "  apt-get install gcc-multilib libc6-i386 libc6-dev-i386"; \
 +	echo "";							\
 +	echo "If you are using a Fedora-like distribution, try:";	\
 +	echo "";							\
 +	echo "  yum install glibc-devel.*i686";				\
 +	exit 0;
 +endif
+ 
+ # Some tests have additional dependencies.
+ sysret_ss_attrs_64: thunks.S

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2015-05-14  4:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14  4:32 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-14  4:35 linux-next: manual merge of the tip tree with the kselftest-fixes tree Stephen Rothwell
2015-05-14  5:05 ` Ingo Molnar

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=20150514143226.530c0fad@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=hpa@zytor$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=luto@kernel$(echo .)org \
    --cc=mingo@elte$(echo .)hu \
    --cc=peterz@infradead$(echo .)org \
    --cc=shuahkh@osg$(echo .)samsung.com \
    --cc=tglx@linutronix$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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