public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* ltrace hangings
@ 2012-02-28 16:48 Maxime Ripard
  2012-02-28 22:34 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Maxime Ripard @ 2012-02-28 16:48 UTC (permalink / raw)
  To: buildroot, crossgcc

Hi everyone,

I'm having a hard time here using ltrace with buildroot or crosstool-ng.

Basically, with a crosstool-NG 1.13.4, with the sample
arm-unknown-linux-gnueabi (so uclibc 0.9.30.2), I get :
__uClibc_main(52956, 2, 0xbec42db4, 47280, 521292
and it hangs.

Same thing with a toolchain built by buildroot and with uclibc 0.9.32.

Finally, I tried still with buildroot, but using the latest codebench
glibc toolchain, I get:

# ltrace cat /proc/self/cmdline
__libc_start_main(53812, 2, 0xbefeedb4, 518624, 518824

Is it a wild guess to think that ltrace 0.5.3 is buggy, or am I doing
something wrong ?

-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ltrace hangings
  2012-02-28 16:48 ltrace hangings Maxime Ripard
@ 2012-02-28 22:34 ` Yann E. MORIN
  2012-02-29 13:04   ` Maxime Ripard
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2012-02-28 22:34 UTC (permalink / raw)
  To: crossgcc; +Cc: Maxime Ripard, buildroot

Maxime, All,

On Tuesday 28 February 2012 17:47:40 Maxime Ripard wrote:
> I'm having a hard time here using ltrace with buildroot or crosstool-ng.
> 
> Basically, with a crosstool-NG 1.13.4, with the sample
> arm-unknown-linux-gnueabi (so uclibc 0.9.30.2), I get :
> __uClibc_main(52956, 2, 0xbec42db4, 47280, 521292
> and it hangs.
> 
> Same thing with a toolchain built by buildroot and with uclibc 0.9.32.
> 
> Finally, I tried still with buildroot, but using the latest codebench
> glibc toolchain, I get:
> 
> # ltrace cat /proc/self/cmdline
> __libc_start_main(53812, 2, 0xbefeedb4, 518624, 518824
> 
> Is it a wild guess to think that ltrace 0.5.3 is buggy, or am I doing
> something wrong ?

0.5.3 is now a bit old (2 years), and there has been a new release
about four months ago:
  http://anonscm.debian.org/gitweb/?p=collab-maint/ltrace.git;a=summary

Maybe it's time we upgrade crosstool-NG to this new version...

Also, there seems to be a revamp in the process:
  http://lists.alioth.debian.org/pipermail/ltrace-devel/2012-January/000540.html

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ltrace hangings
  2012-02-28 22:34 ` Yann E. MORIN
@ 2012-02-29 13:04   ` Maxime Ripard
  0 siblings, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2012-02-29 13:04 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc, buildroot

Hi Yann,

On 28/02/2012 23:33, Yann E. MORIN wrote:
> On Tuesday 28 February 2012 17:47:40 Maxime Ripard wrote:
>> I'm having a hard time here using ltrace with buildroot or crosstool-ng.
>>
>> Basically, with a crosstool-NG 1.13.4, with the sample
>> arm-unknown-linux-gnueabi (so uclibc 0.9.30.2), I get :
>> __uClibc_main(52956, 2, 0xbec42db4, 47280, 521292
>> and it hangs.
>>
>> Same thing with a toolchain built by buildroot and with uclibc 0.9.32.
>>
>> Finally, I tried still with buildroot, but using the latest codebench
>> glibc toolchain, I get:
>>
>> # ltrace cat /proc/self/cmdline
>> __libc_start_main(53812, 2, 0xbefeedb4, 518624, 518824
>>
>> Is it a wild guess to think that ltrace 0.5.3 is buggy, or am I doing
>> something wrong ?
> 
> 0.5.3 is now a bit old (2 years), and there has been a new release
> about four months ago:
>   http://anonscm.debian.org/gitweb/?p=collab-maint/ltrace.git;a=summary
> 
> Maybe it's time we upgrade crosstool-NG to this new version...

I've upgraded the package in buildroot to 0.6.0, and same problem here
on ARM. However, it works fine on x86 either using directly their
build-system and Ubuntu's gcc or using buildroot's internal toolchain
for x86 (with uClibc).

It seems like the bug is probably more arch-specific than I thought.


-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-29 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-28 16:48 ltrace hangings Maxime Ripard
2012-02-28 22:34 ` Yann E. MORIN
2012-02-29 13:04   ` Maxime Ripard

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).