From patchwork Thu Sep 17 04:07:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Egorenkov X-Patchwork-Id: 1365836 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=X3cBlR40; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BsNkl0bVSz9sSC for ; Thu, 17 Sep 2020 14:09:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6FE812E13E; Thu, 17 Sep 2020 04:09:01 +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 tt92EbKtejHi; Thu, 17 Sep 2020 04:08:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7FC562E16D; Thu, 17 Sep 2020 04:08:40 +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 D62711BF9B2 for ; Thu, 17 Sep 2020 04:08:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1D6EF2E118 for ; Thu, 17 Sep 2020 04:08:23 +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 ggYQ+xBnML51 for ; Thu, 17 Sep 2020 04:08:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by silver.osuosl.org (Postfix) with ESMTPS id E3E90203F3 for ; Thu, 17 Sep 2020 04:08:19 +0000 (UTC) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08H43jBr021141 for ; Thu, 17 Sep 2020 00:08:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=KvLaoualQLL4bXw4Kvgq6X8YX492aEYkqY3aoz3jL/s=; b=X3cBlR40JNAytvhdeS3MrsBnMafSt1Y0tyiQgo8ZczPaCMS/ETWiv20UfMRcdf2xeAaD 4IEIZKiqDtbTHtrTNzi57q0XBppBndQGvchNr8Oh00H3nerXIMmrDKwWPFpxcJQcxzKj udloppf0333MkLFG5NPdlbWVxCl3o6UUQFzIjHwlu9g97DoMnecKCG4SC1WgbFgZ51no CiKOmSzHbLoTLPVmfhqZ+o+gV8gbL2+Xq63K7nxgW4/ArSSkWcArJH35U0lCFYErMuQg EmIb6icqvfwad2Uo6tRPBaZ8+Mq6QPra7YGf6HCRaMbAOkkF6TroOADt+/mQhNqzJHe2 VQ== Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com with ESMTP id 33m0ak88t7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 17 Sep 2020 00:08:19 -0400 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 08H47aOY013178 for ; Thu, 17 Sep 2020 04:08:16 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma02fra.de.ibm.com with ESMTP id 33k623gsg6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 17 Sep 2020 04:08:16 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 08H48DZS27525572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Sep 2020 04:08:13 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A51DE42041; Thu, 17 Sep 2020 04:08:13 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6CE714203F; Thu, 17 Sep 2020 04:08:13 +0000 (GMT) Received: from oc8242746057.ibm.com.com (unknown [9.171.42.187]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 17 Sep 2020 04:08:13 +0000 (GMT) From: Alexander Egorenkov To: buildroot@buildroot.org Date: Thu, 17 Sep 2020 06:07:52 +0200 Message-Id: <20200917040802.846896-3-egorenar@linux.ibm.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200917040802.846896-1-egorenar@linux.ibm.com> References: <20200917040802.846896-1-egorenar@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-17_02:2020-09-16, 2020-09-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=15 clxscore=1015 priorityscore=1501 impostorscore=0 mlxlogscore=755 mlxscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009170023 Subject: [Buildroot] [PATCH v4 02/12] toolchain: add support for the internal IBM s390x and Z toolchain X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Egorenkov Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Alexander Egorenkov --- arch/Config.in | 1 - package/gcc/gcc.mk | 5 +++++ toolchain/toolchain-buildroot/Config.in | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/Config.in b/arch/Config.in index eb9b6007c9..155403c363 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -223,7 +223,6 @@ config BR2_s390x bool "s390x" select BR2_ARCH_IS_64 select BR2_ARCH_HAS_MMU_MANDATORY - select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT help s390x is a big-endian architecture made by IBM. http://www.ibm.com/ diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index b834269adc..0912c07a71 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -241,6 +241,11 @@ HOST_GCC_COMMON_CONF_OPTS += \ --with-long-double-128 endif +ifeq ($(BR2_s390x),y) +HOST_GCC_COMMON_CONF_OPTS += \ + --with-long-double-128 +endif + HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CROSS_PATH_SUFFIX='".br_real"' # For gcc-initial, we need to tell gcc that the C library will be diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index 418d5cb387..1c4705600e 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -46,9 +46,9 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC BR2_aarch64_be || BR2_i386 || BR2_mips || \ BR2_mipsel || BR2_mips64 || BR2_mips64el|| \ BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ - BR2_riscv || BR2_sh || BR2_sparc64 || \ - BR2_x86_64 || BR2_microblaze || BR2_nios2 || \ - (BR2_arc && BR2_ARC_ATOMIC_EXT) || BR2_csky + BR2_riscv || BR2_s390x || BR2_sh || \ + BR2_sparc64 || BR2_x86_64 || BR2_microblaze || \ + BR2_nios2 || (BR2_arc && BR2_ARC_ATOMIC_EXT) || BR2_csky depends on BR2_USE_MMU depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2