From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26765 invoked by alias); 12 Nov 2010 15:02:35 -0000 Received: (qmail 26754 invoked by uid 22791); 12 Nov 2010 15:02:34 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Nov 2010 15:01:34 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/46451] New: legacy cloog-ppl test omits necessary linkage on ppl libraries X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 12 Nov 2010 15:02:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-11/txt/msg01657.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: howarth@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 * 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 | int | main () | { | ppl_version_major () | ; | return 0; | }