Page MenuHomeFreeBSD

Fix RISC-V ELF dynamic interpreter path
ClosedPublic

Authored by lwhsu on Jul 18 2018, 1:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 3:25 AM
Unknown Object (File)
Sun, Mar 22, 6:44 PM
Unknown Object (File)
Sat, Mar 14, 6:43 AM
Unknown Object (File)
Wed, Mar 11, 7:12 PM
Unknown Object (File)
Thu, Mar 5, 12:26 AM
Unknown Object (File)
Feb 7 2026, 4:15 PM
Unknown Object (File)
Jan 28 2026, 4:31 PM
Unknown Object (File)
Jan 27 2026, 9:08 PM
Subscribers

Details

Summary

https://ci.freebsd.org/job/FreeBSD-head-riscv64-test/6311/console

start_init: trying /sbin/init
ELF interpreter /lib/ld.so.1 not found, error 2

Diff Detail

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

Event Timeline

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.

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.

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.