[lfs-support] /tools/bin/ld: this linker was not configured to use sysroots
pant.karam at gmail.com
Fri Mar 1 09:48:07 PST 2013
Hi, thanks for your help!
In any case the problem was solved in my third attempt when I used an
Ubuntu 12.04 LTS as a host and the packages / patches indicated by the
So I am not actually aware what the exact problem was...
On 27/2/2013 2:20 ??, Denis MUGNIER wrote:
> > Message du 27/02/13 10:24
> > De : "Pantelis Karamolegkos"
> > A : lfs-support at linuxfromscratch.org
> > Copie à :
> > Objet : [lfs-support] /tools/bin/ld: this linker was not
> configured to use sysroots
> > Hi,
> > I am in the process of setting up LFS
> > I have encountered a problem in the second pass of Binutils
> (section 5.8
> > - following the steps of LFS Book 7.2).
> > Configuration, make and make install processes were OK but I get
> > following error when preparing the linker for the re-adjusting
> > (p.45) and executing
> > make -C ld LIB_PATH=/usr/lib:/lib
> > It is the second time I go through the process and I get the
> same error
> > in both attempts. The first one was abandoned and I started all
> > again in case had skipped s.th. that caused the above problem.
> > The host OS is Xubuntu 12.10.
> First, are you sure that /bin/sh is a link to /bin/bash ? (with
> [.]ubuntu, this link is by default to /bin/dash) see
> Second, the configure command of binutils is
> CC=$LFS_TGT-gcc \
> AR=$LFS_TGT-ar \
> RANLIB=$LFS_TGT-ranlib \
> ../binutils-2.22/configure \
> --prefix=/tools \
> --disable-nls \
> the "\" is not an enter.
> this command is the same as :
> "CC=$LFS_TGT-gcc AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib ../binutils-2.22/configure --prefix=/tools --disable-nls --with-lib-path=/tools/lib"
> On the french help forum of lfs, a user has replaced "\" by "enter" and the error of the "make -C ld LIB_PATH=/usr/lib:/lib" was the same (/tools/bin/ld: this linker was not configured to use sysroots).
> Welcome to the LFS adventure ;o)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support