From: Johannes Stezenbach <js@sig21.net>
To: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Cc: Chris Morgan <chmorgan@gmail.com>,
crossgcc@sourceware.org,
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Subject: Re: CLooG build error
Date: Fri, 27 Jan 2012 10:56:00 -0000 [thread overview]
Message-ID: <20120127105633.GA30259@sig21.net> (raw)
In-Reply-To: <124943f2-aec3-4fd7-b1e2-6daae43d2dad@zose-store-12>
Hi,
On Fri, Jan 27, 2012 at 01:02:55AM +0100, Benoît Thébaudeau wrote:
> > From: "Chris Morgan" <chmorgan@gmail.com>
> > To: "Johannes Stezenbach" <js@sig21.net>
> > Cc: crossgcc@sourceware.org
> > Sent: Thursday, January 26, 2012 10:23:39 PM
> > Subject: Re: CLooG build error
> >
> > [DEBUG] ==> 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/static/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ît's patch is needed, but it would be good
to mention the Ubuntu --no-add-needed thing in the changelog.
Thanks
Johannes
--
For unsubscribe information see http://sourceware.org/lists.html#faq
next prev parent reply other threads:[~2012-01-27 10:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAPegz3+cnkhtdzA1MO8caoH-MXAT6GjPDd6g7cUQ5Moetk2kg@mail.gmail.com>
[not found] ` <CAAPegz20kka=E=vZ11UB9F8JNFyWpX6NDyzo38K7G1SnVo9a+g@mail.gmail.com>
2012-01-25 22:07 ` Chris Morgan
2012-01-26 15:41 ` Johannes Stezenbach
2012-01-26 15:46 ` Chris Morgan
2012-01-26 16:28 ` Johannes Stezenbach
2012-01-26 21:24 ` Chris Morgan
2012-01-27 0:03 ` Benoît Thébaudeau
2012-01-27 10:56 ` Johannes Stezenbach [this message]
2012-01-27 12:02 ` Benoît Thébaudeau
2012-01-27 17:18 ` Chris Morgan
2012-01-27 20:10 ` Benoît Thébaudeau
2012-01-27 20:06 ` Chris Morgan
2012-01-27 20:11 ` Benoît Thébaudeau
2012-01-27 20:15 ` Chris Morgan
2012-01-27 17:15 ` Chris Morgan
2012-01-28 23:07 ` Yann E. MORIN
2012-01-29 10:10 ` Johannes Stezenbach
2012-01-29 10:53 ` Yann E. MORIN
2012-01-30 21:16 ` Chris Morgan
[not found] <5c2d9079-5714-4600-829c-08365856a158@zose-store-12>
2012-01-28 22:41 ` Benoît Thébaudeau
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=20120127105633.GA30259@sig21.net \
--to=js@sig21.net \
--cc=benoit.thebaudeau@advansee.com \
--cc=chmorgan@gmail.com \
--cc=crossgcc@sourceware.org \
--cc=yann.morin.1998@anciens.enib.fr \
/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).