From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 3FED8389247B for ; Wed, 3 Feb 2021 10:12:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3FED8389247B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tdevries@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5FC5CAF85; Wed, 3 Feb 2021 10:12:46 +0000 (UTC) Date: Wed, 3 Feb 2021 11:12:44 +0100 From: Tom de Vries To: dwz@sourceware.org, jakub@redhat.com Subject: [committed][testsuite] Fix make check CC="gcc -m32" Message-ID: <20210203101243.GA25124@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 10:12:48 -0000 Hi, When running: ... $ make check CC="gcc -m32" ... we run into: ... gcc -m32 py-section-script.s -o py-section-script -g py-section-script.s: Assembler messages: py-section-script.s:53: Error: bad register name `%rbp' ... make[1]: *** [Makefile:50: py-section-script] Error 1 ... Fix this by adding "|| touch $@" in the Makefile rule for this test-case (and a few others), which makes the test unsupported. Committed to trunk. Thanks, - Tom [testsuite] Fix make check CC="gcc -m32" 2021-02-03 Tom de Vries * Makefile (dw2-skip-prologue, py-section-script) (implptr-64bit-d2o4a8r8t0): Add "|| touch $@". --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 340569a..3fa3a27 100644 --- a/Makefile +++ b/Makefile @@ -44,10 +44,10 @@ hello-gnu-pubnames: dw2-skip-prologue: $(CC) $(TEST_SRC)/dw2-skip-prologue.S $(TEST_SRC)/dw2-skip-prologue.c \ - -DINLINED -DPTRBITS=64 -o $@ + -DINLINED -DPTRBITS=64 -o $@ || touch $@ py-section-script: - $(CC) $(TEST_SRC)/py-section-script.s -o $@ -g + $(CC) $(TEST_SRC)/py-section-script.s -o $@ -g || touch $@ DWZ_TEST_SOURCES := $(patsubst %.o,%-for-test.c,$(OBJECTS)) @@ -74,14 +74,14 @@ start-gold: implptr-64bit-d2o4a8r8t0: $(CC) $(TEST_SRC)/implptr-64bit-d2o4a8r8t0.S $(TEST_SRC)/main.c \ - -o $@ -g + -o $@ -g || touch $@ hello-gold-gdb-index: $(CC) $(TEST_SRC)/hello.c -g -fuse-ld=gold -Wl,--gdb-index -o $@ \ || touch $@ varval: - $(CC) $(TEST_SRC)/varval.c $(TEST_SRC)/varval.S -g -o $@ + $(CC) $(TEST_SRC)/varval.c $(TEST_SRC)/varval.S -g -o $@ || touch $@ POINTER_SIZE:=$(shell $(CC) $(TEST_SRC)/pointer-size.c -o pointer-size; \ ./pointer-size; \