Page MenuHomeFreeBSD

Fix RISC-V ELF dynamic interpreter path

Authored by lwhsu on Jul 18 2018, 1:36 PM.



start_init: trying /sbin/init
ELF interpreter /lib/ not found, error 2

Diff Detail

rP FreeBSD ports repository
No Linters Available
No Unit Test Coverage
Build Status
Buildable 18118
Build 17854: arc lint + arc unit

Event Timeline

lwhsu created this revision.Jul 18 2018, 1:36 PM
bapt accepted this revision.Jul 24 2018, 4:23 PM
This revision is now accepted and ready to land.Jul 24 2018, 4:23 PM
This revision was automatically updated to reflect the committed changes.
lwhsu added a comment.Jul 24 2018, 4:54 PM

For the record: this fixes booting kernel in "limited rootfs" mode, but this change seems difficult to be upstreamed. Need to work on a better solution.

jhb added a comment.Jul 24 2018, 5:00 PM

Yes, this doesn't seem like the right way to fix this for upstream. I suspect we need 'fbsd' linker emulations as we do on other platforms.