{"id":806288,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806288/?format=json","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.0/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20170827173606.13144-7-romain.naour@gmail.com>","date":"2017-08-27T17:36:05","name":"[6/7] package/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"99fcea48cf91f75544a6e49a2cc83d6c5312e48a","submitter":{"id":67942,"url":"http://patchwork.ozlabs.org/api/1.0/people/67942/?format=json","name":"Romain Naour","email":"romain.naour@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170827173606.13144-7-romain.naour@gmail.com/mbox/","series":[{"id":34,"url":"http://patchwork.ozlabs.org/api/1.0/series/34/?format=json","date":"2017-08-27T17:35:59","name":"glibc: bump to 2.26","version":1,"mbox":"http://patchwork.ozlabs.org/series/34/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806288/checks/","tags":{},"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CS+iPBN/\"; dkim-atps=neutral"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xgMX95Zx2z9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 03:36:41 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id E3D562D30A;\n\tSun, 27 Aug 2017 17:36:39 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id b4MGfeWOCyVe; Sun, 27 Aug 2017 17:36:36 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id B14C82F8CF;\n\tSun, 27 Aug 2017 17:36:36 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0193C1C0D51\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:22 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id EFDD088542\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:21 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id B8LJlhCm9ys0 for <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:19 +0000 (UTC)","from mail-wr0-f196.google.com (mail-wr0-f196.google.com\n\t[209.85.128.196])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 7FD6D8851C\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 17:36:19 +0000 (UTC)","by mail-wr0-f196.google.com with SMTP id z91so2859512wrc.0\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 10:36:19 -0700 (PDT)","from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\tk35sm1926217wre.95.2017.08.27.10.36.16\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 10:36:17 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=AwRoIaMnfgRzBqP6UV4H/rzzhAk+2MX+wgr+2KPOxZM=;\n\tb=CS+iPBN/O0ffrN1xfTBFxQPx4N147BAeajRVx8TVtAAVrKPZYzRjvLQEEPc/4/bZjU\n\tVeo0nSuV6wIx2wL0U3tfQauIrkhMo9pWYSFvhraLUlLzoAeZlSd3Vi5KGjnflQBqq+Q9\n\tS4Sy1BIPxkge8eX5w4CcXHlO8ALjiMdHzXOyZwj2aRm7j1R6ek8STSylTJqlzI5+rv/s\n\tpmlYVaXm811NThid6yuiGMCyS/Wxwe0nVz9eY9MQO9w/gUOFio0fPtThIWK+gSGw4/9O\n\t0mAITNljhxfay9ioj8K4tcnOCUXkx9f319tff0MT6qrXSD9Tqn+vnXKG7xHmhNm23ZBv\n\t3bJw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=AwRoIaMnfgRzBqP6UV4H/rzzhAk+2MX+wgr+2KPOxZM=;\n\tb=RprRGwpad2GACIbcuBW8AeYFeo0NRL9GX+3YcutSAEBU2Ez3UnJhmd5ED1YBzTmcDY\n\tvU1OTK0Ma8UjfRfLGkFJC4SFhUNpellK+NRT0wZiAeO4f58QmnxEETb7v3XVb1jjPr1Y\n\tlAt+5zGaZUHstsRePQSxEiNLbA0vEl6yDmN8fS6g4XUgA96j5/5WriD39IKiUcq4DJrj\n\t4UMVnHZ5WA7Q2vwoo12RmkIxUFo0RWxkaUCqFJqDw+yYtB0HdEavd4GHRmMhyAuzNLJk\n\t0rffPiRaGRjLyaRnALqVgIxPtjWuXS1phP7spYr6MpJ2tbC6475AtUQdEH/DcCt2r6CF\n\tYWdg==","X-Gm-Message-State":"AHYfb5getnjrWDLVGvjW9ZgRxKHyEzbUwVM6/yJfAaHxAkl48vOpfHkM\n\tVKBUsO7W2yw6s2ZoiBo=","X-Received":"by 10.223.143.118 with SMTP id p109mr742993wrb.328.1503855377824;\n\tSun, 27 Aug 2017 10:36:17 -0700 (PDT)","From":"Romain Naour <romain.naour@gmail.com>","To":"buildroot@buildroot.org","Date":"Sun, 27 Aug 2017 19:36:05 +0200","Message-Id":"<20170827173606.13144-7-romain.naour@gmail.com>","X-Mailer":"git-send-email 2.9.5","In-Reply-To":"<20170827173606.13144-1-romain.naour@gmail.com>","References":"<20170827173606.13144-1-romain.naour@gmail.com>","Cc":"Romain Naour <romain.naour@gmail.com>","Subject":"[Buildroot] [PATCH 6/7] package/gcc: enable float128 on powerpc64le\n\twith glibc >= 2.26 toolchains","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"float128 is now required on powerpc64le with glibc >= 2.26 toolchains.\n\nFixes:\nrunning configure fragment for sysdeps/gnu\nrunning configure fragment for sysdeps/powerpc/powerpc64le\nchecking if [...]powerpc64le-buildroot-linux-gnu-gcc supports binary128 floating point type... no\nchecking if the target machine is at least POWER8... yes\nconfigure: error: ***  binary128 floating point type (GCC >= 6.2) is required on powerpc64le.\n\nIn order to prepare the glibc bump to this version, we enable\nbinary128 floating point in gcc. This require at least gcc >= 6.2.\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\n---\n package/gcc/gcc.mk | 8 ++++++++\n 1 file changed, 8 insertions(+)","diff":"diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk\nindex 49ccccf..54ef70c 100644\n--- a/package/gcc/gcc.mk\n+++ b/package/gcc/gcc.mk\n@@ -254,6 +254,14 @@ HOST_GCC_COMMON_CONF_OPTS += \\\n \t--without-long-double-128\n endif\n \n+# Since glibc >= 2.26, poerpc64le requires double/long double which\n+# requires at least gcc 6.2.\n+# See sysdeps/powerpc/powerpc64le/configure.ac\n+ifeq ($(BR2_TOOLCHAIN_USES_GLIBC)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6)$(BR2_powerpc64le),yyy)\n+HOST_GCC_COMMON_CONF_OPTS += \\\n+\t--with-long-double-128\n+endif\n+\n HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CROSS_PATH_SUFFIX='\".br_real\"'\n ifeq ($(BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS),)\n ifeq ($(call qstrip,$(BR2_GCC_TARGET_CPU_REVISION)),)\n","prefixes":["6/7"]}