public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Chris Morgan <chmorgan@gmail.com>
To: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Cc: Johannes Stezenbach <js@sig21.net>,
	crossgcc@sourceware.org,
		"Yann E. MORIN" <yann.morin.1998@free.fr>
Subject: Re: CLooG build error
Date: Fri, 27 Jan 2012 17:18:00 -0000	[thread overview]
Message-ID: <CAAPegz2ZyF1XEtCZx4xSFjOqbmcZOyyjZNtr8qRspciVJQzsBQ@mail.gmail.com> (raw)
In-Reply-To: <fe50608a-ae65-40a1-a15a-d4d9f6332b72@zose-store-12>

2012/1/27 Benoît Thébaudeau <benoit.thebaudeau@advansee.com>:
> Hi all,
>
>> > > [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.
>
> 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 your
> config, or adapt the patch for the version you want.
>
> Best regards,
> Benoît


I've applied your patch and am trying a 'ct-ng clean' and 'ct-ng
build' after rebuilding and reinstalling ct-ng. I'll let you know how
it goes in an hour or so when it gets that far again :-)

Does it usually take a while for patches to be integrated?

Chris

--
For unsubscribe information see http://sourceware.org/lists.html#faq

  reply	other threads:[~2012-01-27 17:18 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
2012-01-27 12:02                 ` Benoît Thébaudeau
2012-01-27 17:18                   ` Chris Morgan [this message]
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=CAAPegz2ZyF1XEtCZx4xSFjOqbmcZOyyjZNtr8qRspciVJQzsBQ@mail.gmail.com \
    --to=chmorgan@gmail.com \
    --cc=benoit.thebaudeau@advansee.com \
    --cc=crossgcc@sourceware.org \
    --cc=js@sig21.net \
    --cc=yann.morin.1998@free.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).