Subject: Re: kern/32161: m68k a.out emulation broken
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 05/06/2006 12:52:16
At 17:13 Uhr +0900 4.5.2006, Izumi Tsutsui wrote:
>> Is the ktrace the same?
>
>BTW kdump(1) doesn't support aoutm68k (and m68k4k) emul stuff.
There is something going amiss - it looks like the generated
aoutm68k_syscalls.c file is incomplete (cvs HEAD from 2006-05-05):
[hauke@fattie] /<2>usr.bin/kdump > make USETOOLS=no depend
# create kdump/kdump-ioctl.c
CC="cc" DESTDIR= sh /usr/src/usr.bin/kdump/mkioctls
/usr/include/altq/altq.h /usr/include/altq/altq_blue.h
/usr/include/altq/altq_cbq.h /usr/include/altq/altq_cdnr.h
/usr/include/altq/altq_fifoq.h /usr/include/altq/altq_hfsc.h
/usr/include/altq/altq_priq.h /usr/include/altq/altq_red.h
/usr/include/altq/altq_rio.h /usr/include/altq/altq_wfq.h
/usr/include/crypto/cryptodev.h /usr/include/dev/ccdvar.h
/usr/include/dev/cgdvar.h /usr/include/dev/fssvar.h /usr/include/dev/md.h
/usr/include/dev/vndvar.h /usr/include/krb5/kafs.h
/usr/include/mac68k/adbsys.h /usr/include/mac68k/grfioctl.h
/usr/include/mac68k/iteioctl.h /usr/include/machine/adbsys.h
/usr/include/machine/grfioctl.h /usr/include/machine/iteioctl.h
/usr/include/net/bpf.h /usr/include/net/if_gre.h /usr/include/net/if_ppp.h
/usr/include/net/if_pppoe.h /usr/include/net/if_sppp.h
/usr/include/net/if_tap.h /usr/include/net/if_tun.h
/usr/include/net/pfvar.h /usr/include/net/slip.h
/usr/include/net80211/ieee80211_ioctl.h /usr/include/netatalk/phase2.h
/usr/include/netccitt/x25.h /usr/include/netinet/ip_fil.h
/usr/include/netinet/ip_lookup.h /usr/include/netinet/ip_nat.h
/usr/include/netinet/ip_state.h /usr/include/netinet6/in6_var.h
/usr/include/netisdn/i4b_debug.h /usr/include/netisdn/i4b_ioctl.h
/usr/include/netisdn/i4b_rbch_ioctl.h /usr/include/netisdn/i4b_tel_ioctl.h
/usr/include/netisdn/i4b_trace.h /usr/include/netiso/iso_snpac.h
/usr/include/netiso/iso_var.h /usr/include/sys/ataio.h
/usr/include/sys/audioio.h /usr/include/sys/cdio.h /usr/include/sys/chio.h
/usr/include/sys/clockctl.h /usr/include/sys/dkio.h
/usr/include/sys/drvctlio.h /usr/include/sys/envsys.h
/usr/include/sys/fdio.h /usr/include/sys/filio.h /usr/include/sys/gpio.h
/usr/include/sys/ioccom.h /usr/include/sys/ioctl.h
/usr/include/sys/ioctl_compat.h /usr/include/sys/joystick.h
/usr/include/sys/ksyms.h /usr/include/sys/lkm.h /usr/include/sys/mtio.h
/usr/include/sys/power.h /usr/include/sys/radioio.h /usr/include/sys/rnd.h
/usr/include/sys/scanio.h /usr/include/sys/scsiio.h
/usr/include/sys/sockio.h /usr/include/sys/soundcard.h
/usr/include/sys/timepps.h /usr/include/sys/ttycom.h
/usr/include/sys/verified_exec.h /usr/include/sys/wdog.h >kdump-ioctl.c
# create kdump/kdump-ioctl.d
mkdep -f kdump-ioctl.d -- -I/usr/src/usr.bin/ktrace -I/usr/src/sys
kdump-ioctl.c
# create kdump/kdump.d
mkdep -f kdump.d -- -I/usr/src/usr.bin/ktrace -I/usr/src/sys kdump.c
# create kdump/setemul.d
mkdep -f setemul.d -- -I/usr/src/usr.bin/ktrace -I/usr/src/sys
setemul.c
In file included from setemul.c:133:
../../sys/compat/aoutm68k/aoutm68k_syscalls.c:3:1: unterminated comment
mkdep: compile failed.
*** Error code 1
Stop.
make: stopped in /usr/src/usr.bin/kdump
[hauke@fattie] /<2>usr.bin/kdump > cat
../../sys/compat/aoutm68k/aoutm68k_syscalls.c
/* $NetBSD$ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
[hauke@fattie] /<2>usr.bin/kdump >
-- or is kdump not supposed to be built by a 'cd usr.bin/kdump && make
cleandir && make dependall'?
hauke
--
"It's never straight up and down" (DEVO)