Hello Team,
I am new in this Linux Technology & but i am very curious to swing inside this beautiful technology of Linux and i need your support in order to understand the stuff inside it.
I will appreciate you support !!
Now comes to my question, actually i tried to build a c-cross-compiler(gcc-6.2.0) in order to learn CLFS.
While building i encounter an error which i listed below,
Host system configurations ::
bash, version 4.3.48(1)-release
Binutils: (GNU Binutils for Ubuntu) 2.26.1
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.25
diff (GNU diffutils) 3.3
find (GNU findutils) 4.7.0-git
GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
GNU C Library (Ubuntu GLIBC 2.23-0ubuntu10) stable release version 2.23,
grep (GNU grep) 2.25
gzip 1.6
m4 (GNU M4) 1.4.17
GNU Make 4.1
GNU patch 2.7.5
sed (GNU sed) 4.2.2
Sudo version 1.8.16
tar (GNU tar) 1.28
texi2any (GNU texinfo) 6.1
CLFS env ::
CLFS_HOST=x86_64-cross-linux-gnu
TERM=xterm-256color
CLFS_TARGET=arm-linux-musleabihf
CLFS_FPU=neon
LC_ALL=POSIX
CLFS_ARM_ARCH=armv7
CLFS=/mnt/clfs
PATH=/mnt/clfs/cross-tools/bin:/bin:/usr/bin
PWD=/home/clfs
CLFS_ARCH=arm
PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$
SHLVL=1
HOME=/home/clfs
CLFS_FLOAT=hard
_=/usr/bin/env
OLDPWD=/mnt/clfs/sources/gcc-build/arm-linux-musleabihf/libgcc
ERROR::
checking for arm-linux-musleabihf-strip... /mnt/clfs/cross-tools/arm-linux-musleabihf/bin/strip
checking whether ln -s works... yes
checking for arm-linux-musleabihf-gcc... /mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/ -B/mnt/clfs/cross-tools/arm-linux-musleabihf/bin/ -B/mnt/clfs/cross-tools/arm-linux-musleabihf/lib/ -isystem /mnt/clfs/cross-tools/arm-linux-musleabihf/include -isystem /mnt/clfs/cross-tools/arm-linux-musleabihf/sys-include
checking for suffix of object files... configure: error: in `/mnt/clfs/sources/gcc-build/arm-linux-musleabihf/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Makefile:11903: recipe for target 'configure-target-libgcc' failed
make: *** [configure-target-libgcc] Error 1
config.log ::
configure:6037: gcc -o conftest -g -O2 -I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I/mnt/clfs/sources/gcc-build/../gcc-6.2.0/mpfr/src -I$$s/mpc/src -lisl -L$$r/$(HOST_SUBDIR)/gmp/.libs -L/mnt/clfs/sources/gcc-build/mpfr/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp conftest.c -lisl -lgmp >&5
conftest.c:10:21: fatal error: isl/ctx.h: No such file or directory
compilation terminated.
configure:6037: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <isl/ctx.h>
| int
| main ()
| {
| isl_ctx_get_max_operations (isl_ctx_alloc ());
| ;
| return 0;
| }
configure:6044: result: no
configure:6048: result: recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated
configure:6052: checking for isl 0.16 or 0.15
configure:6065: gcc -o conftest -g -O2 -I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I/mnt/clfs/sources/gcc-build/../gcc-6.2.0/mpfr/src -I$$s/mpc/src -lisl -L$$r/$(HOST_SUBDIR)/gmp/.libs -L/mnt/clfs/sources/gcc-build/mpfr/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp conftest.c -lisl -lgmp >&5
conftest.c:10:26: fatal error: isl/schedule.h: No such file or directory
compilation terminated.
Please help me to understand the issue as well as give me some pointer to move forward.
Looking for your valuable response.
Appreciate your help here
Thanks,
Shubham Pushpkar