GCC 3.4.1 in LFS Unstable can't build

Kevin Jordan kmj7777 at gmail.com
Fri Aug 13 05:31:19 PDT 2004


Sounds like a problem with glibc or binutils.  Are you putting the
files in their standard locations after you install them to that
prefix?  If you're trying to do a fake tree install to do packages, I
suggest you do the standard --prefix=/usr stuff and then change where
it's going to be put with DESTDIR=$ZUL/fsq/gcc-3.4.1 or such other
appropriate things.

On Fri, 13 Aug 2004 08:36:14 +0300, gennady archangorodsky
<gen2002 at spymac.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> In chapter 6 of LFS Unstable where i used the configure options:
> 
> .../gcc-3.4.1-fsq/configure --prefix=$ZUL/fsq/gcc-3.4.1 \
> ~  --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
> - --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
> 
> and then in the make process :
> 
> ~   (rm -f doc/cpp.1.T$$ && exit 1)
> echo timestamp > gcc.pod
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/invoke.texi > gcc.pod
> echo timestamp > doc/gcc.1
> (pod2man --center="GNU" --release="gcc-3.4.1" --section=1 gcc.pod >
> doc/gcc.1.T$$ && \
> ~        mv -f doc/gcc.1.T$$ doc/gcc.1) || \
> ~        (rm -f doc/gcc.1.T$$ && exit 1)
> echo timestamp > gfdl.pod
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/include/fdl.texi > gfdl.pod
> echo timestamp > doc/gfdl.7
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/cpp.texi > cpp.pod
> echo timestamp > doc/cpp.1
> (pod2man --center="GNU" --release="gcc-3.4.1" --section=1 cpp.pod >
> doc/cpp.1.T$$ && \
> ~        mv -f doc/cpp.1.T$$ doc/cpp.1) || \
> ~        (rm -f doc/cpp.1.T$$ && exit 1)
> echo timestamp > gcc.pod
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/invoke.texi > gcc.pod
> echo timestamp > doc/gcc.1
> (pod2man --center="GNU" --release="gcc-3.4.1" --section=1 gcc.pod >
> doc/gcc.1.T$$ && \
> ~        mv -f doc/gcc.1.T$$ doc/gcc.1) || \
> ~        (rm -f doc/gcc.1.T$$ && exit 1)
> echo timestamp > gfdl.pod
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/include/fdl.texi > gfdl.pod
> echo timestamp > doc/gfdl.7
> (pod2man --center="GNU" --release="gcc-3.4.1" --section=7 gfdl.pod >
> doc/gfdl.7.T$$ && \
> ~        mv -f doc/gfdl.7.T$$ doc/gfdl.7) || \
> ~        (rm -f doc/gfdl.7.T$$ && exit 1)
> echo timestamp > gpl.pod
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/include/gpl.texi > gpl.pod
> echo timestamp > doc/gpl.7
> (pod2man --center="GNU" --release="gcc-3.4.1" --section=7 gpl.pod >
> doc/gpl.7.T$$ && \
> ~        mv -f doc/gpl.7.T$$ doc/gpl.7) || \
> ~        (rm -f doc/gpl.7.T$$ && exit 1)
> echo timestamp > fsf-funding.pod
> perl ../../gcc-3.4.1/gcc/../contrib/texi2pod.pl
> .../../gcc-3.4.1/gcc/doc/include/funding.texi > fsf-funding.pod
> echo timestamp > doc/fsf-funding.7
> (pod2man --center="GNU" --release="gcc-3.4.1" --section=7
> fsf-funding.pod > doc/fsf-funding.7.T$$ && \
> ~        mv -f doc/fsf-funding.7.T$$ doc/fsf-funding.7) || \
> ~        (rm -f doc/fsf-funding.7.T$$ && exit 1)
> cp doc/gcc.1 doc/g++.1
> rm cpp.pod fsf-funding.pod gcc.pod gcov.pod gfdl.pod gpl.pod
> make[1]: Leaving directory `/comp/gcc-3.4.1/gcc-build/gcc'
> Checking multilib configuration...
> /bin/sh ../gcc-3.4.1/mkinstalldirs i686-pc-linux-gnu/libstdc++-v3 ; \
> rm -f i686-pc-linux-gnu/libstdc++-v3/Makefile || : ; \
> cp multilib.out i686-pc-linux-gnu/libstdc++-v3/multilib.out
> mkdir -p -- i686-pc-linux-gnu/libstdc++-v3
> Configuring in i686-pc-linux-gnu/libstdc++-v3
> configure: creating cache ./config.cache
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /tools/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for i686-pc-linux-gnu-gcc...
> /comp/gcc-3.4.1/gcc-build/gcc/xgcc -B/comp/gcc-3.4.1/gcc-build/gcc/
> - -B/fsq/gcc-3.4.1/i686-pc-linux-gnu/bin/
> - -B/fsq/gcc-3.4.1/i686-pc-linux-gnu/lib/ -isystem
> /fsq/gcc-3.4.1/i686-pc-linux-gnu/include -isystem
> /fsq/gcc-3.4.1/i686-pc-linux-gnu/sys-include
> checking for C compiler default output... a.out
> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make: *** [configure-target-libstdc++-v3] Error 1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5rc1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFBHFNNyQWXdU9V3hkRApkJAKCMkq7gjqy+KMaOWz6tmzs0hry5rgCeMgwh
> 1YXmzpjnPWgPwiNEw6jhkgU=
> =Z2az
> -----END PGP SIGNATURE-----
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



More information about the lfs-support mailing list