From 58a3a42dff60eda0b25a9e9699803c9821720a0e Mon Sep 17 00:00:00 2001 From: Youngcheol Kang Date: Thu, 28 May 2015 20:05:37 +0900 Subject: [PATCH] [Tizen 3.0][Mobile] Use the prebuilt gold instead of the system gold Using the binutils-gold of system had a crash in the Tizen 3.0 Mobile (mobile-wayland-arm64-n4 Image). This is the temporary solution. It will be removed after fixing the problem by Platform team. Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13083 Reviewed by: Antonio Gomes, SeungSeop Park Change-Id: I0b2708802fdda56ab7db208117702c1d93ac7c35 Signed-off-by: Youngcheol Kang --- tizen_src/build/gyp_chromiumefl.sh | 14 +++++++++++--- tizen_src/packaging/chromium-efl.spec | 4 ++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/tizen_src/build/gyp_chromiumefl.sh b/tizen_src/build/gyp_chromiumefl.sh index a18572a..5cbc558 100755 --- a/tizen_src/build/gyp_chromiumefl.sh +++ b/tizen_src/build/gyp_chromiumefl.sh @@ -113,13 +113,21 @@ add_tizen_flags() { COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=0 " ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=0 - -Dprebuilt_ld_gold_dir=${TOPDIR}/build/prebuild + -Dprebuilt_ld_gold_dir=${TOPDIR}/tizen_src/build/prebuild " else COMMON_GYP_PARAMETERS+="-Dtizen_multimedia_support=1 " - ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=1 - " + # TODO : Using the binutils-gold had a crash in the Tizen 3.0 Mobile Note4 device (64 bit) + # It will be removed after fixing the problem by Platform team. + if [ "$tizen_version" == "3.0" ] && [ "$target" == "mobile" ]; then + ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=0 + -Dprebuilt_ld_gold_dir=${TOPDIR}/tizen_src/build/prebuild + " + else + ADDITIONAL_GYP_PARAMETERS+="-Dlinux_use_gold_flags=1 + " + fi fi if [ "$target" == "mobile" ]; then diff --git a/tizen_src/packaging/chromium-efl.spec b/tizen_src/packaging/chromium-efl.spec index c1f5fea..4220c50 100644 --- a/tizen_src/packaging/chromium-efl.spec +++ b/tizen_src/packaging/chromium-efl.spec @@ -161,7 +161,11 @@ BuildRequires: pkgconfig(mm-session) # Version Conditions for Every Targets %if "%{?chromium_efl_tizen_version}%{!?chromium_efl_tizen_version:0}" >= "2.4" +# TODO : Using the binutils-gold had a crash in the Tizen 3.0 Mobile Note4 device (64 bit) +# It will be removed after fixing the problem by Platform team. +%if "%{chromium_efl_tizen_version}" != "3.0" && "%{chromium_efl_tizen_profile}" != "mobile" BuildRequires: binutils-gold +%endif BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) -- 2.7.4