[Bug 261185] devel/ispc fails to build on FreeBSD-12.3-RELEASE amd64 Poudriere system

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Jan 2022 20:18:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261185

            Bug ID: 261185
           Summary: devel/ispc fails to build on FreeBSD-12.3-RELEASE
                    amd64 Poudriere system
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: ddrinnon@cdor.net
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

From the build log:
...
-- Configuring done
-- Generating done
-- Build files have been written to:
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build
[ 95% 148/155] cd
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build
&& /usr/local/bin/cmake --build . && /usr/local/bin/cmake -E touch
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-stamp/ispc_xpu_examples-build
FAILED: xpu_examples/src/ispc_xpu_examples-stamp/ispc_xpu_examples-build
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-stamp/ispc_xpu_examples-build 
cd
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build
&& /usr/local/bin/cmake --build . && /usr/local/bin/cmake -E touch
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-stamp/ispc_xpu_examples-build
[  2% 10/34] Building CXX object
noise/CMakeFiles/host_noise.dir/noise_serial.cpp.o
[  5% 11/34] Building CXX object
mandelbrot/CMakeFiles/host_mandelbrot.dir/mandelbrot_serial.cpp.o
[  8% 12/34] Building ISPC GPU object
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build/sgemm/genx_sgemm.spv
FAILED: sgemm/CMakeFiles/genx_sgemm_naive_sgemm_spv
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build/sgemm/CMakeFiles/genx_sgemm_naive_sgemm_spv 
cd
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build/sgemm
&& /wrkdirs/usr/ports/devel/ispc/work/.build/bin/ispc -I
/wrkdirs/usr/ports/devel/ispc/work/ispc-1.16.1/examples/xpu/sgemm -I
/wrkdirs/usr/ports/devel/ispc/work/ispc-1.16.1/examples/xpu/../../ispcrt -O3
-DISPC_GPU --addressing=64 --target=genx-x16 --emit-spirv --woff -o
/wrkdirs/usr/ports/devel/ispc/work/.build/xpu_examples/src/ispc_xpu_examples-build/sgemm/genx_sgemm.spv
/wrkdirs/usr/ports/devel/ispc/work/ispc-1.16.1/examples/xpu/sgemm//naive_sgemm.ispc
Assertion failed: (PointeeType && "Must specify element type"), function
Create, file /usr/local/llvm13/include/llvm/IR/Instructions.h, line 971.
/wrkdirs/usr/ports/devel/ispc/work/ispc-1.16.1/src/main.cpp(392): FATAL ERROR:
Unhandled signal sent to process; terminating.
***
*** Please file a bug report at https://github.com/ispc/ispc/issues
*** (Including as much information as you can about how to reproduce this
error).
*** You have apparently encountered a bug in the compiler that we'd like to
fix!
***
...

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