http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46451
Summary: legacy cloog-ppl test omits necessary linkage on ppl libraries Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu The changes in... Author: spop Date: Thu Nov 11 21:33:24 2010 New Revision: 166622 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166622 Log: Support official CLooG.org versions. 2010-11-11 Andreas Simbuerger <simbu...@fim.uni-passau.de> * configure.ac: Support official CLooG.org versions. * configure: Regenerate. * config/cloog.m4: New. Added: trunk/config/cloog.m4 Modified: trunk/ChangeLog trunk/configure trunk/configure.ac ...break the bootstrap when using... ../gcc-4.6-20101112/configure --prefix=/sw --prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.6 --enable-checking=yes on x86_64-apple-darwin10. This is because the test for legacy cloog expects access to the _ppl_version_major symbol but neglects to append ${ppllibs} onto the LDFLAGS for that test... configure:5735: checking for installed CLooG configure:5752: gcc -o conftest -g -O2 -I/sw/include -I/sw/include -I/sw/include -I/sw/include -DCLOOG_PPL_BACKEND -DCLOOG_INT_GMP -DCLOOG_ORG -L/sw/lib conftest.c -lcloog >&5 Undefined symbols: "_ppl_version_major", referenced from: _main in ccILDtHX.o ld: symbol(s) not found collect2: ld returned 1 exit status configure:5752: $? = 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 <cloog/cloog.h> | int | main () | { | ppl_version_major () | ; | return 0; | }