This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Strange `find` syntax error in crosstool-ng


My crosstool build fails with the message

[INFO ]  Installing final compiler: done in 520.97s
[38:16] / find: missing argument to `-exec'
[ERROR]  Build failed in step "<none>"
[ERROR]  Error happened in "/scratch/crosstool-ng-1.0.0/scripts/crosstool.sh" in function "main" (line unknown, sorry)

and the error is clearly due to lines 400-402 in crosstool.sh which are of the form
find ... -name ... -exec rm -fv {} \+ | CT_DoLog DEBUG


Eh? How on earth did \; become transformed into \+? This is in both the 1.0.0 tar bundle and the svn version (which seem to be identical apart from the .version file).

The attached patch should fix this, but I haven't tested it yet.

Attachment: crosstool.diff
Description: Patch to crosstool.sh

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]