From patchwork Sat Sep 23 21:23:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 817832 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pEJL2Yfe"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y03JZ1Ggdz9t4P for ; Sun, 24 Sep 2017 07:24:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2089588F30; Sat, 23 Sep 2017 21:24:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r7oJ1TkDHBbT; Sat, 23 Sep 2017 21:24:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 17BC788F0B; Sat, 23 Sep 2017 21:24:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A72D71C0060 for ; Sat, 23 Sep 2017 21:24:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9607825605 for ; Sat, 23 Sep 2017 21:24:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8jM3FrUggqA for ; Sat, 23 Sep 2017 21:24:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by silver.osuosl.org (Postfix) with ESMTPS id AE183255E3 for ; Sat, 23 Sep 2017 21:24:20 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id g50so2261978wra.3 for ; Sat, 23 Sep 2017 14:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NY4c5WuLS6kSOHfwP2AbuM7TsJAeX055DEvd/1HcS74=; b=pEJL2Yfev0olWnE200AAPsw+/mtOs9gZC9kl/vWA447iXO3Gd8Yt6aQGa2tWEQfHLn UuUySiTUEQBncEACboT2siOqc31aNBP35sGhCUpjRXLR9WkyvVt60jjajGHoimIol7Tl epZwhR/G9ngy2bM6RX8/BDeJTofnpknjjur5hPD7XPBIi3lQ5fl1qpW72q1bVIFPOGW8 cYE0NgFE8m51eZbJu0V2CKaWQCujsnq/Dqc817GcYL1mWmqQTX+ikN/IG9s4MmxfADUT V6zH2I3T6rn2O5Nyuq4Pl9AsVygACsgx0nGXA3aGzZtm2mnvSQsDWyr2fXTIFWDP3tL/ x/mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NY4c5WuLS6kSOHfwP2AbuM7TsJAeX055DEvd/1HcS74=; b=SMLExoEiI6AkMhDcC09k0SojtWSvaG6WOVmT76dOsWASfarsX63u/fxjEdT5Z921JF oIRODa2v72c7zjxUpozAwIUDy9sDaP49tXQehWG3YGPxDXHfTj5M/b5D6FEp/+Vfvm1Q jwwQ0duQcFh2xui/J/8j3bFd7RZribOixHWOEPA9EM8OvVyyKAGzZRBpU3R+fb66w8fW fLPCOQb//5RXCxCP2GOiPTU+tMXQ5xRN/o1jCh9GeHxlh+eHbNuQqJKV37IEN+mAXapw vg50F5V0X/IjN4gBXR19Ycmh6+UEyYh2+VeJtv/DOyhJws3oAEYojPLoo2+psFO2cj0W 4NTw== X-Gm-Message-State: AHPjjUia9XdwZRexDOYVxeF+5dqKasaLDKuTb0432oNko2BhCcgu9pMt Lj2ekJgBw7NTNuAYPClfBcT001Na X-Google-Smtp-Source: AOwi7QCS1bSCvGsnql9f0A5sazTKhhFooylPAunZewt+8a2A4YOX+SIqAFOqxTj4gVNZz1DxWq45YA== X-Received: by 10.223.135.252 with SMTP id c57mr2150136wrc.204.1506201858880; Sat, 23 Sep 2017 14:24:18 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf]) by smtp.gmail.com with ESMTPSA id f89sm1253848wmh.18.2017.09.23.14.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Sep 2017 14:24:18 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 23 Sep 2017 23:23:59 +0200 Message-Id: <20170923212414.16744-1-romain.naour@gmail.com> X-Mailer: git-send-email 2.9.5 MIME-Version: 1.0 Cc: Romain Naour Subject: [Buildroot] [PATCH v3 0/7] glibc: bump to 2.26 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This series bump glibc to the latest release and allow to remove all patches required for the previous version! But glibc come with some new issue that are hopefully already fixed in the 2.26.x stable branch. While testing this new version, some build issues has been dicovered. Two gcc patch are needed to build a toolchain with older compiler (gcc 4.9 to 6.4), gcc 7.2 contain already the fix. Backport a series related to bug 21930 and 22146. Without them the float128 support break the C++ build for some packages. https://sourceware.org/bugzilla/show_bug.cgi?id=21930 https://sourceware.org/bugzilla/show_bug.cgi?id=22146 This third series is for testing and review. Let's hope that glibc 2.26.1 will be released soon :) Best regards, Romain Romain Naour (7): package/gcc: fix build issue with glibc 2.26 package/gcc: fix build issue with glibc 2.26 package/glibc: needs kernel headers >= 3.10 on powerpc64le package/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains package/diffutils: disable getopt_long replacement with glibc package/flex: disable reallocarray package/glibc: bump to 2.26 package/diffutils/diffutils.mk | 6 + package/flex/flex.mk | 3 +- ...t_t-not-struct-ucontext-in-linux-unwind.h.patch | 190 ++++++++++++ package/gcc/4.9.4/944-sanitizer-linux.patch | 88 ++++++ ...t_t-not-struct-ucontext-in-linux-unwind.h.patch | 192 +++++++++++++ package/gcc/5.4.0/944-sanitizer-linux.patch | 91 ++++++ ...t_t-not-struct-ucontext-in-linux-unwind.h.patch | 192 +++++++++++++ package/gcc/6.4.0/943-sanitizer-linux.patch | 91 ++++++ package/gcc/Config.in.host | 4 + package/gcc/gcc.mk | 8 + ...__builtin_types_compatible_p-in-C-mode-bu.patch | 50 ++++ .../glibc/0001-sh-Fix-building-with-gcc5-6.patch | 56 ---- ...00366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch | 35 --- ...02-Do-not-use-generic-selection-in-C-mode.patch | 56 ++++ ...-version-of-issignaling-that-does-not-use.patch | 225 +++++++++++++++ ...ject-overly-long-LD_PRELOAD-path-elements.patch | 122 -------- ...ersion-of-issignaling-when-__NO_LONG_DOUB.patch | 47 +++ ...Reject-overly-long-LD_AUDIT-path-elements.patch | 204 ------------- ...-version-of-iszero-that-does-not-use-__MA.patch | 210 ++++++++++++++ package/glibc/0005-fix-binutils-2-29-build.patch | 65 ----- ...ify-use-the-builtin-when-optimizing-for-s.patch | 63 ++++ ...g-IS_IN-libc-guards-to-vectorized-strcspn.patch | 47 --- package/glibc/0006-sh4-trap.patch | 318 --------------------- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 2 +- toolchain/toolchain-buildroot/Config.in | 6 + 26 files changed, 1523 insertions(+), 850 deletions(-) create mode 100644 package/gcc/4.9.4/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch create mode 100644 package/gcc/4.9.4/944-sanitizer-linux.patch create mode 100644 package/gcc/5.4.0/943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch create mode 100644 package/gcc/5.4.0/944-sanitizer-linux.patch create mode 100644 package/gcc/6.4.0/942-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch create mode 100644 package/gcc/6.4.0/943-sanitizer-linux.patch create mode 100644 package/glibc/0001-Do-not-use-__builtin_types_compatible_p-in-C-mode-bu.patch delete mode 100644 package/glibc/0001-sh-Fix-building-with-gcc5-6.patch delete mode 100644 package/glibc/0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch create mode 100644 package/glibc/0002-Do-not-use-generic-selection-in-C-mode.patch create mode 100644 package/glibc/0003-Provide-a-C-version-of-issignaling-that-does-not-use.patch delete mode 100644 package/glibc/0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch create mode 100644 package/glibc/0004-Fix-the-C-version-of-issignaling-when-__NO_LONG_DOUB.patch delete mode 100644 package/glibc/0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch create mode 100644 package/glibc/0005-Provide-a-C-version-of-iszero-that-does-not-use-__MA.patch delete mode 100644 package/glibc/0005-fix-binutils-2-29-build.patch create mode 100644 package/glibc/0006-Let-fpclassify-use-the-builtin-when-optimizing-for-s.patch delete mode 100644 package/glibc/0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch delete mode 100644 package/glibc/0006-sh4-trap.patch