From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by sourceware.org (Postfix) with ESMTPS id 5F5623857824; Thu, 28 Oct 2021 13:46:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5F5623857824 Received: by mail-pj1-x102d.google.com with SMTP id na16-20020a17090b4c1000b0019f5bb661f9so4799015pjb.0; Thu, 28 Oct 2021 06:46:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ct28MlUm6H6DAPdPqpU1dMMdG5xSN+9bf/z+gZl1iRM=; b=tfaxeWlRlMEGsKc6Vc2Vlt3/N7MFLoHS2IFgXgtj/1vnEznSDYUNU7gyuaCQommpgm INLMnj64fs8myjfRBxnX1Hp0BhU3qif8OOT6gc9O6WCKEgvKgad3uS7mHHkjICB+DO1p xkGmO/QMfLBHgus3IQNGggkZ/GZeVf9X/H+RhGh1eiDGoWatXIuyIlC5BLI7IpBY3a7C lekCUXfqvHLarO/gSUiOxkmK/KI5/8p3FVBg5a+kuXHuB1UmwnXb8i0feQ+d6jRZEDQG owMDJQacGhrsb5prW+mBeNWMgA+dAMdNZs2NWTzEkNwOiR9Cr5Il5w8qcC/4xq59nxYp 1SEw== X-Gm-Message-State: AOAM530nT0BgR+T8zvR47JNh8ZQLWln/BBfAzYptCHe35e2Uk+O9xMDR po80yd21502/rwn2PHo/GEH7cJRsNNc0Ela4uuE0o95R X-Google-Smtp-Source: ABdhPJwhHFiuKceIQBdf1Dmki9rMBl96Zo3NtgmyU7r5nrdIi6iYZz9Y+14le+RKZNQwgUbKoDN3OMQwK7yb4tNK0jg= X-Received: by 2002:a17:902:cec7:b0:140:4a11:799f with SMTP id d7-20020a170902cec700b001404a11799fmr4028560plg.27.1635428817508; Thu, 28 Oct 2021 06:46:57 -0700 (PDT) MIME-Version: 1.0 References: <87zgqtljzj.fsf@oldenburg.str.redhat.com> <87lf2dl0y6.fsf@oldenburg.str.redhat.com> In-Reply-To: <87lf2dl0y6.fsf@oldenburg.str.redhat.com> From: "H.J. Lu" Date: Thu, 28 Oct 2021 06:46:21 -0700 Message-ID: Subject: Re: [llvm-dev] [PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED To: Florian Weimer Cc: "H.J. Lu via llvm-dev" , GNU C Library , Binutils , GCC Development , GNU gABI gnu-gabi Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3023.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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gnu-gabi@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnu-gabi mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2021 13:47:00 -0000 On Thu, Oct 28, 2021 at 6:43 AM Florian Weimer wrote: > > * H. J. Lu: > > > On Wed, Oct 27, 2021 at 11:52 PM Florian Weimer wrote: > >> > >> * H. J. Lu via llvm-dev: > >> > >> > 1. Some binaries which require new ELF features, like DT_RELR, only > >> > work with the new glibc binary. They crash at run-time with the older > >> > glibc binaries. > >> > 2. Somes binaries compiled with the new language features, like C2X > >> > printf specifiers, only generate correct results with the new glibc > >> > binary. Since we don't add new glibc versions to the printf function > >> > family, they generate incorrect results at run-time with the older > >> > glibc binaries. > >> > >> Solaris uses SHT_SUNW_verneed sections for this, not a property note. > >> Property notes seem the wrong approach for this. And there is no reason > >> to make this specific to glibc. > >> > >> However, I still very much dislike this proposal. > >> > > > > Can you share your concerns? > > See the other thread (mostly on libc-alpha I think). > OK. Let's resolve it in the glibc community first. Thanks. -- H.J.