[lfs-support] lfs7.0 5.7 installation glibc. configure: WARNING: using cross tools not prefixed with host triplet
agraeper at googlemail.com
Mon Sep 16 08:36:20 PDT 2013
2013/9/15 Bruce Dubbs <bruce.dubbs at gmail.com>
> andreas graeper wrote:
> > hi,
> > i was looking for mail-archives using the link
> > linuxfromscratch.org/pipermail/lfs-support/
> > but got a 'page not found' ?
> They were turned off due to bandwidth/cost considerations. You can
> search the archives on gmane though.
> > when gcc is build first time: languages=c (ch 5.5)
> I don't know what version of the book you are using, but Section 5.5
> clearly says:
> > when glibc/configure (ch 5.7) cross-gcc is found, cross-g++ does not
> > but g++ is checked and the native one is found and i get that warning.
> > do i have to configure gcc once again with support for c++, so that
> > cross-g++ is build and installed. or can i ignore that warning, cause g++
> > is not actually used to build glibc ?
> I suggest going back and rebuilding gcc. It's only about 6 sbu.
> -- Bruce
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
book-version is 7.0, see subject.
i did not add c++ till now. i read in configure-script g++ is needed for
i tried to install glibc into root-filesystem (6.9) but got an error:
Use of uninitialized value in string ne at
scripts/test-installation.plline 163, <LDD> line 20.
Library libgcc_s is not correctly installed.
Please check your installation!
Offending line of ldd output: libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are
libm.so should point to the newly installed glibc file - and there should
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
i put some prints into that perl script:
soversions.mk : ( no lib 'gcc_s' )
(this libs are installed into /lib64 )
the testprogram is linked against /tools/lib/libgcc_s.so
libgcc_s and libstdc++ are linked from /usr/lib to /tools/lib
why libstdc++ was build ?
when it is build, is it done with c-compiler or with the wrong (host-)
what is libgcc_s ? google shows only error messages ('not found' and so on)
could this problem get solved by 're-adjusting the toolchain' (6.10) before
this test (glibc make install in 6.9) ?
thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support