Logging output from libgraal for options such as -Dlibgraal.PrintGC=true currently goes to stderr. Instead, this should go to HotSpot's tty stream. Likewise, a fatal error in libgraal currently routes directly to call the libc abort function. Instead, it should call HotSpot's report_fatal function so that a proper hs_err_pid crash log is produced. This crash log should also contain relevant JVMCI events that may help diagnose a libgraal crash.