>in the capter 6.10:
>during the make cc1 link libcloog-isl.so an error occur:
>error add symbols: file in wrong format
 
>the .so file in the cross-tools dir and have the abi of build machine. i think 
>the correct .so shold be the one located in the tools dir.

After some changes in the gcc-build/Makefile chapter 6.10 had been completed.

There are 6(or 5, HOST_ISL_LIBS is not exist) variables in the 
gcc-build/Makefile setting by sed script.
HOST_CLOOGLIBS, HOST_ISLLIBS, HOST_GMPLIBS - /cross-tools/lib
HOST_CLOOGINC, HOST_ISLINC, HOST_GMPINC - /cross-tools/include

but the following 6(or 5) variables have problem:

GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ # should /tools/lib
GMPINC="$(HOST_GMPINC)"; export GMPINC; \ # remain the /cross-tools/include
ISLINC="$(HOST_ISLINC)"; export ISLINC; \ # remain the /cross-tools/include
CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \ # should /tools/lib
CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \ # remain the 
/cross-tools/include

Maybe it's a gcc bug? the following the HOST_* variables have on effect but the 
* take place.
If not change the *LIBS variable, during the linking of cc1, the linker will 
link the libs in the /cross-tools/lib,
which will cause a wrong symbol error.

                                          
_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to