Subject: toolchain/23467: internal compiler error while compiling mach_vm.c
To: None <gnats-bugs@gnats.netbsd.org>
From: Serge Basterot <serge.basterot@wanadoo.fr>
List: netbsd-bugs
Date: 11/17/2003 18:04:17
>Number: 23467
>Category: toolchain
>Synopsis: mach_vm.c compilation fail with an internal compiler error
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 17 17:04:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Serge Basterot
>Release: NetBSD 1.6ZE, 20031024 releng binaries and 20031101 tar_files
>Organization:
>Environment:
System: NetBSD netbook 1.6ZE NetBSD 1.6ZE (RAMDISK) #0: Sat Nov 15 22:56:56 UTC 2003 serj@netbook:/usr/src/sys/arch/macppc/compile/RAMDISK macppc
Architecture: powerpc
Machine: macppc
>Description:
while compiling a new kernel with COMPAT_DARWIN,
COMPAT_MACH and EXEC_MACHO options uncommented, mach_vm.c failed with an
internal compiler error in propagate_one_insn, at flow.c:1642. Here is
the output :
cc -msoft-float -ffreestanding -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Dmacppc -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DZS_CONSOLE_ABORT -DOFB_ENABLE_CACHE -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../compat/mach/mach_vm.c
../../../../compat/mach/mach_vm.c: In function `mach_vm_wire':
../../../../compat/mach/mach_vm.c:304: error: Attempt to delete prologue/epilogue insn:
(insn/f 215 214 216 0 0x0 (set (mem:SI (plus:SI (reg/f:SI 1 r1)
(const_int 84 [0x54])) [0 S4 A32])
(reg:SI 0 r0)) -1 (nil)
(expr_list:REG_FRAME_RELATED_EXPR (set (mem:SI (plus:SI (reg/f:SI 1 r1)
(const_int 84 [0x54])) [0 S4 A32])
(reg:SI 65 lr))
(nil)))
../../../../compat/mach/mach_vm.c:304: internal compiler error: in propagate_one_insn, at flow.c:1642
>How-To-Repeat:
install a base system with 20031110 macppc binaries
from releng and install sources tree with 20031101 tar_files, then
compile a new kernel with COMPAT_DARWIN, COMPAT_MACH and EXEC_MACHO
options uncommented.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: