From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18091 invoked by alias); 27 Jan 2012 17:15:56 -0000 Received: (qmail 17957 invoked by uid 22791); 27 Jan 2012 17:15:51 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jan 2012 17:15:36 +0000 Received: by ggnr5 with SMTP id r5so339751ggn.0 for ; Fri, 27 Jan 2012 09:15:36 -0800 (PST) Received: by 10.50.15.169 with SMTP id y9mr7776488igc.9.1327684536255; Fri, 27 Jan 2012 09:15:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.15.71 with HTTP; Fri, 27 Jan 2012 09:15:16 -0800 (PST) In-Reply-To: <20120127105633.GA30259@sig21.net> References: <124943f2-aec3-4fd7-b1e2-6daae43d2dad@zose-store-12> <20120127105633.GA30259@sig21.net> From: Chris Morgan Date: Fri, 27 Jan 2012 17:15:00 -0000 Message-ID: Subject: Re: CLooG build error To: Johannes Stezenbach Cc: =?ISO-8859-1?Q?Beno=EEt_Th=E9baudeau?= , crossgcc@sourceware.org, "Yann E. MORIN" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00075.txt.bz2 2012/1/27 Johannes Stezenbach : > Hi, > > On Fri, Jan 27, 2012 at 01:02:55AM +0100, Beno=EEt Th=E9baudeau wrote: >> > From: "Chris Morgan" >> > To: "Johannes Stezenbach" >> > Cc: crossgcc@sourceware.org >> > Sent: Thursday, January 26, 2012 10:23:39 PM >> > Subject: Re: CLooG build error >> > >> > [DEBUG] =A0 =A0=3D=3D> Executing: 'make' '-j2' '-s' 'check' >> > [ALL =A0] =A0 =A0Making check in . >> > [ALL =A0] =A0 =A0libtool: link: x86_64-build_unknown-linux-gnu-gcc -Wa= ll >> > -fomit-frame-pointer -pipe -o cloog cloog.o >> > -L/home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static= /lib >> > ./.libs/libcloog.a -lm >> > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/l= ib/libppl_c.a >> > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/l= ib/libppl.a >> > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/l= ib/libgmpxx.a >> > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/l= ib/libgmp.a >> > -lstdc++ >> > [ALL =A0] =A0 =A0/usr/bin/ld: >> > /home/cmorgan/ct-ng-install/bin/.build/arm-unknown-eabi/build/static/l= ib/libppl_c.a(ppl_c_implementation_common.o): >> > undefined reference to symbol 'fesetround@@GLIBC_2.2.5' >> > [ALL =A0] =A0 =A0/usr/bin/ld: note: 'fesetround@@GLIBC_2.2.5' is defin= ed 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 =A0] >> > =A0 =A0/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/l= ibm.so: >> > could not read symbols: Invalid operation > ... >> It is possible that you are encountering another consequence of this iss= ue: >> 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. =A0What is this "libm.so: could not read symbols: Inva= lid operation" > error? =A0This looked to me like a linker bug, but a short search yielded: > > https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition > > Thus I think Beno=EEt's patch is needed, but it would be good > to mention the Ubuntu --no-add-needed thing in the changelog. > > > Thanks > Johannes I am running with the compiles check option enabled as per the recommendation in the documentation. Chris -- For unsubscribe information see http://sourceware.org/lists.html#faq