On 07/26/2016 01:47 PM, Ray McCaffity wrote:
This is the error.
In file included from ./tm.h:48:0,
from ../../gcc-5.3.0/gcc/cp/friend.c:23:
../../gcc-5.3.0/gcc/defaults.h:126:24: warning: invalid suffix on
literal; C++11 requires a space between literal and string macro
[-Wliteral-suffix]
fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
^
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function 'const char*
libc_name_p(const char*, unsigned int)' used but never defined
Makefile:1065: recipe for target 'cp/except.o' failed
make[2]: *** [cp/except.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm gcc.pod
make[2]: Leaving directory '/mnt/lfs/sources/build/gcc'
Makefile:4096: recipe for target 'all-gcc' failed
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/build'
Makefile:852: recipe for target 'all' failed
make: *** [all] Error 2
lfs:/mnt/lfs/sources/build$ cd ../gcc-5.3.0
This is the configure I used.
../gcc-5.3.0/configure --target=$LFS_TGT --prefix=$LFS/tools
--with-glibc-version=2.11 --with-sysroot=$LFS --with-newlib
--without-headers --with-local-prefix=/tools
--with-native-system-header-dir=$LFS/tools/include --disable-nls
--disable-shared --disable-multilib --disable-decimal-float
--disable-threads --disable-libatomic --disable-libgomp
--disable-libquadmath --disable-libssp --disable-libvtv
--disable-libstdcxx --enable-languages=c,c++
--with-gmp-include=$LFS/tools/include --with-gmp-lib==$LFS/tools/lib
--with-mpfr-include=$LFS/tools/include --with-mpfr-lib=$LFS/tools/lib
--with-mpc-include=$LFS/tools/include --with-mpc-lib=$LFS/tools/lib
I did run the script to use the dynamic linker in tools and remove
/usr/include from gcc search path befire doing
the configure.
binutils compiled and installed with no problems.
Also, gmp, mpfr, amd mpc compiled and installed.
Ray
Also, one big change you have apparently made is that you are using
$LFS/tools instead of /tools. Does that mean you did not create the
/tools symlink?
--
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