[Tizen 3.0][Mobile] Use the prebuilt gold instead of the system gold
authorYoungcheol Kang <ychul.kang@samsung.com>
Thu, 28 May 2015 11:05:37 +0000 (20:05 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
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 <ychul.kang@samsung.com>
tizen_src/build/gyp_chromiumefl.sh
tizen_src/packaging/chromium-efl.spec

index a18572a..5cbc558 100755 (executable)
@@ -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
index c1f5fea..4220c50 100644 (file)
@@ -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)