Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893612

Summary: dev-ml/ocaml_intrinsics-0.15.2: Target not supported on riscv
Product: Gentoo Linux Reporter: jinqiang zhang <peeweep>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: UNCONFIRMED ---    
Severity: normal CC: riscv
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=945079
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info.txt
build.log

Description jinqiang zhang 2023-02-08 14:25:22 UTC
For keywording work in bug #892131, dev-ml/ocaml_intrinsics-0.15.2 not supported on riscv, once this fixed we can rekeyword it.
Comment 1 jinqiang zhang 2023-02-08 14:26:20 UTC
Created attachment 850166 [details]
info.txt

emerge --info
Comment 2 jinqiang zhang 2023-02-08 14:26:58 UTC
Created attachment 850168 [details]
build.log

build.log
Comment 3 jinqiang zhang 2023-02-08 14:27:51 UTC
dev-ml/ocaml_intrinsics-0.15.2 encountered compilation errors on riscv, it seems that dev-ml/ocaml_intrinsics-0.15.2 only supports amd64 (SSE4_2) and arm (CRC32).



riscv64-unknown-linux-gnu-gcc src/crc_stubs.o (exit 1)
crc_stubs.c: In function ‘crc64’:
crc_stubs.c:16:2: error: #error "Target not supported"
   16 | #error "Target not supported"
      |  ^~~~~


Upstream code: https://github.com/janestreet/ocaml_intrinsics/blob/22cce0d47d23ebcb7d782a4d0f7ee6bf47333df3/src/crc_stubs.c#L16

This build.log looks a bit malformed in plain/text, you can use curl or cat.