From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 10A47386EC49 for ; Mon, 1 Mar 2021 19:09:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 10A47386EC49 Received: by mail-ot1-x334.google.com with SMTP id g8so13905322otk.4 for ; Mon, 01 Mar 2021 11:09:52 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZA0uxAZFCygdqnwBA/XNcj0lPwpYhHGoKuNNs5Bn6Gs=; b=Qj/Oly8DOYe8X3lmHFxa7NxXIZBbRGO2kmkCgfFOjlDpfg2LEAcHAaK+nZVfioxc1d mf10K9Xpm7z5vXAEGOUfqYVIXXMMogbx2rSX8P/yg25deppcq6nsDZPDYGFtjqGPnqQT DR8+XdLASNBautUDV5tZygViIkA/RSEtHBSIuwLv8iGqgBPxFsiAMvXysU2ShwTMBG9S 4PZJE1m2W0bNBoipxSqdlDqcTxAR/bUYeW3IsJecuy4Fa2cK30EMd1lDBhurRBuWuZxY QptXshGM9tq+8EdHCgFjWQAYftWli/HU1qdFz1DPrLqlhYivjJXqVs5EvvVIZyTwjbx0 Ze3g== X-Gm-Message-State: AOAM530E0OHwy17tbjymrVrOHk/XHiwf90oRQxDPXg72AY4JTdHoX2nQ bnO3/Nx9LnHIgRkpCjyBvZmrmN6Q5vhj4nTyOGA= X-Google-Smtp-Source: ABdhPJyIOOw5Tnczlhi1243wHb+xnL96MByAwnY5IzSgW1jZBxoiUbrxfyXew/TkzlIgGVyrlkMOhgPK6U7hEYwOSC0= X-Received: by 2002:a9d:7512:: with SMTP id r18mr14939758otk.90.1614625791440; Mon, 01 Mar 2021 11:09:51 -0800 (PST) MIME-Version: 1.0 References: <20210202215112.1002416-1-hjl.tools@gmail.com> <87k0rom825.fsf@oldenburg.str.redhat.com> <6586609.jJDZkT8p0M@farino> <87k0rk8968.fsf@oldenburg.str.redhat.com> <87pn1a1tvb.fsf@oldenburg.str.redhat.com> <871rd875cp.fsf@oldenburg.str.redhat.com> <87im6k5hyn.fsf@oldenburg.str.redhat.com> <878s76eu2x.fsf@oldenburg.str.redhat.com> <87h7luda0m.fsf@oldenburg.str.redhat.com> In-Reply-To: <87h7luda0m.fsf@oldenburg.str.redhat.com> From: "H.J. Lu" Date: Mon, 1 Mar 2021 11:09:14 -0800 Message-ID: Subject: Re: [PATCH v3] x86: Disable x86-64 level marker [BZ #27318] To: Florian Weimer Cc: "H.J. Lu via Libc-alpha" , Joseph Myers Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3029.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 19:09:53 -0000 On Mon, Mar 1, 2021 at 10:05 AM Florian Weimer wrote: > > * H. J. Lu: > > >> I think we should do the following: (a) disable the build note > >> generation in glibc, (b) backport --list-diagnostics or something > >> similar. The second part will hopefully help with analyzing failures > >> due to CPU support mismatches. > > > > My patch does (a). > > But not completely so, see the issue regarding post-v4 flags. It is the issue of "works on processors with the ISA level" since we don't check if other ISA features are required. > > But I think the ISA level meaning should be changed from "works on > > processors with the ISA level" to "require processors with the ISA > > level to work". > > Hmm. Is this compatible with the glibc-hwcaps directory assignment > logic in ldconfig? Given that we don't check the extra ISA features in the binary, this is a logical change. -- H.J.