From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 22E0939B5C2B for ; Wed, 9 Jun 2021 19:02:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 22E0939B5C2B Received: by mail-pg1-x52d.google.com with SMTP id t9so20377493pgn.4 for ; Wed, 09 Jun 2021 12:02:00 -0700 (PDT) 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=04CCLifxo2qmcSQPsEEdQvlI1Jfsbfb8jJHwnGEXMRs=; b=oAU/UQcoM+t6F82RTdbNvfODrv/ieLX8rBKMReMZ+PEg6tbdIZuKutskRqSMsCWwjd iZRdgr0haVjU2TMuZxmcOdLIHFmpKSbIH2V8IzxW9k0+aRkwE7oqPvScomR/ugsYFt0Z UFBooqJDNPw9Yc6Gl34DU8t7vT2p3o2jf06pUZY1WTVGqxjAW32kESjf9cZirbhV+MaW E381wRnXB43PqVgXf0c+iype1sy12BlAArBVD3dmBY+PyReP+JMQvokTx83NnCQTPKTi e2Nh7iFISH+x7GY9fBJnEKWd/X4CgIZH15SKcRq+zKqnX3PjVU1DfDg0lciSZZgX7ePu lu7A== X-Gm-Message-State: AOAM531yUL3kJAgFTO1BCvX5UXSMoYx26mvLCfsyYPbq7ZGM73i84aCb 8Vf/jbB9WboDO//rMPvRsaSDpnlRPMZHiWTlpZI= X-Google-Smtp-Source: ABdhPJxIkBzNkdoa0CICzpL5p5vf+xjgsB8XTGs01npcKWmynjiCZLX6v0o9NTWIIVwZqGg17SeBdFV161/xLiSDy/I= X-Received: by 2002:a63:3d8f:: with SMTP id k137mr1124307pga.161.1623265319156; Wed, 09 Jun 2021 12:01:59 -0700 (PDT) MIME-Version: 1.0 References: <20210609122916.3884385-1-hjl.tools@gmail.com> In-Reply-To: From: "H.J. Lu" Date: Wed, 9 Jun 2021 12:01:23 -0700 Message-ID: Subject: Re: [PATCH] Configure GCC with --enable-initfini-array [BZ #27945] To: Adhemerval Zanella Cc: GNU C Library Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3025.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=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: Wed, 09 Jun 2021 19:02:01 -0000 On Wed, Jun 9, 2021 at 11:13 AM Adhemerval Zanella via Libc-alpha wrote: > > > > On 09/06/2021 15:02, Joseph Myers wrote: > > On Wed, 9 Jun 2021, H.J. Lu via Libc-alpha wrote: > > > >> I disagree. The behavior of the cross compiler should be as close to the native > >> Linux system compiler, not other versions of cross compilers, as possible. > > > > But fixing that was the point of your GCC patch. I don't think working > > around deficiencies in previous versions of GCC, that aren't necessary to > > work around for building glibc, is within scope for build-many-glibcs.py; > > it's enough that the bug (cross compiler different from native) was fixed > > in the logically correct place (in GCC, for future GCC releases). > > But this also does not have any really drawback, correct? > > I thinking for the possible support to add a way to build a specific > gcc/binutins/glibc version with build-many-glibcs.py. See: https://gitlab.com/hjl.tools/x86-64-linux-toolchain -- H.J.