[PATCH] Stripping toolchain, strip gccbug

Kyle Grieb grieb.kyle@gmail.com
Sat Mar 19 19:12:00 GMT 2011


Stripping fails when running strip on any: 'POSIX shell script, ASCII text executable'
-- 
Kyle Grieb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosstool-ng_buildlog.tar.bz2
Type: application/octet-stream
Size: 423775 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20110319/5ba22848/attachment.obj>
-------------- next part --------------
# User Kyle Grieb <Grieb.Kyle@Gmail.com>
# Date 1300510503 18000
# Node ID 3dedc8edcc32e194a3e7cc92a31575cb5e983a24
# Parent  805e9f2a06fafd071f261cb4a70aecb8fb90aa65
# changed scripts/build/internals.sh
# Added POSIX case for stripping.

diff -r 805e9f2a06fa -r 3dedc8edcc32 scripts/build/internals.sh
--- a/scripts/build/internals.sh	Mon Mar 14 22:16:01 2011 +0100
+++ b/scripts/build/internals.sh	Fri Mar 18 23:55:03 2011 -0500
@@ -30,11 +30,9 @@
         ; do
             _type="$( file "${_t}" |cut -d ' ' -f 2- )"
             case "${_type}" in
-                *"script text executable")
-                    ;;
-                *executable*)
-                    CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}"
-                    ;;
+                *"script text executable") ;;
+                POSIX*) ;;
+                *executable*) CT_DoExecLog ALL ${CT_HOST}-strip ${strip_args} "${_t}" ;;
             esac
         done
         CT_Popd

-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list