Summary: | devel/ispc: Fails to build with LLVM 13 on on FreeBSD-12.3-RELEASE amd64: Assertion failed: (PointeeType && "Must specify element type"), function Create, file /usr/local/llvm13/include/llvm/IR/Instructions.h, line 971. | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | ddrinnon |
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | tatsuki_makino, vvd |
Priority: | --- | Keywords: | regression |
Version: | Latest | Flags: | koobs:
maintainer-feedback+
|
Hardware: | Any | ||
OS: | Any |
Description
ddrinnon
2022-01-13 20:18:22 UTC
Thanks for reporting. The problem should be fixed now. Regards, Yuri A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=427b549432cf3606803c0802d53f9d32abb4d713 commit 427b549432cf3606803c0802d53f9d32abb4d713 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-01-13 22:23:36 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-01-13 22:26:25 +0000 devel/ispc: Revert the previous LLVM version change to 13 back to 11 Various systems have llvm-13 crashing with assertions on ISPC. PR: 261185 Reported by: ddrinnon@cdor.net, fallout devel/ispc/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) Thank you Yuri - that fixed it. Can you please keep possibility to build ispc with other versions of LLVM? (In reply to VVD from comment #4) But you can currently build manually with this command: > make LLVM_VERSION=13 Is this sufficient? Yuri My 12.3-STABLE (after LLVM was changed to 13) was not able to build 1.16.1_2 due to the same problem. As far as freshports is concerned, LLVM_VERSION=13 of 1.16.1_2 seems to be fine on i386. (In reply to Yuri Victorovich from comment #5) +LLVM_VERSION= 11 -LLVM_VERSION?= 11 Yes, make LLVM_VERSION=13 or echo LLVM_VERSION=13 >> /etc/make.conf is what I want. (In reply to Tatsuki Makino from comment #6) Try to turn off option GENX. (In reply to VVD from comment #8) Correct patch is: -LLVM_VERSION= 11 +LLVM_VERSION?= 11 A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff5cc300f44abef42dfa6013266581b917fb71bb commit ff5cc300f44abef42dfa6013266581b917fb71bb Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-01-14 16:51:53 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-01-14 16:51:53 +0000 devel/ispc: Make LLVM_VERSION overridable PR: 261185 devel/ispc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |