LFS6.4 step 5.17 compiling coreutils-6.12 error

Trent Shea trentshea at gmail.com
Tue Jan 26 18:07:00 PST 2010


On Saturday 23 January 2010 09:32:12 you wrote:
> On Saturday 23 January 2010 08:26:53 haiye1018 wrote:
> > hello
> >
> > In LFS6.4 step 5.17 compile coreutils-6.12 error:
> >
> >
> > How to edit coreutils'configure scriptsss to get rid of selinux support?
> >
> > Can anyone help me to fix it?
> 
> I'm not sure the configure file is the problem.
> 
> Can you try to issue:
> 
> echo 'main(){}' > dummy.c
> cc -v dummy.c 2>&1 |grep include
> rm dummy.c
> 
> and include the output here, I have a feeling there may be a problem with
>  gcc on your build.
> 
> 
> Regards,
> Trent.
> 

Just for kicks I just built up to gcc pass 2 in chapter 5 and issued the 
commands above and this is my output:

<snipped some junk> 
#include "..." search starts here:
#include <...> search starts here:
 /mnt/data/data/build/lfs-main/lfs/lfs-testing/tools/bin/../lib/gcc/i686-pc-
linux-gnu/4.4.1/include
 /mnt/data/data/build/lfs-main/lfs/lfs-testing/tools/bin/../lib/gcc/i686-pc-
linux-gnu/4.4.1/include-fixed
 /tools/include


 If I'm reading the above correctly we're isolated from the host at this 
point, with the exception of PATH. Binutils takes care of the library search 
path and gcc takes care of the headers search path. Of course, there could be 
some evil configure scripts that look in well known locations... I'm mostly 
just thinking out loud here, but I'm hoping this can be confirmed so that I can 
give advice and help troubleshoot in the future with a bit more certainty.

-- 
Regards,
Trent.



More information about the lfs-support mailing list