diff options
author | Julien Isorce <j.isorce@samsung.com> | 2016-05-16 11:42:15 +0100 |
---|---|---|
committer | Julien Isorce <j.isorce@samsung.com> | 2016-05-16 11:51:58 +0100 |
commit | cf46d13badfe863ff0243162f9704c68108bda9f (patch) | |
tree | 0ec56a9ae098d33fb69a7bddbbec905ad72506a5 | |
parent | ea26bb4f5b46d97aa0bc712865827c0cbb712833 (diff) | |
download | icecream-cf46d13badfe863ff0243162f9704c68108bda9f.tar.gz icecream-cf46d13badfe863ff0243162f9704c68108bda9f.tar.bz2 icecream-cf46d13badfe863ff0243162f9704c68108bda9f.zip |
icecc-create-env: do not run strip
On some conditions strip can corrupt input binary that
it is trying to strip symbols.
See https://bugs.tizen.org/jira/browse/TINF-1404
Also on Tizen3.0, binaries that icecc put into the mini
compiler archive, are already stripped (gcc. g++, as). So
running strip on them does not bring any advantages.
Change-Id: Ifea3e85411ee4941877360aae137304682d7acd3
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
-rwxr-xr-x | client/icecc-create-env | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/icecc-create-env b/client/icecc-create-env index 6815b1b..718e55c 100755 --- a/client/icecc-create-env +++ b/client/icecc-create-env @@ -163,9 +163,10 @@ for i in $target_files; do esac mkdir -p $tempdir/`dirname $target` cp -p $path $tempdir/$target - if test -f $tempdir/$target -a -x $tempdir/$target; then - strip -s $tempdir/$target 2>/dev/null - fi + # Bug in binutils, see https://bugs.tizen.org/jira/browse/TINF-1404 + # if test -f $tempdir/$target -a -x $tempdir/$target; then + # strip -s $tempdir/$target 2>/dev/null + # fi target=`echo $target | cut -b2-` new_target_files="$new_target_files $target" done |