From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 331FE389367F for ; Wed, 29 Apr 2020 12:44:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 331FE389367F Received: by mail-il1-x131.google.com with SMTP id w6so2272228ilg.1 for ; Wed, 29 Apr 2020 05:44:56 -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:content-transfer-encoding; bh=7q9jThs6ci7he+sz1MqrCJ6z14r7nrH97d5ARea2gBc=; b=WAac5+bdh/xIQPY9rhfRXLmDnxSplegVaWIGrGoDGNwtAAYLHLOGahkPQoaKnIZ8iD l1YKvPmzK7g9H/lfSLR2khszneOVXq35oOH4z+0czMN1u6jVKwiJVikh6sH7usTseUYL Vx1SOena/Tn/quDLAcC5wXeX36zcp68izy6Ny2TrgoE0pfxZzaaMAx3xVIhX539hIHpj 0vXOXWqq8ye1Ir8UCxP38VFBklkK8OOug68pIzRta+FEMqtt4M5O7OzuiEbt2XIkDjDg hR+bnbzbqw3Yr/xeDs5pSBxKoth+N7ZkDWUNKjltRhfd13ESe3yHssRR5kDu20Jy69Ur wDSQ== X-Gm-Message-State: AGi0PuYRaQb1Wx8zSiP1nUSVR6m/e0uv1zQ8uR7TDtsSIIQ6ktaplrVc /fY9AV4MV96BofRjwdq5nCJAwXYO88Wkgu3TGc4= X-Google-Smtp-Source: APiQypJhHveytbE1MBKTjLv0zw87euLH+2GziiqA4g+5cXsWqDhtfyyIshzp8fz6l8m2J/+YtlrCpvqZc9sZ6XCh6lg= X-Received: by 2002:a92:c794:: with SMTP id c20mr31347212ilk.273.1588164295673; Wed, 29 Apr 2020 05:44:55 -0700 (PDT) MIME-Version: 1.0 References: <87r1w6d1lz.fsf@mid.deneb.enyo.de> In-Reply-To: <87r1w6d1lz.fsf@mid.deneb.enyo.de> From: "H.J. Lu" Date: Wed, 29 Apr 2020 05:44:19 -0700 Message-ID: Subject: Re: glibc master won't build with GCC 10 To: Florian Weimer Cc: Andrew Pinski via Libc-alpha , Andrew Pinski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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, 29 Apr 2020 12:44:58 -0000 On Wed, Apr 29, 2020 at 3:31 AM Florian Weimer wrote: > > * Andrew Pinski via Libc-alpha: > > > This should have been fixed already: > > https://sourceware.org/bugzilla/show_bug.cgi?id=3D25097 > > > > Thanks, > > Andrew > > > > On Tue, Apr 28, 2020 at 3:54 PM H.J. Lu via Libc-alpha > > wrote: > >> > >> commit 6d246cb852d3c5ab721dc583112a59ac47dc374e > >> Author: Florian Weimer > >> Date: Tue Apr 28 12:10:32 2020 +0200 > >> > >> misc: Remove sstk from the autogenerated system call list > >> > >> This change should not have an effect because the system call was > >> never defined. Also add the misssing attribute_compat_text_sectio= n > >> attribute to the sstk function (a minor optimization). Also updat= e the > >> NEWS file to document the change. > >> > >> Fixes commit 9cc93ba0973ad04ee26c515a1552afb85e73c6ba > >> ("misc: Turn sstk into a compat symbol"). > >> > >> won't build with GCC 10: > >> > >> rtld.c: In function =E2=80=98dl_main=E2=80=99: > >> rtld.c:1016:27: error: array subscript =E2=80=98cnt=E2=80=99 is outsid= e the bounds of > >> an interior zero-length array =E2=80=98struct auditstate[0]=E2=80=99 > >> [-Werror=3Dzero-length-bounds] > >> 1016 | GL(dl_rtld_map).l_audit[cnt].cookie =3D (intptr_t) &GL(dl_r= tld_map); > >> In file included from ../include/dlfcn.h:4, > >> from rtld.c:20: > >> ../include/link.h:335:7: note: while referencing =E2=80=98l_audit=E2= =80=99 > >> 335 | } l_audit[0]; > >> | ^~~~~~~ > >> cc1: all warnings being treated as errors > >> make[5]: *** [../o-iterator.mk:9: > >> /export/build/gnu/tools-build/glibc/build-x86_64-linux/elf/rtld.os] > >> Error 1 > > Agreed, this error doesn't look like something from glibc master to > me. master does not contain the string =E2=80=9Cl_audit[0]=E2=80=9D anym= ore. Never mind. Pilot error. --=20 H.J.