Pierre Labastie wrote:
Le 01/09/2014 18:52, Bruce Dubbs a écrit :
Pierre Labastie wrote:
Le 01/09/2014 07:54, Dmitry Zakharov a écrit :

binutils 2nd pass was configured as

  ../binutils-2.24/configure --prefix=/tools --with-sysroot=$LFS
--with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls
--disable-werror

Hi Dmitry,

I think the --with-sysroot=$LFS is the culprit. It is --with-sysroot and
nothing more.

Pierre, why do you think this?  --with-sysroot=$LFS is used in both
binutils-pass1 and gcc-pass1.  I think it's more likely that the LFS
environment variable was not set properly.

Actually, I do not remember exactly... I think I tried when there was this
problem with check, and it did not give good results. The binutils pass2 in
the book has the command without "=$LFS".

I believe it inherits from binutils pass1.

I guess the reason why this is different from pass1 is that pass2 builds a
native linker, and that the behavior of a native linker is different (see
ld(1), option -rpath-link). I guess if you add "=$LFS", it is hardcoded in the
binaries, which is not suitable for chroot.

Right.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to