From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by sourceware.org (Postfix) with ESMTPS id B58013857C74; Thu, 28 Oct 2021 13:40:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B58013857C74 Received: by mail-pj1-x102f.google.com with SMTP id np13so4701469pjb.4; Thu, 28 Oct 2021 06:40:22 -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=Z2bAJaY2s5qXZP4bjauKU3GyFZdnoyvLqJkpJNXyBPA=; b=uIPgkMHi6G5vusijgRj+NWW6NLHJ3jhagseUlIuJ+gA67T1OhBOM0FChCYyomZ3Bf+ RiiHG15ROHYI/6M7hdyAXt/qGn867EvDXkU5bI2Iz5HNriRfPfl+eF4vo1lOHfykb84C DM8jLfc7Fo4xiRa59QBeV+CFIDH1rB7/Sc7cYZHEwoCEhPHQ7vo8C6lDDc2EP1ddWKoR NIp8MP05Lcorx+JvVaPPtI6PjHqixpEkTqShEY7OErbNImEpgPRcvjs9DpO1u07lFA48 2Tqe1b+BQkiDV88+nLVOw6GTzOC79wtI5gfGBPwYZ0V9hHdJgTaeNFO96JHsfoxoxFlE y0og== X-Gm-Message-State: AOAM533FGap18oDqkYoXK95Ek2gFnLX8v59SRL3syt6ccaPYSQUH4SHl TyG0VsuWTSTAWGhVN5B6uwwk8uPVcOK02j0ck/A= X-Google-Smtp-Source: ABdhPJzxaUQNOJlaL4CFHiEqjoFNxRYIntf34eJDdX+9rGS8EUWEkt112XYzyr8gPOWFu9TVqvEHymAl5yR1+fK5LkU= X-Received: by 2002:a17:90a:9292:: with SMTP id n18mr12753024pjo.120.1635428421904; Thu, 28 Oct 2021 06:40:21 -0700 (PDT) MIME-Version: 1.0 References: <87zgqtljzj.fsf@oldenburg.str.redhat.com> In-Reply-To: <87zgqtljzj.fsf@oldenburg.str.redhat.com> From: "H.J. Lu" Date: Thu, 28 Oct 2021 06:39:46 -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=-1009.3 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=unavailable 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:40:24 -0000 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? Thanks. -- H.J.