On Wed, Nov 12, 2014 at 7:57 PM, Dongsheng Song
<[email protected]> wrote:
> 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.

PS: I use in-tree-build of gmp, mpfr, mpc and ISL too:

~/vcs/svn/gcc/trunk$ ls
ABOUT-NLS           configure.ac     gmp-6.0.0   libbacktrace  libjava
         lto-plugin          move-if-change
boehm-gc            contrib          gnattools   libcc1        libobjc
         ltoptions.m4        mpc
ChangeLog           COPYING          include     libcilkrts
libquadmath      ltsugar.m4          mpc-1.0.2
ChangeLog.jit       COPYING3         INSTALL     libcpp
libsanitizer     ltversion.m4        mpfr
ChangeLog.tree-ssa  COPYING3.LIB     install-sh  libdecnumber  libssp
         MAINTAINERS         mpfr-3.1.2
compile             COPYING.LIB      intl        libffi
libstdc++-v3     maintainer-scripts  README
config              COPYING.RUNTIME  isl         libgcc
libtool-ldflags  Makefile.def        symlink-tree
config.guess        depcomp          isl-0.12.2  libgfortran
libtool.m4       Makefile.in         ylwrap
config-ml.in        fixincludes      isl-0.13    libgo         libvtv
         Makefile.tpl        zlib
config.rpath        gcc              isl-0.14    libgomp
ltgcc.m4         missing
config.sub          gmp              libada      libiberty
ltmain.sh        mkdep
configure           gmp-5.1.3        libatomic   libitm
lt~obsolete.m4   mkinstalldirs

------------------------------------------------------------------------------
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

Reply via email to