toolchain: musl: add riscv32/64 support kitchensink-201810
authorZoltan HERPAI <wigyori@uid0.hu>
Wed, 17 Oct 2018 21:07:45 +0000 (23:07 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Wed, 17 Oct 2018 21:07:45 +0000 (23:07 +0200)
commitf4b7f3d400fc77245837db58340a778dadce0ebf
treedef4dd3ab53f5ed388b6a005ce6e01ffd4f0008b
parent66337424e21dac7d9a0b4bb22b60d1a21f49fff6
toolchain: musl: add riscv32/64 support

Don't switch the riscv64 target from glibc yet, there are known
issues with libblobmsg_json.so blowing up.

[    0.890000] This architecture does not have kernel memory protection.
[    0.900000] Run /sbin/init as init process
Error loading shared library libjson-c.so.2: Symbolic link loop (needed by /sbin
/init)
Error loading shared library libjson-c.so.2: Symbolic link loop (needed by /lib/
libblobmsg_json.so)
Error relocating /lib/libblobmsg_json.so: json_object_get_object: symbol not fou
nd
Error relocating /lib/libblobmsg_json.so: json_object_from_file: symbol not foun
d
Error relocating /lib/libblobmsg_json.so: json_tokener_parse: symbol not found
Error relocating /lib/libblobmsg_json.so: json_object_get_int: symbol not found
Error relocating /lib/libblobmsg_json.so: json_object_get_boolean: symbol not fo
und

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
toolchain/musl/patches/902-RISC-V-add-riscv32-and-riscv64.patch [new file with mode: 0644]