Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: [PATCH 5/7] gcov: add gcov profiling infrastructure
       [not found]   ` <20080523084506.GB719@linux-mips.org>
@ 2008-06-02 11:52     ` Marian Jancar
  2008-07-02 11:24       ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Marian Jancar @ 2008-06-02 11:52 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:
>> {standard input}: Assembler messages:
>> {standard input}:2716: Error: Branch out of range
>> {standard input}:2819: Error: Branch out of range
>> {standard input}:2884: Error: Branch out of range
>> {standard input}:3032: Error: Branch out of range
>> {standard input}:3097: Error: Branch out of range
>> {standard input}:3151: Error: Branch out of range
>> {standard input}:3216: Error: Branch out of range
>> make[1]: *** [drivers/telephony/ixj.o] Error 1
>> make: *** [drivers/telephony/ixj.o] Error 2
> 
> A known problem which I had decieded to ignore until it begins to actually
> bite.  It's triggered by something like this
> 
>                 __asm__ __volatile__(
>                 "       .set    mips3                                   \n"
>                 "1:     ll      %0, %1          # atomic_add            \n"
>                 "       addu    %0, %2                                  \n"
>                 "       sc      %0, %1                                  \n"
>                 "       beqz    %0, 2f                                  \n"
>                 "       .subsection 2                                   \n"
>                 "2:     b       1b                                      \n"
>                 "       .previous                                       \n"
>                 "       .set    mips0                                   \n"
>                 : "=&r" (temp), "=m" (v->counter)
>                 : "Ir" (i), "m" (v->counter));
> 
> when compiled into a large compilation unit.

Please unignore :) It bites when compiling madwifi (without profiling or
anything such).

Marian

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

* Re: [PATCH 5/7] gcov: add gcov profiling infrastructure
  2008-06-02 11:52     ` [PATCH 5/7] gcov: add gcov profiling infrastructure Marian Jancar
@ 2008-07-02 11:24       ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-07-02 11:24 UTC (permalink / raw)
  To: Marian Jancar; +Cc: linux-mips

On Mon, Jun 02, 2008 at 01:52:29PM +0200, Marian Jancar wrote:

> Ralf Baechle wrote:
> >> {standard input}: Assembler messages:
> >> {standard input}:2716: Error: Branch out of range
> >> {standard input}:2819: Error: Branch out of range
> >> {standard input}:2884: Error: Branch out of range
> >> {standard input}:3032: Error: Branch out of range
> >> {standard input}:3097: Error: Branch out of range
> >> {standard input}:3151: Error: Branch out of range
> >> {standard input}:3216: Error: Branch out of range
> >> make[1]: *** [drivers/telephony/ixj.o] Error 1
> >> make: *** [drivers/telephony/ixj.o] Error 2
> > 
> > A known problem which I had decieded to ignore until it begins to actually
> > bite.  It's triggered by something like this
> > 
> >                 __asm__ __volatile__(
> >                 "       .set    mips3                                   \n"
> >                 "1:     ll      %0, %1          # atomic_add            \n"
> >                 "       addu    %0, %2                                  \n"
> >                 "       sc      %0, %1                                  \n"
> >                 "       beqz    %0, 2f                                  \n"
> >                 "       .subsection 2                                   \n"
> >                 "2:     b       1b                                      \n"
> >                 "       .previous                                       \n"
> >                 "       .set    mips0                                   \n"
> >                 : "=&r" (temp), "=m" (v->counter)
> >                 : "Ir" (i), "m" (v->counter));
> > 
> > when compiled into a large compilation unit.
> 
> Please unignore :) It bites when compiling madwifi (without profiling or
> anything such).

Can't reproduce this one - what is the cooking receipe based on a recent
devel kernel?

  Ralf

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

end of thread, other threads:[~2008-07-02 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <48313DE6.30802@de.ibm.com>
     [not found] ` <20080523001136.59ec8b34.akpm@linux-foundation.org>
     [not found]   ` <20080523084506.GB719@linux-mips.org>
2008-06-02 11:52     ` [PATCH 5/7] gcov: add gcov profiling infrastructure Marian Jancar
2008-07-02 11:24       ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox