Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893612 - dev-ml/ocaml_intrinsics-0.15.2: Target not supported on riscv
Summary: dev-ml/ocaml_intrinsics-0.15.2: Target not supported on riscv
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 14:25 UTC by jinqiang zhang
Modified: 2023-02-10 01:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
info.txt (info.txt,6.11 KB, text/plain)
2023-02-08 14:26 UTC, jinqiang zhang
Details
build.log (build.log,32.50 KB, text/plain)
2023-02-08 14:26 UTC, jinqiang zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
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.