From patchwork Fri Nov 12 10:20:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix linking issues when using CLooG ISL and ppl-0.11 From: Vincent Chou X-Patchwork-Id: 70952 Message-Id: <4CDD14EC.6040307@gmail.com> To: GCC Patches Date: Fri, 12 Nov 2010 21:20:28 +1100 Hi all, These two patches make sure that GCC is successfully linked. As libpwl is a requirement for libppl_c and libisl is required for libcloog-isl. Please regenerate configure, thanks. Index: configure.ac =================================================================== --- configure.ac (revision 166641) +++ configure.ac (working copy) @@ -1533,7 +1533,7 @@ AC_SUBST(poststage1_ldflags) # Check for PPL -ppllibs=" -lppl_c -lppl -lgmpxx" +ppllibs=" -lppl_c -lpwl -lppl -lgmpxx" pplinc= AC_ARG_WITH(ppl, [ --with-ppl=PATH Specify prefix directory for the installed PPL package @@ -1549,7 +1549,7 @@ "" | yes) ;; *) - ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx" + ppllibs="-L$with_ppl/lib -lppl_c -lpwl -lppl -lgmpxx" pplinc="-I$with_ppl/include $pplinc" ;; esac @@ -1557,10 +1557,10 @@ pplinc="-I$with_ppl_include $pplinc" fi if test "x$with_ppl_lib" != x; then - ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx" + ppllibs="-L$with_ppl_lib -lppl_c -lpwl -lppl -lgmpxx" fi if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then - ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx ' + ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lpwl -lppl -lgmpxx ' pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C ' enable_ppl_version_check=no fi