NetBSD-Bugs archive

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

Re: kern/54874: "modload exec_aout" fails due to missing dependencies

The following reply was made to PR kern/54874; it has been noted by GNATS.

From: Izumi Tsutsui <>
Subject: Re: kern/54874: "modload exec_aout" fails due to missing dependencies
Date: Sun, 19 Jan 2020 11:17:31 +0900

 >  This would seem to be a pre-existing (prior to netbsd-9) bug, and not
 >  a recently-introduced regression.
 >  Can you try to build a MODULAR kernel from netbsd-8 branch to confirm?
 Yes, it also fails on 8.1:
 hydra# uname -a
 NetBSD hydra 8.1 NetBSD 8.1 (MODULAR) #3: Wed Jan 15 01:51:28 JST 2020  tsutsui@mirage:/s/src/sys/arch/sun3/compile/MODULAR sun3
 hydra# modload exec_aout
 kobj_checksyms, 974: [exec_aout]: linker error: symbol `coredump_netbsd' not found
 WARNING: module error: unable to affix module `exec_aout', error 8
 modload: exec_aout: Exec format error
 >  As an alternative, you could add ``modular'' to the list of attributes
 >  in files.kern which should include the required routine in all modular
 >  kernels.  Please try this and let me know if it works for you.  (We
 >  should be able to include this change in the netbsd-9 branch.)
 >  -file	kern/core_netbsd.c		exec_aout | exec_coff | exec_ecoff
 >  +file	kern/core_netbsd.c		exec_aout | exec_coff | exec_ecoff |
 >  +					modular
 Yes, "modload exec_aout" works fine with this change on 9.0_RC1 tree.
 Izumi Tsutsui

Home | Main Index | Thread Index | Old Index