- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Intel C++ compiler throws an internal error when trying to build clang 15:
llvm-project/third-party/benchmark/src/perf_counters.cc(52): internal error: assertion failed: process_fill_in: specified fill-in not found (error.c, line 3340 in process_fill_in)
Reproducer:
$ git clone --depth=1 --branch llvmorg-15.0.0 https://github.com/llvm/llvm-project.git
$ mkdir build
$ cd build
$ cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" -D CMAKE_C_COMPILER=icc -D CMAKE_CXX_COMPILER=icpc ../llvm-project/llvm
$ make
System Information:
$ icpc -V
Intel(R) C++ Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.6.0 Build 20220226_000000
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.
Tested on Rocky Linux 8.7 (Linux Kernel 4.18) and CentOS 7.9 (Linux Kernel 3.10).
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
We have tried with icx(C),icpx(CXX) compiler while building and we did not face any issues. Could you please try with the below commands and let us know the results.
git clone --depth=1 --branch llvmorg-15.0.0 https://github.com/llvm/llvm-project.git
mkdir build
cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" -D CMAKE_C_COMPILER=icx -D CMAKE_CXX_COMPILER=icpx ../llvm-project/llvm
make
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not using the oneAPI compiler icpx but the legacy version icpc. I haven't tried icx/icpx yet but will do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have you tried with icx(C),icpx(CXX) compiler? Please let us know if you face any issues.
If you do not see any issue with icx/icpx, please confirm whether we can close this thread from our end.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks and Regards,
Pendyala Sesha Srinivas
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page