From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35200 invoked by alias); 17 Jan 2018 10:06:09 -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 35189 invoked by uid 89); 17 Jan 2018 10:06:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qk0-f196.google.com Received: from mail-qk0-f196.google.com (HELO mail-qk0-f196.google.com) (209.85.220.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 17 Jan 2018 10:06:06 +0000 Received: by mail-qk0-f196.google.com with SMTP id y80so17952440qkb.4 for ; Wed, 17 Jan 2018 02:06:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=yTzLTOS5/30YBR/SV7n0OFPWfQjJx3xRSDkxftNNUTs=; b=LKfZOM/wRIkKjOYt/C0SM5zwPY/C6i+lCWa7Huan6Z3zxoaPaxqg8+0NXkkD6xcaQi LQJav7465X2pNZehMKasgo2nvE205/WuXY7NW2lvujw6UCSuQRAolErAcrl2uaS15/Q3 L2wyM3InpjldQdOQnhLWo0eXrZRemCxFxphWTeMGb6EsJg4IkIpzov+/cM4/vHD1AzCB xsqYOW+yWzldiiHZf1Ek3yr0AUyZbCMFh4Z1e0HSazVKShQ9osRcPoXY8F/WldlEo4Dd p6d+2sb3Yb5WhW+LqAlRgqUi49c/Aiy+lKuG+TdhCMzofajDKp4ESSXXyQ+tIWN7+8Gx 0auA== X-Gm-Message-State: AKwxyteFz6B7yC62PF/DaTcX2fHoNmkg/etYyVHJQjRlWhe7/CXs7pyb yjs2HlMTitcbWuU14XaR0CmaLvJR7MAcZEdEzKw= X-Google-Smtp-Source: ACJfBotSJX99SNi3e1LF/OL1aKCoN6KMVvfu6HieiZGRhi97JlaBqWz1Nl9wXh7lUbU3Ep68T3+7zFntmGcZt+Sfm8U= X-Received: by 10.55.247.5 with SMTP id q5mr4110150qkj.147.1516183564333; Wed, 17 Jan 2018 02:06:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.152.176 with HTTP; Wed, 17 Jan 2018 02:06:03 -0800 (PST) In-Reply-To: <87tvvlzl3x.fsf@redhat.com> References: <1516103412-25086-1-git-send-email-yao.qi@linaro.org> <088c44b5-5454-e187-3984-956a30904ffc@redhat.com> <86k1whg7iy.fsf@gmail.com> <87tvvlzl3x.fsf@redhat.com> From: Yao Qi Date: Wed, 17 Jan 2018 10:06:00 -0000 Message-ID: Subject: Re: [PATCH] Run gdb.compile/*.exp on {x86,x86_64,s390}-linux only To: Sergio Durigan Junior Cc: Pedro Alves , GDB Patches , Jan Kratochvil , Phil Muldoon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00331.txt.bz2 On Tue, Jan 16, 2018 at 6:58 PM, Sergio Durigan Junior wrote: > Hi Yao, > > It seems you found the issue, but just to let you know, there was a > related (or probably the same?) issue that I fixed a while ago on libcc1 > (GCC counterpart of the "compile" plugin). "compile" wasn't working on > Debian: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D851146 > > And I submitted a patch to GCC to fix it: > > https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01315.html > > Which eventually became: > > https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00087.html > > This is now upstream, but if you're using Ubuntu, you may very well see > the problem with finding the right GCC compiler. Hi Sergio, Yes, that is one issue I've seen before on Ubuntu. I switched to gcc trunk, then I can run gdb.compile/*.exp tests on Ubuntu. Thanks! There is only one fail, bt^M #0 _gdb_expr (__regs=3D0x7ffff7ff3000) at gdb command line:1^M #1 ^M #2 main () at /home/yao.qi/SourceCode/gnu/build/gdb/testsuite/../../../bin= utils-gdb/gdb/testsuite/gdb.compile/compile.c:106^M (gdb) FAIL: gdb.compile/compile.exp: bt On fedora builder, the test passes, bt^M #0 0x00007ffff7ff43f6 in _gdb_expr (__regs=3D0x7ffff7ff2000) at gdb command line:1^M #1 ^M #2 main () at /home/gdb-buildbot/fedora-x86-64-1/fedora-x86-64/build/gdb/t= estsuite/../../../binutils-gdb/gdb/testsuite/gdb.compile/compile.c:106^M (gdb) PASS: gdb.compile/compile.exp: bt I'll fix it in test case. --=20 Yao (=E9=BD=90=E5=B0=A7)