On 17/05/16 07:21, Bodie (Redacted sender tomas.bodzar for DMARC) wrote:
With that I can start that script and it runs for some time, but then it stops
with this:
--- fgets_chk.d ---
In file included from
/home/username/rump/rumprun/src-netbsd/lib/libc/ssp/fgets_chk.c:41:0:
/usr/local/lib/gcc/x86_64-unknown-openbsd6.0/4.9.3/include/ssp/stdio.h:38:17:
fatal error: ssp.h: No such file or directory
#include <ssp.h>
^
compilation terminated.
nbmkdep: compile failed.
*** [fgets_chk.d] Error code 1
This problem is https://github.com/rumpkernel/rumprun/issues/14
I think your options are to figure out why gcc does that, or to build a
toolchain which does not supply ssp. The easiest way to do the latter
is to use build.sh tools against a NetBSD-current source tree, a bit
like described here:
http://wiki.rumpkernel.org/Howto%3A-Set-up-a-Rumprun-toolchain-in-Mac-OS-X
Note: -current *should* provide a new enough toolchain, but I haven't
verified it myself.