From patchwork Thu Jun 19 16:13:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 361918 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id B2AD7140096 for ; Fri, 20 Jun 2014 02:13:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 11AE18B60A; Thu, 19 Jun 2014 16:13:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gIUjyMQoU9JT; Thu, 19 Jun 2014 16:13:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0F36E8B20D; Thu, 19 Jun 2014 16:13:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 978B01BF991 for ; Thu, 19 Jun 2014 16:13:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 93C9193477 for ; Thu, 19 Jun 2014 16:13:53 +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 aWnbAfrjzC2T for ; Thu, 19 Jun 2014 16:13:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id B6F509346D for ; Thu, 19 Jun 2014 16:13:52 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id y10so2537705wgg.5 for ; Thu, 19 Jun 2014 09:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=qURJnMCb758TGslRed6BNyvp2gH48bmBwwv0CWDs5Eo=; b=XfcwiXqreTJX9hQMf9JFaiu89cXJ7Bw3TdwDnhhVtlZo4wLSoe5ChllFjcfm1ZZO3W zIZQVYXSYjziRM/j1xiWJHVgZvc6GY5V7UHrjwAlSuWwX+1pKayd6tjhMXLwWYoSTdq6 ctDLlVazeqtR+aNCVZ/8U/7q4WhiVcRMJc8v9nCpM7n3mus6lpgDimlUZeGVek2O+gOL 5deTZCVzQWlwxDC1X/em65LHFxGjcQbjaKPwmAuGK3rggF7cVV6l4zDTMV7lW29pqRQ+ Kx2glfTKMj0lb0f383BnPVlDwph5TWkktK/Y2Rc0Y7gNlFk658cwag2uQdMUFpwC+AbH bdwQ== X-Received: by 10.180.189.234 with SMTP id gl10mr7858294wic.56.1403194431205; Thu, 19 Jun 2014 09:13:51 -0700 (PDT) Received: from localhost (11-96-190-109.dsl.ovh.fr. [109.190.96.11]) by mx.google.com with ESMTPSA id cy4sm12789721wib.5.2014.06.19.09.13.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jun 2014 09:13:50 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Thu, 19 Jun 2014 18:13:36 +0200 Message-Id: <1403194417-19986-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.0.0 Cc: Maxime Hadjinlian , Thomas Petazzoni Subject: [Buildroot] [PATCH 1/2] icu: Delete inapropriate flag at link X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net From: Maxime Hadjinlian Theses flags may cause libicudata to not be loaded on ARM EABIHF because it would be built for ARM EABI only. Signed-off-by: Maxime Hadjinlian Cc: Thomas Petazzoni Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- .../icu/icu-004-link-icudata-as-data-only.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/icu/icu-004-link-icudata-as-data-only.patch -- 2.0.0 diff --git a/package/icu/icu-004-link-icudata-as-data-only.patch b/package/icu/icu-004-link-icudata-as-data-only.patch new file mode 100644 index 0000000..b69cec1 --- /dev/null +++ b/package/icu/icu-004-link-icudata-as-data-only.patch @@ -0,0 +1,32 @@ +From d5d0c4bb7cc9aa4a132ec0bea13255aee50c1cf9 Mon Sep 17 00:00:00 2001 +From: Maxime Hadjinlian +Date: Fri, 6 Jun 2014 14:55:58 +0200 +Subject: [PATCH] link icudata as data only + +This patch came straight from Debian. +It fix a trouble when libicudata would not respect some flags and would +for example end up being built for ARM EABI instead of ARM EABIHF + +Signed-off-by: Maxime Hadjinlian +--- + source/config/mh-linux | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/source/config/mh-linux b/source/config/mh-linux +index 531a3b2..5a2a7c4 100644 +--- a/source/config/mh-linux ++++ b/source/config/mh-linux +@@ -21,7 +21,9 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN + LD_RPATH_PRE = -Wl,-rpath, + + ## These are the library specific LDFLAGS +-LDFLAGSICUDT=-nodefaultlibs -nostdlib ++#LDFLAGSICUDT=-nodefaultlibs -nostdlib ++# Debian change: linking icudata as data only causes too many problems. ++LDFLAGSICUDT= + + ## Compiler switch to embed a library name + # The initial tab in the next line is to prevent icu-config from reading it. +-- +2.0.0.rc2 +