[Bug 260985] devel/intel-graphics-compiler: build fails outside poudriere, ok in

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Jan 2022 21:02:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260985

            Bug ID: 260985
           Summary: devel/intel-graphics-compiler: build fails outside
                    poudriere, ok in
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

I know building outside poudriere is a bit more of a "best effort" thing, but I
observed the following build error on 12-stable/amd64:

 .
 .
[ 16% 153/932] cd
/usr/ports/devel/intel-graphics-compiler/work-llvm12/.build/IGC/VectorCompiler/lib/BiF
&&
/usr/ports/devel/intel-graphics-compiler/work-llvm12/.build/IGC/Release/CMCLTranslatorTool
-o VCBiFPrintfOCL32.cmcl.bc VCBiFPrintfOCL32.clang.bc
FAILED: IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL32.cmcl.bc
/usr/ports/devel/intel-graphics-compiler/work-llvm12/.build/IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL32.cmcl.bc
cd
/usr/ports/devel/intel-graphics-compiler/work-llvm12/.build/IGC/VectorCompiler/lib/BiF
&&
/usr/ports/devel/intel-graphics-compiler/work-llvm12/.build/IGC/Release/CMCLTranslatorTool
-o VCBiFPrintfOCL32.cmcl.bc VCBiFPrintfOCL32.clang.bc
Assertion failed: (Index < Length && "Invalid index!"), function operator[],
file /usr/local/llvm12/include/llvm/ADT/ArrayRef.h, line 248.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments:
/usr/ports/devel/intel-graphics-compiler/work-llvm12/.build/IGC/Release/CMCLTranslatorTool
-o VCBiFPrintfOCL32.cmcl.bc VCBiFPrintfOCL32.clang.bc
#0 0x0000000802d5eda9 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/usr/local/llvm12/lib/libLLVM-12.so+0x295eda9)
#1 0x0000000802d5cf95 llvm::sys::RunSignalHandlers()
(/usr/local/llvm12/lib/libLLVM-12.so+0x295cf95)
#2 0x0000000802d5f7b1 (/usr/local/llvm12/lib/libLLVM-12.so+0x295f7b1)
#3 0x00000008003c7c60 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3


Before anyone spends too much time trying to dig into this, I would like to
know if this looks familiar.  Has this happened to someone before, and is there
a typical causal factor that triggers this?

Note: I do not have the old version of the port installed (I did, but then I
removed it and rebuilt from scratch and got the same error).

Port tree is from Jan 4 (git commit ca363436977ed95ed19f19fc75c97602efbe86e5).

-- 
You are receiving this mail because:
You are the assignee for the bug.