Hello Ralf, You are right, it seems that expr is broken. Here is the result of the command you advised : root:/# expr 426 + 1 Illegal instruction I don't know why I didn't have the problem sooner though, as in LFS, once a package is built it is used in the following steps... So I suppose I should have had the problem with expr after building coreutils in chapter 6. Anyway, no problem, I understood your instructions ;-) And yes, I carefully built every LFS package with the recommended patches... Will have to rebuild coreutils then and see if it works... Again, thanks for your help ! Pierre On Thu, Sep 24, 2009 at 9:05 PM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote: > * Pierre wrote on Wed, Sep 23, 2009 at 11:56:56PM CEST: >> As adviced, I added "set -x" in the configure script of File-5.03. The >> software versions are those of LFS 6.5 >> (http://www.linuxfromscratch.org/lfs/view/stable/chapter03/packages.html) >> : >> - Autoconf-2.64 >> - Bash-4.0 > > Please update bash to the latest patchlevel as per > <http://ftp.gnu.org/gnu/bash/bash-4.0-patches/> > and retry. If the error persists: no need to resend logs, > but please try this out in the chroot: > expr 426 + 1 > > I suspect that either bash has a problem with backquoted command > substitution within unquoted here-documents or coreutils' expr is not > working correctly. > > You should consider not using LFS if all of this doesn't make sense to > you. ;-) > > Incidentally, the next chapter of the above LFS documentation also lists > a bash patch. Did you use it? > > Cheers, > Ralf > _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf