From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by sourceware.org (Postfix) with ESMTPS id A2C293851C2D for ; Tue, 28 Apr 2020 21:58:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A2C293851C2D Received: by mail-il1-x135.google.com with SMTP id t12so454900ile.9 for ; Tue, 28 Apr 2020 14:58:19 -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:from:date:message-id:subject:to :content-transfer-encoding; bh=IX3lXroheKMhPEyUzMfkORBCS0qypjSox2JZaFOwGuI=; b=U4LcEJWscNWAFAeCZDZsUOWpw7Yxg3j1IBaxlp51mcDY/Gnb95oY9hUujCe8aG0Anb jO7UAkJ61iwyPYXtoNxK2SX8YVAg1VoNOxaV3sbznzEItWeKDigzX+YWQc9uLi0YLPxk m6DeX6DXgf7PfZYlNXJzjXSNjey3HngIpASMdmVmcElPdX/a1O4gVTx0DTdQu1qasNuk 3L5amJ4U1P046hxkkzAWOH8D2sLUcdwbqI/CuKBJ0CQMbs28u8ni/ZgUd8seVZst4EGR bBc4j4ed7wby2Q/+5gpl7owQANSUuEh3ZQVKXrXfkZaDKc4DF2i2ZA+rxDc1Q2aGBGXU fRwQ== X-Gm-Message-State: AGi0PuaHZ/CWSPVCPzqbuuR0hda8q1/FvoZ/CtFiPRW4TrKzvlSchNpC YB46Jvb9NQdvrKGH/sHk3KUplkwdUiA70CURt8sQYzWT X-Google-Smtp-Source: APiQypID2VBRZcAeMpEKY6hFVRTugOXRW+Z9XQ+RifWwLSSLeQrkI4KCYkdlebLZIl2u4frOFiGnX6G2qqJ8sUbYnwY= X-Received: by 2002:a92:c150:: with SMTP id b16mr29597927ilh.13.1588111098889; Tue, 28 Apr 2020 14:58:18 -0700 (PDT) MIME-Version: 1.0 From: "H.J. Lu" Date: Tue, 28 Apr 2020 14:57:43 -0700 Message-ID: Subject: glibc master won't build with GCC 10 To: GNU C Library Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.0 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: Tue, 28 Apr 2020 21:58:20 -0000 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_section attribute to the sstk function (a minor optimization). Also update 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 outside 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_rtld_m= ap); 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 --=20 H.J.