rtfb / riscv-hobby-os

Other
27 stars 5 forks source link

Reenable integration tests #53

Closed rtfb closed 2 years ago

rtfb commented 2 years ago

The problem was the new GCC version building with Global Offset Table by default, which was causing a NULL pointer dereference. This was happening very early in FDT parsing code, where our normal trap vector is not set up yet, so it was jumping to the early_trap_vector, which deadloops.

Added no-plt and no-pic flags to address this.

Fixes #43.