From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104374 invoked by alias); 11 Dec 2019 21:33:37 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 104359 invoked by uid 89); 11 Dec 2019 21:33:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_A1,SPF_PASS autolearn=no version=3.3.1 spammy= X-Spam-Status: No, score=-11.1 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_A1,SPF_PASS autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx1.suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Tom de Vries Subject: Re: x86_64 specific tests in dwz vs. other architectures Autocrypt: addr=tdevries@suse.de; keydata= xsBNBF0ltCcBCADDhsUnMMdEXiHFfqJdXeRvgqSEUxLCy/pHek88ALuFnPTICTwkf4g7uSR7 HvOFUoUyu8oP5mNb4VZHy3Xy8KRZGaQuaOHNhZAT1xaVo6kxjswUi3vYgGJhFMiLuIHdApoc u5f7UbV+egYVxmkvVLSqsVD4pUgHeSoAcIlm3blZ1sDKviJCwaHxDQkVmSsGXImaAU+ViJ5l CwkvyiiIifWD2SoOuFexZyZ7RUddLosgsO0npVUYbl6dEMq2a5ijGF6/rBs1m3nAoIgpXk6P TCKlSWVW6OCneTaKM5C387972qREtiArTakRQIpvDJuiR2soGfdeJ6igGA1FZjU+IsM5ABEB AAHNH1RvbSBkZSBWcmllcyA8dGRldnJpZXNAc3VzZS5kZT7CwKsEEwEIAD4WIQSsnSe5hKbL MK1mGmjuhV2rbOJEoAUCXSW0JwIbAwUJA8JnAAULCQgHAgYVCgkICwIEFgIDAQI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A3U yGaIvI/BGOtHZ7bEBVUCFDFfOWJ26IOCoPnSVUvKPEOH9dv+sNy7jyBsP5QxeTqwxC/1ZtNS DUCSFQjqA6bEGwM22dP8OUY6SC94x1G81A9/xbtm9LQxKm0EiDH8KBMLfQ== To: Jakub Jelinek Cc: dwz@sourceware.org Message-ID: Date: Tue, 01 Jan 2019 00:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SW-Source: 2019-q4/txt/msg00151.txt.bz2 > Hi! > > I've only got now to try building dwz 0.13 (just a scratch build: > https://koji.fedoraproject.org/koji/taskinfo?taskID=39485926 > ) in Fedora, Just FYI, there's a dwz-0.13-branch that I've maintained that is 0.13 + fixes. > but looking at the build files, I see on non-x86_64 > arches ugly messages like: > dw2-restrict.c: Assembler messages: > dw2-restrict.c:55: Error: unrecognized opcode: `movq' > dw2-restrict.c:58: Error: unrecognized opcode: `movq' > dw2-restrict.c:59: Error: unrecognized opcode: `movsbl' > dw2-restrict.c:60: Error: unrecognized opcode: `ret' > dw2-restrict.c:76: Error: unrecognized opcode: `pushq' > dw2-restrict.c:78: Error: unrecognized opcode: `movq' > dw2-restrict.c:80: Error: unrecognized opcode: `subq' > dw2-restrict.c:82: Error: unrecognized opcode: `leaq' > dw2-restrict.c:83: Error: unrecognized opcode: `movl' > dw2-restrict.c:86: Error: unrecognized opcode: `callq' > dw2-restrict.c:87: Error: unrecognized opcode: `addq' > dw2-restrict.c:88: Error: unrecognized opcode: `popq' > dw2-restrict.c:89: Error: unrecognized opcode: `ret' > on ppc64le, > dw2-restrict.c: Assembler messages: > dw2-restrict.c:55: Error: bad register name `%rdi' > dw2-restrict.c:58: Error: bad register name `%rsp)' > dw2-restrict.c:59: Error: bad register name `%rdi)' > dw2-restrict.c:76: Error: bad register name `%rbp' > dw2-restrict.c:78: Error: bad register name `%rsp' > dw2-restrict.c:80: Error: bad register name `%rsp' > dw2-restrict.c:82: Error: bad register name `%rdi' > dw2-restrict.c:83: Error: bad register name `%rbp)' > dw2-restrict.c:86: Error: invalid instruction suffix for `call' > dw2-restrict.c:87: Error: bad register name `%rsp' > dw2-restrict.c:88: Error: bad register name `%rbp' > ... > /builddir/build/BUILD/dwz/testsuite/dwz.tests/dw2-skip-prologue.S:309: Error: cannot represent relocation type BFD_RELOC_64 > as: /tmp/ccg3sw27.o: unsupported relocation type: 0x1 > on i686 etc. Can't we ensure that the tests are assembled only on the > corresponding architecture and nowhere else if they are architecture > specific? > It is fine if some tests are UNSUPPORTED, just we should completely skip > them if they can't be assembled. Indeed, the messages are ugly, but it's not a correctness problem, just an annoyance. The test execs are build directly from the makefile, not by dejagnu, so we can't use the target testing available there. I suppose I could test for uname -p: ... $ uname -p x86_64 ... Thanks, - Tom