-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors on ubuntu 23.10 #311
Comments
Hi @hector-cao, this is most likely unrelated, but mixing LLVM versions ( |
@hector-cao Please provide version of IGC you're building, as IGC has been building fine for me on 23.10.
Yep. To build IGC on 23.10, I install following packages:
(Valgrind is for optional Valgrind annotations.)
It has worked fine for me, as long as I make sure that everything is built with the same LLVM version (as LLVM changes ABI between versions). |
@pszymich I think this can be closed:
|
Closing after 3 months of no response from ticket reporter. |
OS
Ubuntu 23.10
Instructions:
sudo apt-get install -y flex bison libz-dev cmake
sudo apt-get install llvm-14
llvm-14-dev
clang-14
liblld-16
liblld-16-dev
libllvmspirvlib15
libllvmspirvlib-15-dev
sudo apt-get install -y libopencl-clang-14-dev
git clone https://github.com/intel/vc-intrinsics vc-intrinsics
git clone https://github.com/KhronosGroup/SPIRV-Tools.git SPIRV-Tools
git clone https://github.com/KhronosGroup/SPIRV-Headers.git SPIRV-Headers
git clone https://github.com/intel/intel-graphics-compiler igc
mkdir build
cd build
cmake ../igc
make -j
nproc
Error
intel-graphics-compiler/igc/IGC/../../inc/common/secure_mem.h:35:16: error: redefinition of ‘errno_t fopen_s(FILE**, const char*, const char*)’
35 | inline errno_t fopen_s( FILE** pFile, const char* filename, const char *mode )
Note
There are also a bunch of similar errors for other functions in secure_mem.h and secure_string.h
The text was updated successfully, but these errors were encountered: