From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id E9F603858D28 for ; Mon, 19 Jun 2023 07:23:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E9F603858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-666e3b15370so1446162b3a.0 for ; Mon, 19 Jun 2023 00:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687159394; x=1689751394; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jDxH0Ukv5N8PJ1KrvgGUe5mK3qQNKUGCACZyCEl6RVo=; b=jo9ZptwUobLuodCXDTN8PlWDW7+S1emCXnyhcYYMXLHqGCbfG5A1e4DIUI8GE9uKj5 yLH3N4jLx/kRzR9tXnecS5ziAp032TH5g2XQ/W5tk7/EbeSWvi1U4BVStmkqmO+vD58a UIWErsJqfseabMsg39CJ6cou1nuUtqvKKBzJV/qFD+Aioyu9CJpmsXqu6BTXu33ldA8q w58eR6oKNGprUNfr8IYC9h23iBtziX/7FCzB2B36AeKCBkjUBKRRZfjk3QSj09gT83WD kPaqIkHbTGx5ehg91UexcJhXcbiTMyC68FwN6y9I0rzmF0s3coKSSbVfRaYw95y0/LLD SUpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687159394; x=1689751394; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jDxH0Ukv5N8PJ1KrvgGUe5mK3qQNKUGCACZyCEl6RVo=; b=lnBPkdR3q3l80IkhOcQm5ZPDSvfbgnWQfXWHLwrr6sXnz9KlbVNece00iHNvo/5961 3jfJgYa9oeB8xNu/8FCjOTcb/NbVeeBpjmGDLQ/D5Nf8+TUwoBrVuBDFTUGSsUvS6563 gXkNyyBE17ilsf3dUl97DBxj/d8PtldxPz24EAZDthiZANSGFkcfCyqTS4hjZ+jMmSTO N49WZ7J8Bb3slF+epBhq8XAMibenNZnXyguVl1c4cW3wM4+PKcc07ZPiYC1PaPYS8OMU T3kroiGfjZGJyKrn0R0t6RPWcUnAq3cRZsDGB+qiuK3wxnBJMX3+qqbpIlBozLRTUxYb GGQA== X-Gm-Message-State: AC+VfDzjCvHGGn4CDF8YIGYyLCgEHMx1iXK20hjruulX2HUNjePgvUx5 NaSEYJqlgFpyupUSBv2mOPSa3ieWKc1+2UujGDw= X-Google-Smtp-Source: ACHHUZ5ueNd4EdaUIorksjAH9WX5hmLsDJhUsdXMaQrqUKAA5Tx9vZlBFX9ttcs/1HvvI5MOdE+Sc1VvQjVgj3Hyr8Q= X-Received: by 2002:a05:6a20:914d:b0:117:c0a5:5f39 with SMTP id x13-20020a056a20914d00b00117c0a55f39mr9092368pzc.29.1687159393727; Mon, 19 Jun 2023 00:23:13 -0700 (PDT) MIME-Version: 1.0 References: <87zg51m295.fsf@redhat.com> In-Reply-To: From: YunQiang Su Date: Mon, 19 Jun 2023 15:23:02 +0800 Message-ID: Subject: Re: New failures for the mips64el-openbsd target To: "Maciej W. Rozycki" Cc: Nick Clifton , binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Maciej W. Rozycki =E4=BA=8E2023=E5=B9=B46=E6=9C=8816=E6= =97=A5=E5=91=A8=E4=BA=94 21:33=E5=86=99=E9=81=93=EF=BC=9A > > On Fri, 16 Jun 2023, YunQiang Su wrote: > > > > It may well be that one of the YunQiang Su's patches I have reverted > > > brough these back; a regression from his earlier commit(s) anyway. > > > > > > > I run a test with the below commit, because the next commit of it is > > my first commit to binutils. > > > > commit 2e6be59c8de57c32260771ac5307968d18793a0a (HEAD -> xxxxx) > > Author: Nick Clifton > > Date: Thu Jul 25 13:05:27 2019 +0100 > > > > Stop an illegal memory access by readelf when parsing a corrupt > > MIPS binary file. > > > > PR 24837 > > * readelf.c (process_mips_specific): Check for buffer overf= low > > before reading reginfo information. > > > > The test fails do exist with this commit. > > > > So I think that it is a long time problem, and in fact my recent > > commits resolve them. > > Good. Please post fixes then to regressions introduced with any changes > of yours starting from commit 32f1c80375eb ("MIPS: support mips*64 as CPU > and gnuabi64 as ABI") as a separate change (or multiple changes) from any > fixes to pre-existing problems. The more self-contained a change is the > more straightforward to review it is. > > It's OK to fix regressions one by one with separate patches, or to only > have an identical change bulk-applied across multiple files in a single > patch. > I think that before fix these 2 type of failures, we should determine whether [PATCH v4 1/7] MIPS: Gas: alter 64 or 32 for mipsisa triples if march is implicit [PATCH v4 2/7] MIPS: Set r6 as default arch if vendor is img are OK. Since these 2 changes will modify the behaviour of GAS, which will make the= fix of testsuite different. I don't think that making testsuite change and change is a good idea. > Overall changes that live in downstream repositories often have a long > history behind them, which is not necessarily relevant at the upstream > submission time. Consequently they may have to be merged, split, and/or > have bits and pieces moved between changes to make them consistent from > the upstream code's point of view. I've been through it myself across > many projects and I am sure I'm no exception here. > > So please try and avoid submitting unrelated changes bundled together in > a single patch, and of course regression-test each individual change in a > patch set as they are incrementally applied. > > Also please try and separate changes to the MIPS subset of the testsuite= s > from ones to their generic part, as those usually need to be reviewed by = a > general maintainer (unless say you're just about to remove a MIPS XFAIL), > and also need to be verified across non-MIPS targets. > > > > I haven't run any verification on the reverts as I don't think there= is > > > any excuse for violating our policies and committing patches with no = prior > > > approval and/or with objections raised. I think let's wait and see h= ow > > > YunQiang handles it, and if it turns out to be a failure, then I'll h= andle > > > it one way or another (maybe his earlier commits need to be reverted = too). > > > > > > > I will resend my patchset, of course with more code style checks. > > I look forward to that, thank you. > > Maciej --=20 YunQiang Su