From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118520 invoked by alias); 18 Feb 2020 13:20:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 118508 invoked by uid 89); 18 Feb 2020 13:20:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qk1-f171.google.com Received: from mail-qk1-f171.google.com (HELO mail-qk1-f171.google.com) (209.85.222.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2020 13:20:41 +0000 Received: by mail-qk1-f171.google.com with SMTP id v2so19442616qkj.2 for ; Tue, 18 Feb 2020 05:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=SY/O6tcH8zl/K4V4dzMmmzvK002xcw+n8GwFpOBSEsI=; b=YikUbbd3eOnl2mgQ99yb926Vk4CTpeD71Itzcd0a/zlE0bHJs3ydHamm49VUmUzvLT JQvfbTUtrb6M+CrfAr2ZFQoR6S01mR3ETDU1xKS7e2gSNua8Ov9QvY6QSdZnDN7CUidE FRW2Ev2vlc/bMgBsMJ5cq6+FnY7SnT5+1tSaq52zt4p+B55Kd2+L3gmzECAmqxIRSXnb pCN7VWo7mp/UITp1yHjs40f+QNFm4VrUZwV0v2p0adUlrYSVHSeXZNzc9shjHk3968TX Jhi9XMrqbdClpgoBAgrk3GJPOjGPrZInIm9S29iwXTVJ3jHjdZnB3taZLU2b8K2PgbgR jmXQ== Return-Path: Received: from [192.168.0.185] ([179.177.236.155]) by smtp.gmail.com with ESMTPSA id i16sm1853967qkh.120.2020.02.18.05.20.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Feb 2020 05:20:38 -0800 (PST) Subject: Re: [PATCH][gdb/testsuite] Be quiet about untested dtrace-prob.exp To: Tom de Vries , gdb-patches@sourceware.org References: <20200218120235.GA9051@delia> <511ae4d0-9d0b-fc77-5ad8-b99f6b0128f6@suse.de> From: Luis Machado Message-ID: <19291d66-aa9c-6060-3f74-b73dd2e22e6d@linaro.org> Date: Tue, 18 Feb 2020 13:20:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <511ae4d0-9d0b-fc77-5ad8-b99f6b0128f6@suse.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00726.txt.bz2 On 2/18/20 10:13 AM, Tom de Vries wrote: > On 18-02-2020 13:35, Luis Machado wrote: >> On 2/18/20 9:02 AM, Tom de Vries wrote: >>> Hi, >>> >>> When running gdb.base/dtrace-probe.exp, I get this on stdout/stderr: >>> ... >>> Running src/gdb/testsuite/gdb.base/dtrace-probe.exp ... >>> gdb compile failed, ld: error in \ >>>    build/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe.o\ >>>    (.eh_frame); no .eh_frame_hdr table will be created >>> ld: crt1.o: in function `_start': >>> start.S:110: undefined reference to `main' >>> ld: build/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o:\ >>>    (.SUNW_dof+0x88): undefined reference to `main' >>> ld: build/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o:\ >>>    (.SUNW_dof+0xb8): undefined reference to `main' >>> collect2: error: ld returned 1 exit status >>> >>>                  === gdb Summary === >>> >>> nr of untested testcases         1 >> >> Odd. I'm running this natively on aarch64 and i don't see the same. I >> only get output in gdb.log. >> > > I've looked a bit at the semantics of output_clone (in > /usr/share/dejagnu/framework.exp), and the only way I could think of how > that would happen for you is if the output somehow starts with a keyword > like PASS/FAIL/WARNING/ERROR/etc. [ If you want to chase that difference > it could be useful to post a gdb.log/gdb.sum/stdout_stderr.log. ] I think the setup i have differs from yours. I don't have DTtrace, so the testsuite ends up using pdtrace. That somehow makes things go a different way. The build ends up failing, but silently. as: unrecognized option '-64 readelf: Error: 'binutils-gdb-master/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o': No such file error: could not extract the start of shdr from binutils-gdb-master/gdb/testsuite/outputs/gdb.base/dtrace-probe/dtrace-probe-p.o UNTESTED: gdb.base/dtrace-probe.exp: failed to compile