History log of /netbsd/tests/rump/modautoload/Makefile (Results 1 – 14 of 14)
Revision Date Author Comments
# 984224a2 24-Apr-2023 uwe <uwe@NetBSD.org>

tests/rump/modautoload: reorder -lrumpvfs_nofifofs

Make the way we spell "-lrumpvfs -lrumpvfs_nofifofs" hack consistent.
The order doesn't matter here because of --whole-archive.


# abe28cfe 07-Jul-2021 martin <martin@NetBSD.org>

Allow to set sanitizer flags for the rump build from the
build.sh command line, like: -V RUMP_SANITIZE=address


# b94e1904 26-May-2020 christos <christos@NetBSD.org>

Fix alpha build (relocation truncated to fit: GPREL16 against symbol ...)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47230


# c4ec1aa4 16-May-2020 christos <christos@NetBSD.org>

Do the same thing with linker flags instead of directly specifying the archives.


# 0526a458 16-May-2020 christos <christos@NetBSD.org>

more nofifofs


# d89d2d4d 17-Aug-2019 kamil <kamil@NetBSD.org>

Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers

Set SANITIZER_RENAME_SYMBOL.t_modautoload to:

* sysctlbyname
* sysctlgetmibinfo


# f62ec348 14-Oct-2016 christos <christos@NetBSD.org>

Disable aslr too since we are playing address space range tricks.


# 30b97452 10-Sep-2016 christos <christos@NetBSD.org>

need bsd.init.mk


# bbcf656f 27-Aug-2016 christos <christos@NetBSD.org>

don't disable PIE


# 76044aa7 27-Aug-2016 christos <christos@NetBSD.org>

needs mprotect disable since it loads kernel code and relocates it.


# 1b08fefa 20-Aug-2016 christos <christos@NetBSD.org>

add missing library dependencies.


# 908c8e46 27-Dec-2015 pgoyette <pgoyette@NetBSD.org>

When MODULAR kernels grew a MODULAR_DEFAULT_AUTOLOAD option, (in rev 1.98
of src/sys/kern/kern_module.c), the default was "off" for all kernels
including rump kernels. While many (most?) kernel conf

When MODULAR kernels grew a MODULAR_DEFAULT_AUTOLOAD option, (in rev 1.98
of src/sys/kern/kern_module.c), the default was "off" for all kernels
including rump kernels. While many (most?) kernel config files were
updated to include the new option, rump kernels weren't so lucky. Thus,
rump kernels still had autoload disabled.

This commit uses rump_sysctl to change the module_autoload_on value to
true (ie, enabled) before trying to test if autoloading actually works.

For now, I am _not_ changing the default for all rump kernels. I'll
leave that for another day, after all appropriate discussion has occurred.

show more ...


# 51e77037 10-Mar-2014 pooka <pooka@NetBSD.org>

Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump. Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled wit

Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump. Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled with native ABI support.

show more ...


# 5c21ec6f 09-Jun-2010 pooka <pooka@NetBSD.org>

Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works". For amd64, due to -mcmodel=kernel,
thi

Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works". For amd64, due to -mcmodel=kernel,
things are a little more complicated. We must have the entire rump
kernel loaded in the lower 2GB. Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there. I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.

Also thanks to tron for access to an amd64 so that I could verify
the test works.

show more ...