-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
The RiscV64 runtimes (especially polarfiresoc
) expect the compiler to use -mcmodel=medany
. Otherwise they will produce relocation errors. Adding the switch manually fixes the problem for light-polarfiresoc
and light-tasking-polarfiresoc
. However the problem seems to persist for embedded-polarfiresoc
. All three runtimes work with our compiler configured with --with-specs='%{!mcmodel=*:-mcmodel=medany}'
.
Note that this problem does not seem to appear with the spike
runtime as it still manually adds -mcmodel=medany
for historical reasons.
This issue was initially reported in AdaCore/bb-runtimes#73.
Metadata
Metadata
Assignees
Labels
No labels