From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16876 invoked by alias); 27 Jan 2012 12:02:23 -0000 Received: (qmail 16864 invoked by uid 22791); 27 Jan 2012 12:02:21 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from zose-mta11.web4all.fr (HELO zose-mta11.web4all.fr) (178.33.204.87) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jan 2012 12:02:06 +0000 Received: from localhost (localhost [127.0.0.1]) by zose-mta11.web4all.fr (Postfix) with ESMTP id 3327146007; Fri, 27 Jan 2012 13:01:59 +0100 (CET) Received: from zose-mta11.web4all.fr ([127.0.0.1]) by localhost (zose-mta11.web4all.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zB4OFHvAgDA9; Fri, 27 Jan 2012 13:01:58 +0100 (CET) Received: from zose-store12.web4all.fr (zose-store12.web4all.fr [178.33.204.49]) by zose-mta11.web4all.fr (Postfix) with ESMTP id 319E746016; Fri, 27 Jan 2012 13:01:58 +0100 (CET) Date: Fri, 27 Jan 2012 12:02:00 -0000 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= To: Johannes Stezenbach , Chris Morgan Cc: crossgcc@sourceware.org, "Yann E. MORIN" Subject: Re: CLooG build error Message-ID: In-Reply-To: <20120127105633.GA30259@sig21.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00071.txt.bz2 Hi all, > > > [DEBUG] =3D=3D> Executing: 'make' '-j2' '-s' 'check' > > > [ALL ] Making check in . > > > [ALL ] libtool: link: x86_64-build_unknown-linux-gnu-gcc > > > -Wall > > > -fomit-frame-pointer -pipe -o cloog cloog.o > > > -L/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/stati= c/lib > > > ./.libs/libcloog.a -lm > > > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/= lib/libppl_c.a > > > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/= lib/libppl.a > > > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/= lib/libgmpxx.a > > > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/= lib/libgmp.a > > > -lstdc++ > > > [ALL ] /usr/bin/ld: > > > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/= lib/libppl_c.a(ppl_c_implementation_common.o): > > > undefined reference to symbol 'fesetround@@GLIBC_2.2.5' > > > [ALL ] /usr/bin/ld: note: 'fesetround@@GLIBC_2.2.5' is > > > defined in > > > DSO > > > /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libm.so > > > so try adding it to the linker command line > > > [ALL ] > > > /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libm= .so: > > > could not read symbols: Invalid operation > ... > > It is possible that you are encountering another consequence of > > this issue: > > http://sourceware.org/ml/crossgcc/2011-12/msg00051.html > > http://sourceware.org/ml/crossgcc/2011-12/msg00052.html > > > > Yann has not yet reviewed my patch. > > > > Can you test and report if it solves your issue? > > I have CT_COMPLIBS_CHECK unset thus I did not run into this issue, > and I'm using Debian sid. > (CT_COMPLIBS_CHECK help warns it "takes a loooong time" (hours)). > > However, since cloog is not linked statically, the placement of -lm > should not matter. What is this "libm.so: could not read symbols: > Invalid operation" > error? This looked to me like a linker bug, but a short search > yielded: > > https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition > > Thus I think Beno=C3=AEt's patch is needed, but it would be good > to mention the Ubuntu --no-add-needed thing in the changelog. I have just posted a new version of my patch with these details added as you suggested. Chris, note that my patch only applies to CLooG/PPL 0.15.11 for now. Hence,= if your config selects another version, you should either select 0.15.11 in yo= ur config, or adapt the patch for the version you want. Best regards, Beno=C3=AEt -- For unsubscribe information see http://sourceware.org/lists.html#faq