Genode fixes (#8501)

* Genode fixes

- wrap strings in "Genode::Cstring" when logging
- define SIGABRT for Genode
- disable GCC -fstack-protector
- use log RPC for fatal messages
- add --os:genode build to appveyor
- define paramStr and paramCount

* Select fixups for Genode POSIX
This commit is contained in:
Emery Hemingway 2018-08-16 18:12:37 +02:00 • committed by Andreas Rumpf
commit 2da0341b4d
9 changed files with 42 additions and 18 deletions

View file

@ -31,7 +31,11 @@ proc showErrorMessage(data: cstring) {.gcsafe.} =
if errorMessageWriter != nil:
errorMessageWriter($data)
else:
writeToStdErr(data)
when defined(genode):
# stderr not available by default, use the LOG session
echo data
else:
writeToStdErr(data)
proc quitOrDebug() {.inline.} =
when not defined(endb):