On Wed, Nov 12, 2014 at 6:04 PM, Tobias Burnus
<[email protected]> wrote:
> How do you configure? Do you still have some traces of --*cloog* there?
> Where is ISL and CLooG? In-tree? Under /usr or in some other directory?
> As it is a cross build: Do you have some config.cache file or similar
> floating around, which is used for building GCC?
>
I use Debian 7.7 x64 to build 32 bit and 64 bit Windows compiler:
export SYS_ROOT=${HOME}/cross/i686-windows-gcc-5.0
export TARGET_TRIPLET=i686-w64-mingw32
# export SYS_ROOT=${HOME}/cross/x86_64-windows-gcc-5.0
# export TARGET_TRIPLET=x86_64-w64-mingw32
export GCC_SRC_ROOT=${HOME}/vcs/svn/gcc/trunk
export OBJ_ROOT=${HOME}/obj/${TARGET_TRIPLET}-gcc-5.0
export NR_JOBS=`cat /proc/cpuinfo | grep '^processor\s*:' | wc -l`
rm -fr ${OBJ_ROOT}/gcc
mkdir -p ${OBJ_ROOT}/gcc
cd ${OBJ_ROOT}/gcc
${GCC_SRC_ROOT}/configure \
--prefix=${SYS_ROOT} \
--with-sysroot=${SYS_ROOT} \
--build=`/usr/share/misc/config.guess`
--host=`/usr/share/misc/config.guess` --target=${TARGET_TRIPLET} \
--disable-multilib --disable-nls \
--enable-checking=release --enable-languages=c,c++,fortran \
--enable-fully-dynamic-string --with-arch=core2 --with-tune=generic
make -j${NR_JOBS} all-gcc
It will failed with "undefined reference to `isl_...'", I found it
didn't build ISL before build gcc. If I run
make -j${NR_JOBS} all-isl
Then run 'make -j${NR_JOBS} all-gcc' again, it will successed.
So this issue is clear, 'all-gcc' target not depend on 'all-isl'.
Before you remove cloog, 'all-gcc' target depend on 'all-cloog', then
no such issue.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public