public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/46451] New: legacy cloog-ppl test omits necessary linkage on ppl libraries
Date: Fri, 12 Nov 2010 15:02:00 -0000	[thread overview]
Message-ID: <bug-46451-4@http.gcc.gnu.org/bugzilla/> (raw)

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  <simbuerg@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;
| }


             reply	other threads:[~2010-11-12 15:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 15:02 howarth at nitro dot med.uc.edu [this message]
2010-11-12 16:08 ` [Bug bootstrap/46451] " howarth at nitro dot med.uc.edu
2010-11-12 19:51 ` howarth at nitro dot med.uc.edu
2010-11-22  0:12 ` howarth at nitro dot med.uc.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46451-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).