Summary: | devel/boehm-gc-8.0.4_1 does not support RISC-V | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dennis Clarke <dclarke> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | garga, kp, mandree, nobutaka, riscv, yasu | ||||||
Priority: | --- | Flags: | linimon:
maintainer-feedback?
(yasu) |
||||||
Version: | Latest | ||||||||
Hardware: | riscv | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Dennis Clarke
2020-11-06 21:38:17 UTC
(In reply to Dennis Clarke from comment #0) > In file included from allchblk.c:17: > In file included from ./include/private/gc_priv.h:123: > ./include/private/gcconfig.h:709:5: error: The collector has not been ported to this machine/OS combination This error message explains everything. That is, unfortunately FreeBSD/RISC-V is not supported yet. I took a quick look at the include/private/gcconfig.h of 8.0.4 and it seems only Linux is supported OS for RISC-V architecture. To add support of FreeBSD/RISC-V, at least someone need to add required information to this header file. But I don't know the details of FreeBSD/RISC-V at all. Moreover, I'm just the maintainer of this port and don't know details of this software either. So I'm sorry but I can't add support of FreeBSD/RISC-V. But if someone provide patch I'll accept it and send it to upstream. Created attachment 219814 [details]
RISCV support
I've gotten it to build (and pass make check) with this patch.
Created attachment 219820 [details]
Patch file
Add FreeBSD/RISCV patch to this port.
(In reply to Kristof Provost from comment #2) Thank you for patch. I submitted patch to add your patch to this port. So would you please commit it? (In reply to Yasuhiro KIMURA from comment #4) Unfortunately I don't have a ports commit bit, so I'm afraid I can't. A commit references this bug: Author: nobutaka Date: Sat Nov 21 08:21:39 UTC 2020 New revision: 555814 URL: https://svnweb.freebsd.org/changeset/ports/555814 Log: Fix build error on RISC-V. PR: 250915 Submitted by: kp, Yasuhiro KIMURA <yasu@utahime.org> Reported by: Dennis Clarke <dclarke@blastwave.org> Changes: head/devel/boehm-gc/files/patch-include_private_gcconfig.h Thank you for your report and patches. I integrated patch-freebsd-riscv into patch-include_private_gcconfig.h to conform "Avoid having more than one patch modify the same file" rule in the Porter's handbook. |