Fixing interpreter paths was done by exporting PLAN9_TARGET, which
INSTALL looks at. Giving $PLAN9 to INSTALL does not achieve this, as
INSTALL only looks at its first argument so I removed the other
arguments to avoid confusion.
Perl is an optional dependency for a script that adds URLs to man pages,
I have added it to get fewer errors during install.
Fixes/features:
* Fix segfault in metrics because MMAPFORK macro not defined correctly
* Add --cpu-load-slice option for CPU stressor time slice tweaks
* Make semaphore stressors linux only because of timeout
* Make stress-sem conditional on STRESS_SEMAPHORE_POSIX
* stress-sem{,-sysv}: Add timeout to semaphore wait
* stress-sem{,-sysv}: ensure parent is waiting and not thrashing
* stress-sem: remove verbose timeout info, it can spam the output
Changes:
- Ensure maximum sizes don't exceed 4GB-1 for 32 bit systems
- stress-crypt: only use re-entrant crypt_r on Linux for now
- Add perf reference in manual, update date
- stress-vm-rw: zero msg_wr just to be totally safe
- stress-crypt: use reentrant crypt_r to avoid any memory leaks
- stress-zombie: free items on list head on exit
- stress-lockf: free items on list head on exit
- stress-wcstr: fix incorrect wide string size
- Add int8, int16, int32 and int64 versions of mwc*()
- Increase various stressors upper memory limits
- Make --aggressive force more CPU migrations and context switches
- Fix comment for stress_get_ticks_per_second
- perf: enable inherit flag to trace children
- Add the new --getrandom stressor
- Fix sigq options, missing because not using STRESS_SIGQUEUE
- Fix help -h option, was --h, should be -h
- avoid builtins when libs shall be tested
- add stressor for wide character sting operations
- fix string names
- avoid compiler error in stress-vector
- fix EPOLL build
Many (less easily automatically converted) old-style strings
remain.
Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.
Use `with stdenv.lib` wherever it makes sense.