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: Paul Goyette <paul%whooppee.com@localhost>
To: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/54874: "modload exec_aout" fails due to missing dependencies
Date: Sat, 18 Jan 2020 19:09:13 -0800 (PST)

 Thanks for the quick testing and confirmation that the proposed patch
 works.
 
 I have requested the patch to be applied to the netbsd-9 branch via
 pullup-9 #633
 
 
 On Sun, 19 Jan 2020, Izumi Tsutsui wrote:
 
 >>  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
 > hydra#
 > ---
 >
 >>  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.
 >
 > Thanks,
 >
 > ---
 > Izumi Tsutsui
 >
 > !DSPAM:5e23bc8515606535120611!
 >
 >
 
 +--------------------+--------------------------+-----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
 +--------------------+--------------------------+-----------------------+
 


Home | Main Index | Thread Index | Old Index