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, May 7, 5:14 AM
Unknown Object (File)
Tue, Apr 28, 10:53 PM
Unknown Object (File)
Tue, Apr 28, 1:41 PM
Unknown Object (File)
Mon, Apr 27, 3:08 PM
Unknown Object (File)
Tue, Apr 21, 1:56 PM
Unknown Object (File)
Mon, Apr 20, 12:43 PM
Unknown Object (File)
Apr 12 2026, 6:43 AM
Unknown Object (File)
Apr 9 2026, 9:48 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.