From patchwork Sun May 29 12:38:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 627502 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rHfT564H5z9t49 for ; Sun, 29 May 2016 22:39:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9A965965EE; Sun, 29 May 2016 12:39:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ncmN68wf+JEv; Sun, 29 May 2016 12:39:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 05956965DA; Sun, 29 May 2016 12:39:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E6ECF1BFBF4 for ; Sun, 29 May 2016 12:39:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E0C65965DA for ; Sun, 29 May 2016 12:39:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07dKJuqcV3sG for ; Sun, 29 May 2016 12:39:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0715F965B2 for ; Sun, 29 May 2016 12:39:14 +0000 (UTC) Received: from fwd41.aul.t-online.de (fwd41.aul.t-online.de [172.20.27.139]) by mailout10.t-online.de (Postfix) with SMTP id 03A2E41E2D9E for ; Sun, 29 May 2016 14:39:12 +0200 (CEST) Received: from fli4l.lan.fli4l (bKf2kOZ6whJXGb+F+do0nz3zW0a7PRgOaBdqYHesElvbylSkmYk28LE+yBRKSAewwc@[84.178.227.111]) by fwd41.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1b6zzh-1uUheq0; Sun, 29 May 2016 14:39:01 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:49918 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1b6zzh-00086I-28; Sun, 29 May 2016 14:39:01 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 29 May 2016 14:38:58 +0200 Message-Id: <1464525538-27915-2-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1464525538-27915-1-git-send-email-bernd.kuhls@t-online.de> References: <1464525538-27915-1-git-send-email-bernd.kuhls@t-online.de> X-ID: bKf2kOZ6whJXGb+F+do0nz3zW0a7PRgOaBdqYHesElvbylSkmYk28LE+yBRKSAewwc X-TOI-MSGID: 793f2eba-9c5a-4e76-b6e7-d1839eb9c0b1 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 2/2] package/rpm: needs gcc >= 5.x on SuperH 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Compilation triggers an ICE in gcc with gcc 4.9 ../db/dist/../lock/lock_deadlock.c: In function '__lock_detect_rpmdb': ../db/dist/../lock/lock_deadlock.c:354:1: internal compiler error: Segmentation fault } ^ using this defconfig BR2_sh=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_RPM=y Compiling rpm with gcc5 works fine using this defconfig: BR2_sh=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_GCC_VERSION_5_X=y BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y BR2_PACKAGE_RPM=y This patch adds a dependency to gcc >= 5.x to fix http://autobuild.buildroot.net/results/e4b/e4b7705e3e148755ae34d498c860a3b9b915e0b0/ Signed-off-by: Bernd Kuhls --- package/rpm/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/rpm/Config.in b/package/rpm/Config.in index c6fc3b7..5870d6a 100644 --- a/package/rpm/Config.in +++ b/package/rpm/Config.in @@ -2,8 +2,12 @@ comment "rpm needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() +comment "rpm needs a toolchain w/ gcc >= 5" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 && BR2_sh + config BR2_PACKAGE_RPM bool "rpm" + depends on !BR2_sh || (BR2_TOOLCHAIN_GCC_AT_LEAST_5 && BR2_sh) depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt depends on BR2_USE_MMU # fork() select BR2_PACKAGE_BEECRYPT