Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Sourcery G++ Lite 2008q3 compiler internal error while compiling with -mcpu=cortex-a8


  • To: Xie Chun-B19413 <Chun.Xie@xxxxxxxxxxxxx>
  • Subject: Re: [arm-gnu] Sourcery G++ Lite 2008q3 compiler internal error while compiling with -mcpu=cortex-a8
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Sat, 11 Oct 2008 10:58:32 -0700

Xie Chun-B19413 wrote:

>     Now we meet a problem when we use the Sourcery G++ Lite 2008q3
> compiler. We hope you could help us to solve this problem.
>     The error report is internal compiler error when we compile files
> with -mcpu=cortex-a8.
>     The following is the error information and code.

We will need the preprocessed source code and the command-line.  The
easiest way to do that is to compile with "-v -save-temps".  Send both
the ".i" file generate and the output shown when compiling in that mode.

Obviously, the compiler shouldn't crash, but it's quite likely that the
cause are the asm register tricks being played in that function.
Playing with the stack pointer behind GCC's back is likely to result in
bad things happening.  Such functions really need to be coded in
assembly, or at least with blocks of inline assembly.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713