On Tue, May 02, 2017 at 05:51:49PM +0100, Ken Moffat wrote:
> On Tue, May 02, 2017 at 12:08:21AM -0500, Bruce Dubbs wrote:
> > 
> > Are you sure you escaped everything?  I know you said you copy/pasted the
> > line but the (-name entry above is suspicious.
> > 
> I copied it into my script, but it sounds like insufficient
> escaping: I can remember having to add extra backslashes to sed
> commands in the past when I put them in scripts.  I'll check
> later.  Thanks.
> 
It was the first line of command you pointed to, but the problem is
the lack of spaces around ( and ).  First I changed it to

/tools/bin/find /lib /usr/lib -type f \( -name \*.so* -a ! -name
\*dbg\) \

but then I got

/tools/bin/strip:/usr/lib/libm.a: File format not recognized
/tools/bin/find: invalid expression; I was expecting to find a ')'
somewhere but did not see one.

After I changed it to -name \*dbg \) it got through the shared
objects.

Now, it segfaults in ld-2.25.so while stripping the programs.

I'm surprised that the first part ran for you.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to