Port-amiga archive

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

Re: Latest perl and m68k



John Klos wrote:

> cc -c    -O2 -m68060 -O2 -pthread -I/usr/include -fno-strict-aliasing 
> -pipe -fstack-protector -I/usr/local/include -O2 -m68060 -O2 -pthread 
> -I/usr/include    -DVERSION=\"0.18\"  -DXS_VERSION=\"0.18\" -DPIC -fPIC 
> "-I../.."  -DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG -DPERL_EXT re_exec.c
> {standard input}: Assembler messages:
> {standard input}:19367: Error: value out of range
> *** Error code 1

Can you show us line 19367 of the assembler output?

Which compiler version is it? M68k didn't update to gcc 4.5 yet?


> It wasn't the -m68060, nor the -O2. I had to change the optimization to 
> -Os to get it to compile. This seems more of a toolchain issue than an 
> issue with perl, no?

Correct. This looks like a bug in gcc's m68k code generator.

I would like to reproduce the problem. The easiest approach would be when
you send us the preprocessor output of re_exec.c. Use the -E option for
that. Make sure the problem still occurs when compiling the output with:
  gcc -c -O2 -m68060 -pthread -fno-strict-aliasing -pipe -fstack-protector
-DPIC -fPIC re_exec.i

-- 
Frank Wille



Home | Main Index | Thread Index | Old Index