Bruce Dubbs wrote:
> gcc:
> 
> FAIL: gcc.dg/tree-prof/bb-reorg.c compilation,  -fprofile-use -D_PROFILE_USE
> FAIL: gcc.dg/tree-prof/pr34999.c compilation,  -fprofile-use -D_PROFILE_USE
> 
> ERROR: tcl error sourcing 
> /sources/gcc-4.4.3/gcc/testsuite/gcc.misc-tests/linkage.exp.
> ERROR: couldn't execute "file": no such file or directory
>      while executing
> 
> Here we might want to consider putting 'file' in Chapter 5 or moving it 
> up before gcc in chapter 6.

It's doing that for you too?  Sigh.

When I rebuilt this system a few months back, gcc was complaining about
file, but I figured it was either just me, or something nobody had seen
yet.  Should have said something.

Anyway, what I did was copy file, libmagic, and the magic data file from
/usr/share/misc from the host into the LFS system, then replaced them in
chapter 6.  Not the cleanest fix, but it silenced the error.  Installing
file earlier would work as well, of course.

Assuming that file doesn't hardcode bits from the build system, I'd say
it should work to install it just before gcc.  If it does hardcode bits,
then we'd have to install it twice (and therefore chapter 5 sounds
better).  Probably need a full iterative comparison to know for sure...


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to