linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* rc4-rt1: powerpc compile errors
@ 2007-09-03 11:23 Pradyumna Sampath
  2007-09-03 14:10 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Pradyumna Sampath @ 2007-09-03 11:23 UTC (permalink / raw)
  To: linux-rt-users, linuxppc-embedded

Hi everyone,

Here are some compile errors from the latest -rt patchset for powerpc
(mpc5200).

arch/powerpc/kernel/entry_32.S: Assembler messages:
arch/powerpc/kernel/entry_32.S:231: Error: operand out of range
(0x00023d87 is not between 0x00000000 and 0x0000ffff)
arch/powerpc/kernel/entry_32.S:644: Error: operand out of range
(0x00022006 is not between 0x00000000 and 0x0000ffff)
arch/powerpc/kernel/entry_32.S:866: Error: operand out of range
(0x00020004 is not between 0x00000000 and 0x0000ffff)
arch/powerpc/kernel/entry_32.S:880: Error: operand out of range
(0x00020004 is not between 0x00000000 and 0x0000ffff)

Im not sure whether this is the right thing to do but we got around
this by replacing the linux/include/asm-powerpc/thread_info.h with an
older version of the same file from 2.6.21-rt3.

regards
/prady

-- 
htp://prady.livejournal.com

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

* Re: rc4-rt1: powerpc compile errors
  2007-09-03 11:23 rc4-rt1: powerpc compile errors Pradyumna Sampath
@ 2007-09-03 14:10 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2007-09-03 14:10 UTC (permalink / raw)
  To: Pradyumna Sampath; +Cc: linux-rt-users, linuxppc-embedded

On 9/3/07, Pradyumna Sampath <pradyumna.sampath@gmail.com> wrote:
> Hi everyone,
>
> Here are some compile errors from the latest -rt patchset for powerpc
> (mpc5200).
>
> arch/powerpc/kernel/entry_32.S: Assembler messages:
> arch/powerpc/kernel/entry_32.S:231: Error: operand out of range
> (0x00023d87 is not between 0x00000000 and 0x0000ffff)
> arch/powerpc/kernel/entry_32.S:644: Error: operand out of range
> (0x00022006 is not between 0x00000000 and 0x0000ffff)
> arch/powerpc/kernel/entry_32.S:866: Error: operand out of range
> (0x00020004 is not between 0x00000000 and 0x0000ffff)
> arch/powerpc/kernel/entry_32.S:880: Error: operand out of range
> (0x00020004 is not between 0x00000000 and 0x0000ffff)
>
> Im not sure whether this is the right thing to do but we got around
> this by replacing the linux/include/asm-powerpc/thread_info.h with an
> older version of the same file from 2.6.21-rt3.

I don't have the code in front of me, but you can also shuffle
the flags to make sure that macro being used in entry_32.S
has all the flags within 16 bits (so the immediate operations
will successfully assemble). That's the route I took. The flags
have expanded past that threshold just recently.

Bruce


>
> regards
> /prady
>
> --
> htp://prady.livejournal.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"

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

end of thread, other threads:[~2007-09-03 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 11:23 rc4-rt1: powerpc compile errors Pradyumna Sampath
2007-09-03 14:10 ` Bruce Ashfield

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 NNTP newsgroup(s).