Current-Users archive

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

Re: Build failure for ``no options PTRACE''



On Sat, 17 Oct 2020, Paul Goyette wrote:

Thanks - I'll give it a try.

OK, it builds.  But it doesn't work, and least not completely!

FWIW, in addition to

	no options COREDUMP
	no options PTRACE

my custom kernel also has

	no options EXEC_ELF32
	no options EXEC_ELF64

These modules are expected to be auto-loaded as necessary.

It seems that the exec_elf* modules fail to load, since the symbol
coredump_elf{32,64} is already defined in the kernel, even though
I have the ``no options EXEC_ELF*'' in the config.

...
[   8.0347157] init: copying out path `/sbin/init' 11
[   8.0544213] kobj_checksyms, 1026: [%M/exec_elf32/exec_elf32.kmod]: linker error: global symbol `coredump_elf32' redefined
[   8.0544213] WARNING: module error: vfs load failed for `exec_elf32', error 8
[   8.0544213] kobj_checksyms, 1026: [%M/exec_elf64/exec_elf64.kmod]: linker error: global symbol `coredump_elf64' redefined
[   8.0544213] WARNING: module error: vfs load failed for `exec_elf64', error 8
...


+--------------------+--------------------------+-----------------------+
| 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