Stephen R Marenka <[EMAIL PROTECTED]> writes:

> Package: gxemul
> Version: 0.4.1-1
> Severity: important
>
>
> gxemul fails to build from source on m68k.
>
> Here are selected excerpts from the buildd log.
>
>
> | Automatic build of gxemul_0.4.1-1 on spice by sbuild/m68k 85
> | Build started at 20060726-0945
> | 
> ******************************************************************************

[...]

The interesting part is this:

| cc -Wall  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -fomit-frame-pointer 
-fpeephole -O3  -O2 -I/usr/X11R6/include -I../include/   -c -o cpu_ppc.o 
cpu_ppc.c
| cpu_ppc_instr.c: In function 'ppc_instr_mulhw':
| cpu_ppc_instr.c:2118: error: unrecognizable insn:
| (insn 16 15 17 1 cpu_ppc_instr.c:2117 (set (mem:DI (reg/f:SI 32) [15 S8 A16])
|         (ashiftrt:DI (reg:DI 35)
|             (const_int 32 [0x20]))) -1 (nil)
|     (nil))
| cpu_ppc_instr.c:2118: internal compiler error: in extract_insn, at 
recog.c:2084
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| For Debian GNU/Linux specific bug reporting instructions,
| see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
| Preprocessed source stored into /tmp/ccZQ5bir.out file, please attach this to 
your bugreport.
| make[5]: *** [cpu_ppc.o] Error 1

Using -O0 stops this from happening. I assume you're an m68k porter,
so you may want to report this as a gcc bug. It's reproducible with
gxemul 0.4.2-1 in crest's unstable chroot (which currently has gcc
version 4.1.2 20060814 (prerelease) (Debian 4.1.1-11)).

I'm uploading 0.4.2-2 which uses -O0 on m68k to work around this bug.

Regards,

-- 
Göran Weinholt <[EMAIL PROTECTED]>
Debian developer, sysadmin, netadmin

Reply via email to