[lfs-support] Error Compiling GCC pass 2
bruce.dubbs at gmail.com
Tue Apr 12 10:46:57 PDT 2016
Keith Howard wrote:
> Hi Ken,
> Thanks for responding and thanks for your insight.
> So, on first inspection o f Gnu ld (first pass):
> 'file -L /tools/bin/x86_64-lfs-linux-gnu-ld'
> /tools/bin/x86_64-lfs-linux-gnu-ld: **ELF 32-bit** LSB executable, Intel
> 80386, version 1 (SYSV), dynamically linked, interpreter
> /lib/ld-linux.so.2, for GNU/Linux 2.6.32,
> BuildID[sha1]=7c0c43bcf162ed49211b7a13579955140b891b5a, not stripped
> Whoa! It's 32 bit! What the heck did I do! <grumble>
> So, clearly, I'll have to go back and compile those tools again.
Yes, it should be
/tools/bin/x86_64-lfs-linux-gnu-ld: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked, interpreter
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped
> Can anyone give me any tips on how to avoid this?
> I just copied and pasted from the PDF to my console....I understand some of
> this, but.....when I get into trouble I dunno what to do.
Do not use the pdf for copy/paste. It is very problemmatic that you get
everything as is should be. Specifically the pdf sometimes adds spaces
after backslashes used for line continuation. That breaks the build.
More information about the lfs-support