Port-mips archive

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

Re: CVS commit: src/sys/arch



2009/8/13 Matt Thomas <matt%netbsd.org@localhost>:
> Module Name:    src
> Committed By:   matt
> Date:           Wed Aug 12 23:29:20 UTC 2009
>
> Modified Files:
>        src/sys/arch/algor/include: Makefile
>        src/sys/arch/arc/include: Makefile
>        src/sys/arch/cobalt/include: Makefile
>        src/sys/arch/evbmips/include: Makefile
>        src/sys/arch/hpcmips/include: Makefile
>        src/sys/arch/mips/mips: cpu_exec.c
>        src/sys/arch/mipsco/include: Makefile
>        src/sys/arch/newsmips/conf: GENERIC WAPIKO
>        src/sys/arch/newsmips/include: Makefile
>        src/sys/arch/pmax/include: Makefile
>        src/sys/arch/sbmips/include: Makefile
>        src/sys/arch/sgimips/include: Makefile
> Removed Files:
>        src/sys/arch/algor/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/arc/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/cobalt/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/evbmips/include: aout_machdep.h
>        src/sys/arch/hpcmips/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/mips/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/mipsco/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/newsmips/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/pmax/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/sbmips/include: aout_machdep.h bsd-aout.h
>        src/sys/arch/sgimips/include: aout_machdep.h bsd-aout.h
>
> Log Message:
> Nuke a.out support for MIPS.
>
>

The above change causes problems for me when building a custom pmax kernel:

depending the compat library objects
     create  compat/compat_exec.d
In file included from ../../../../../../sys/exec.h:280,
                 from ../../../../../../compat/common/compat_exec.c:44:
../../../../../../sys/exec_aout.h:187:34: error:
machine/aout_machdep.h: No such file or directory
mkdep: compile failed.
*** Error code 1

Stop.
make: stopped in /home/NetBSD/src/sys/arch/pmax/compile/SOCKDEV/lib/compat
*** Error code 1

Stop.
make: stopped in /home/NetBSD/src/sys/arch/pmax/compile/SOCKDEV



For reference I enclose my kernel configuration file:

#       $Id: SOCKDEV,v 1.20 2009/01/30 17:03:08 ebe Exp $
#
include         "arch/pmax/conf/std.pmax"
#include                "arch/pmax/conf/files.pmax_rcons"

maxusers        32

options         MIPS1                   # R2000/R3000 support
options         DEC_3MIN                # kn02ba: 5000/1xx (3min) support

options         SYSVSHM,SYSVSEM,SYSVMSG

# Filesystem options
file-system     FFS             # fast filesystem with user and group quotas
file-system     NFS

# Networking options
options         INET            # Internet protocols

# pmax specific
options         HZ=256          # RTC rate required

config          netbsd root on ? type ?

mainbus0 at root
cpu* at mainbus0

# TURBOchannel bus support
tc*   at      mainbus0

# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
ioasic0       at      tc?
mcclock0 at   ioasic? offset ?        # DS1287 RTC
asc*  at      ioasic? offset ?        # NCR53C94 SCSI with IOASIC
le0   at      ioasic? offset ?        # LANCE
zsc0    at      ioasic? offset 0x100000 # Z85C30
zsc1    at      ioasic? offset 0x180000 # Z85C30

zstty*  at      zsc? channel ?          # serial ports on B/A channels
lkkbd*  at      zsc1 channel ?          # keyboard port on A channels
vsms*   at      zsc0 channel ?          # mouse port on A channels

# Workstation console

wskbd*          at      lkkbd? console ?
wsmouse*        at      vsms?

scsibus*        at asc?
#
sd*     at scsibus? target ? lun ?      # SCSI disks
cd*     at scsibus? target ? lun ?      # SCSI CD-ROMs

pseudo-device   pty
pseudo-device   loop
pseudo-device   rnd


Its not obvious to me whether we need a stub aout_machdep.h or whether
the compilation of compat_exec.c should be conditional.

regards
Erik


Home | Main Index | Thread Index | Old Index