Skip to content
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

An up-to-date binary release #1247

Closed
zaikunzhang opened this issue May 15, 2022 · 12 comments
Closed

An up-to-date binary release #1247

zaikunzhang opened this issue May 15, 2022 · 12 comments

Comments

@zaikunzhang
Copy link

Hello!

First of all, thank you very much for the enormous efforts to maintain and develop the Classic Flang.

I am using the March 2019 Binary Release of the compiler for my projects. I tried a few times to build the latest version from the source on my machines but failed. So, it would be very nice if an up-to-date binary release could be made available.

In addition, the current version includes fixes for a few issues that I opened (e.g., #1200, #1227). I hope to confirm on my side that the problems have been successfully solved.

Thank you very much for your consideration!

Best regards,
Zaikun

@bryanpkc
Copy link
Collaborator

bryanpkc commented Oct 5, 2022

We don't have any official plan to provide binary releases. Volunteers are welcome on this front.

@bryanpkc
Copy link
Collaborator

@zaikunzhang Can you elaborate on why you couldn't build the compiler from source?

@zaikunzhang
Copy link
Author

Thank you @bryanpkc. I tried it in 2020, two years ago. It is hard to recall. I tried several times but failed, and then I gave up after finding the binary release.

@bryanpkc
Copy link
Collaborator

The classic-flang-llvm-project repo and the flang repo now come with build scripts (you can pick either bash or Python) which should make things easier. Give it a shot again!

@zaikunzhang
Copy link
Author

zaikunzhang commented Dec 17, 2022

@bryanpkc Thank you for the information. Here is what I tried today.

#!/bin/bash
NPROC=$(grep -c 'processor' /proc/cpuinfo 2>/dev/null || echo 1)  # Number of processor to use
LLVM_TAG="flang-15.0.3-20221103"  # See https://github.com/flang-compiler/classic-flang-llvm-project/tags
FLANG_TAG="flang_20221103"  # See https://github.com/flang-compiler/flang/tags
FLANG_DIR=/tmp/flang-"$(date +%s)"  # Where to perform the installation; should be a temporary directory
INSTALL_PREFIX=$FLANG_DIR # This is only a test, so INSTALL_PREFIX is the same temporary directory as $FLANG_DIR

mkdir -p "$FLANG_DIR" && cd "$FLANG_DIR"

wget https://github.com/flang-compiler/classic-flang-llvm-project/archive/refs/tags/"$LLVM_TAG.zip"
wget https://github.com/flang-compiler/flang/archive/refs/tags/"$FLANG_TAG.zip"

unzip $LLVM_TAG.zip
unzip $FLANG_TAG.zip

cd classic-flang-llvm-project-"$LLVM_TAG" && ./build-llvm-project.sh -i -n $NPROC -p "$INSTALL_PREFIX" && cd ../
cd flang-"$FLANG_TAG" && ./build-flang.sh -n $NPROC -p "$INSTALL_PREFIX" && cd ../

exit 0

It succeeded on one of my computers with Ubuntu 22.04, but on another one, it failed when running ./build-flang.sh, complaining the following.

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "/tmp/flang-1671279209/classic-flang-llvm-project-flang-15.0.3-20221103/build//bin/clang++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /tmp/flang-1671279209/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_be9a6/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_be9a6.dir/build.make CMakeFiles/cmTC_be9a6.dir/build
    gmake[1]: Entering directory '/tmp/flang-1671279209/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_be9a6.dir/testCXXCompiler.cxx.o
    /tmp/flang-1671279209/classic-flang-llvm-project-flang-15.0.3-20221103/build//bin/clang++    -MD -MT CMakeFiles/cmTC_be9a6.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_be9a6.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_be9a6.dir/testCXXCompiler.cxx.o -c /tmp/flang-1671279209/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_be9a6
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_be9a6.dir/link.txt --verbose=1
    /tmp/flang-1671279209/classic-flang-llvm-project-flang-15.0.3-20221103/build//bin/clang++ CMakeFiles/cmTC_be9a6.dir/testCXXCompiler.cxx.o -o cmTC_be9a6 
    /usr/bin/ld: cannot find -lstdc++: No such file or directory
    clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
    gmake[1]: *** [CMakeFiles/cmTC_be9a6.dir/build.make:100: cmTC_be9a6] Error 1
    gmake[1]: Leaving directory '/tmp/flang-1671279209/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_be9a6/fast] Error 2
    
      CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:30 (project)

@bryanpkc
Copy link
Collaborator

CMake's output message doesn't make a lot of sense to me. build-flang.sh should use $INSTALL_PREFIX/bin/clang++ as the build compiler, but in the output message you quoted, it seems to be trying to use the not-yet-installed copy of clang++ under the build directory of classic-flang-llvm-project.

@bryanpkc
Copy link
Collaborator

To be clear, you should give the same path name to the -p option for both build-llvm-project.sh and build-flang.sh.

@zaikunzhang
Copy link
Author

zaikunzhang commented Dec 19, 2022

Thank you @bryanpkc for checking this.

Indeed, the failure happened during build-flang.sh, when build-llvm-project.sh has succeeded.

RE: you should give the same path name to the -p for both build-llvm-project.sh and build-flang.sh.
Yes, this is what I did, both of them being $FLANG_DIR.

Maybe I was copying-pasting a wrong failure message (I made several tests under different settings). I will test it again today.

Thanks.

@bryanpkc
Copy link
Collaborator

Try prepending $INSTALL_PREFIX/bin to $PATH so that build-flang.sh will find the just-built llvm-config there. This was causing a weird issue reported in #1338.

@zaikunzhang
Copy link
Author

zaikunzhang commented Dec 19, 2022

Hi @bryanpkc ! I tried again. The same error occured.

This is the script I used for the installation. Note that $INSTALL_PREFIX/bin is prepended to $PATH before biuld-flang.sh is invoked.

#!/bin/bash

LLVM_TAG="flang-15.0.3-20221103"  # See https://github.com/flang-compiler/classic-flang-llvm-project/tags
FLANG_TAG="flang_20221103"  # See https://github.com/flang-compiler/flang/tags
INSTALL_PREFIX=$HOME/local/flang  # Flang will be installed at $INSTALL_PREFIX/bin

FLANG_DIR=/tmp/flang-"$(date +%s)"  # Where to perform the installation; should be a temporary directory
NPROC=$(grep -c 'processor' /proc/cpuinfo 2>/dev/null || echo 1)  # Number of processor to use

if [[ -e "$INSTALL_PREFIX" ]] ; then
    printf "\n%s exists. Abort.\n\n" "$INSTALL_PREFIX"
    exit 1
else
    mkdir -p "$INSTALL_PREFIX"
    printf "\nFlang will be installed at \n\n%s\n\nThis may take some time ...\n\n" "$INSTALL_PREFIX"
fi

mkdir -p "$FLANG_DIR" && cd "$FLANG_DIR" || exit 2

wget https://github.com/flang-compiler/classic-flang-llvm-project/archive/refs/tags/"$LLVM_TAG.zip"
wget https://github.com/flang-compiler/flang/archive/refs/tags/"$FLANG_TAG.zip"

unzip $LLVM_TAG.zip
unzip $FLANG_TAG.zip

cd classic-flang-llvm-project-"$LLVM_TAG" && ./build-llvm-project.sh -i -n "$NPROC" -p "$INSTALL_PREFIX" && cd ../ && \
    export PATH="$INSTALL_PREFIX"/bin:"$PATH" && \
    cd flang-"$FLANG_TAG" && ./build-flang.sh -n "$NPROC" -p "$INSTALL_PREFIX" && cd ../ && \
    rm -r classic-flang-llvm-project-"$LLVM_TAG" flang-"$FLANG_TAG" $LLVM_TAG.zip $FLANG_TAG.zip && \
    printf "\n\nFlang has been installed at \n\n%s\n\n" "$INSTALL_PREFIX" && \
    exit 0

This is /tmp/flang-1671415673/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeError.log

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.                                                                                                                               
Compiler: /home/zaikunzhang/local/flang/bin/clang++                                                  
Build flags:                                                                                         
Id flags:                                                                                            
                                                                                                     
The output was:                                                                                      
1                                                                                                    
/usr/bin/ld: cannot find -lstdc++                                                                    
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)                   
                                                                                                     
                                                                                                     
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
clang version 15.0.3                                                                                 
Target: x86_64-unknown-linux-gnu                                                                     
Thread model: posix                                                                                  
InstalledDir: /home/zaikunzhang/local/flang/bin                                                      
Determining if the CXX compiler works failed with the following output:                              
Change Dir: /tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp   
                                                                                                     
Run Build Command(s):/usr/bin/make cmTC_18b11/fast && /usr/bin/make -f CMakeFiles/cmTC_18b11.dir/build.make CMakeFiles/cmTC_18b11.dir/build
make[1]: Entering directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_18b11.dir/testCXXCompiler.cxx.o                                  
/home/zaikunzhang/local/flang/bin/clang++     -o CMakeFiles/cmTC_18b11.dir/testCXXCompiler.cxx.o -c /tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_18b11                                                                    
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18b11.dir/link.txt --verbose=1                   
/home/zaikunzhang/local/flang/bin/clang++       CMakeFiles/cmTC_18b11.dir/testCXXCompiler.cxx.o  -o cmTC_18b11
/usr/bin/ld: cannot find -lstdc++                                                                    
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)                   
make[1]: *** [CMakeFiles/cmTC_18b11.dir/build.make:87: cmTC_18b11] Error 1                           
make[1]: Leaving directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_18b11/fast] Error 2                                                                                                                                                     

This is /tmp/flang-1671415673/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeOutput.log.

The system is: Linux - 5.4.0-135-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /home/zaikunzhang/local/flang/bin/clang 
Build flags: 
Id flags:  

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is Clang, found in "/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/3.16.3/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /home/zaikunzhang/local/flang/bin/clang++ 
Build flags: 
Id flags: -c 

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"

The CXX compiler identification is Clang, found in "/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/3.16.3/CompilerIdCXX/CMakeCXXCompilerId.o"

Checking whether the ASM compiler is Clang using "--version" matched "(clang version)":
clang version 15.0.3
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/zaikunzhang/local/flang/bin
Determining if the C compiler works passed with the following output:
Change Dir: /tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_9fa39/fast && /usr/bin/make -f CMakeFiles/cmTC_9fa39.dir/build.make CMakeFiles/cmTC_9fa39.dir/build
make[1]: Entering directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9fa39.dir/testCCompiler.c.o
/home/zaikunzhang/local/flang/bin/clang    -o CMakeFiles/cmTC_9fa39.dir/testCCompiler.c.o   -c /tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_9fa39
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fa39.dir/link.txt --verbose=1
/home/zaikunzhang/local/flang/bin/clang      CMakeFiles/cmTC_9fa39.dir/testCCompiler.c.o  -o cmTC_9fa39 
make[1]: Leaving directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'



Detecting C compiler ABI info compiled with the following output:
Change Dir: /tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_58181/fast && /usr/bin/make -f CMakeFiles/cmTC_58181.dir/build.make CMakeFiles/cmTC_58181.dir/build
make[1]: Entering directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o
/home/zaikunzhang/local/flang/bin/clang   -v -o CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
clang version 15.0.3
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/zaikunzhang/local/flang/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Candidate multilib: .;@m64
Selected multilib: .;@m64
 (in-process)
 "/home/zaikunzhang/local/flang/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -pic-is-pie -fveclib=PGMATH -mllvm -pass-remarks= -mllvm -pass-remarks-missed= -mllvm -pass-remarks-analysis= -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp -resource-dir /home/zaikunzhang/local/flang/lib/clang/15.0.3 -I/opt/intel/oneapi/vpl/2021.2.2/include -I/opt/intel/oneapi/tbb/2021.2.0/env/../include -I/opt/intel/oneapi/mpi/2021.2.0//include -I/opt/intel/oneapi/mkl/latest/include -I/opt/intel/oneapi/ipp/2021.2.0/include -I/opt/intel/oneapi/ippcp/2021.2.0/include -I/opt/intel/oneapi/ipp/2021.2.0/include -I/opt/intel/oneapi/dpl/2021.2.0/linux/include -I/opt/intel/oneapi/dpcpp-ct/2021.2.0/include -I/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib -I/opt/intel/oneapi/dev-utilities/2021.2.0/include -I/opt/intel/oneapi/dal/2021.2.0/include -I/opt/intel/oneapi/compiler/2021.2.0/linux/include -I/opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp -cxx-isystem /opt/intel/oneapi/clck/2021.2.2/include -internal-isystem /home/zaikunzhang/local/flang/lib/clang/15.0.3/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o -x c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
clang -cc1 version 15.0.3 based upon LLVM 15.0.3 default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include"
ignoring nonexistent directory "/include"
ignoring duplicate directory "/opt/intel/oneapi/ipp/2021.2.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/intel/oneapi/vpl/2021.2.2/include
 /opt/intel/oneapi/tbb/2021.2.0/env/../include
 /opt/intel/oneapi/mpi/2021.2.0//include
 /opt/intel/oneapi/mkl/latest/include
 /opt/intel/oneapi/ipp/2021.2.0/include
 /opt/intel/oneapi/ippcp/2021.2.0/include
 /opt/intel/oneapi/dpl/2021.2.0/linux/include
 /opt/intel/oneapi/dpcpp-ct/2021.2.0/include
 /opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib
 /opt/intel/oneapi/dev-utilities/2021.2.0/include
 /opt/intel/oneapi/dal/2021.2.0/include
 /opt/intel/oneapi/compiler/2021.2.0/linux/include
 /opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp
 /home/zaikunzhang/local/flang/lib/clang/15.0.3/include
 /usr/local/include
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
Linking C executable cmTC_58181
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_58181.dir/link.txt --verbose=1
/home/zaikunzhang/local/flang/bin/clang     -v CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o  -o cmTC_58181 
clang version 15.0.3
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/zaikunzhang/local/flang/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Candidate multilib: .;@m64
Selected multilib: .;@m64
 "/usr/bin/ld" -pie -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_58181 /lib/x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/lib -L/usr/lib -L/opt/intel/oneapi/vpl/2021.2.2/lib -L/opt/intel/oneapi/tbb/2021.2.0/env/../lib/intel64/gcc4.8 -L/opt/intel/oneapi/mpi/2021.2.0//libfabric/lib -L/opt/intel/oneapi/mpi/2021.2.0//lib/release -L/opt/intel/oneapi/mpi/2021.2.0//lib -L/opt/intel/oneapi/mkl/latest/lib/intel64 -L/opt/intel/oneapi/ipp/2021.2.0/lib/intel64 -L/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64 -L/opt/intel/oneapi/ipp/2021.2.0/lib/intel64 -L/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib -L/opt/intel/oneapi/dal/2021.2.0/lib/intel64 -L/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin -L/opt/intel/oneapi/compiler/2021.2.0/linux/lib -L/opt/intel/oneapi/clck/2021.2.2/lib/intel64 -L/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64/crtn.o
make[1]: Leaving directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp'



Parsed C implicit include dir info from above output: rv=done
  found start of include info
  found start of implicit include info
    add: [/opt/intel/oneapi/vpl/2021.2.2/include]
    add: [/opt/intel/oneapi/tbb/2021.2.0/env/../include]
    add: [/opt/intel/oneapi/mpi/2021.2.0//include]
    add: [/opt/intel/oneapi/mkl/latest/include]
    add: [/opt/intel/oneapi/ipp/2021.2.0/include]
    add: [/opt/intel/oneapi/ippcp/2021.2.0/include]
    add: [/opt/intel/oneapi/dpl/2021.2.0/linux/include]
    add: [/opt/intel/oneapi/dpcpp-ct/2021.2.0/include]
    add: [/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib]
    add: [/opt/intel/oneapi/dev-utilities/2021.2.0/include]
    add: [/opt/intel/oneapi/dal/2021.2.0/include]
    add: [/opt/intel/oneapi/compiler/2021.2.0/linux/include]
    add: [/opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp]
    add: [/home/zaikunzhang/local/flang/lib/clang/15.0.3/include]
    add: [/usr/local/include]
    add: [/usr/include/x86_64-linux-gnu]
    add: [/usr/include]
  end of search list found
  collapse include dir [/opt/intel/oneapi/vpl/2021.2.2/include] ==> [/opt/intel/oneapi/vpl/2021.2.2/include]
  collapse include dir [/opt/intel/oneapi/tbb/2021.2.0/env/../include] ==> [/opt/intel/oneapi/tbb/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/mpi/2021.2.0//include] ==> [/opt/intel/oneapi/mpi/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/mkl/latest/include] ==> [/opt/intel/oneapi/mkl/latest/include]
  collapse include dir [/opt/intel/oneapi/ipp/2021.2.0/include] ==> [/opt/intel/oneapi/ipp/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/ippcp/2021.2.0/include] ==> [/opt/intel/oneapi/ippcp/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/dpl/2021.2.0/linux/include] ==> [/opt/intel/oneapi/dpl/2021.2.0/linux/include]
  collapse include dir [/opt/intel/oneapi/dpcpp-ct/2021.2.0/include] ==> [/opt/intel/oneapi/dpcpp-ct/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib] ==> [/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib]
  collapse include dir [/opt/intel/oneapi/dev-utilities/2021.2.0/include] ==> [/opt/intel/oneapi/dev-utilities/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/dal/2021.2.0/include] ==> [/opt/intel/oneapi/dal/2021.2.0/include]
  collapse include dir [/opt/intel/oneapi/compiler/2021.2.0/linux/include] ==> [/opt/intel/oneapi/compiler/2021.2.0/linux/include]
  collapse include dir [/opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp] ==> [/opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp]
  collapse include dir [/home/zaikunzhang/local/flang/lib/clang/15.0.3/include] ==> [/home/zaikunzhang/local/flang/lib/clang/15.0.3/include]
  collapse include dir [/usr/local/include] ==> [/usr/local/include]
  collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
  collapse include dir [/usr/include] ==> [/usr/include]
  implicit include dirs: [/opt/intel/oneapi/vpl/2021.2.2/include;/opt/intel/oneapi/tbb/2021.2.0/include;/opt/intel/oneapi/mpi/2021.2.0/include;/opt/intel/oneapi/mkl/latest/include;/opt/intel/oneapi/ipp/2021.2.0/include;/opt/intel/oneapi/ippcp/2021.2.0/include;/opt/intel/oneapi/dpl/2021.2.0/linux/include;/opt/intel/oneapi/dpcpp-ct/2021.2.0/include;/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib;/opt/intel/oneapi/dev-utilities/2021.2.0/include;/opt/intel/oneapi/dal/2021.2.0/include;/opt/intel/oneapi/compiler/2021.2.0/linux/include;/opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp;/home/zaikunzhang/local/flang/lib/clang/15.0.3/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command(s):/usr/bin/make cmTC_58181/fast && /usr/bin/make -f CMakeFiles/cmTC_58181.dir/build.make CMakeFiles/cmTC_58181.dir/build]
  ignore line: [make[1]: Entering directory '/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp']
  ignore line: [Building C object CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o]
  ignore line: [/home/zaikunzhang/local/flang/bin/clang   -v -o CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
  ignore line: [clang version 15.0.3]
  ignore line: [Target: x86_64-unknown-linux-gnu]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /home/zaikunzhang/local/flang/bin]
  ignore line: [Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10]
  ignore line: [Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9]
  ignore line: [Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10]
  ignore line: [Candidate multilib: .]
  ignore line: [@m64]
  ignore line: [Selected multilib: .]
  ignore line: [@m64]
  ignore line: [ (in-process)]
  ignore line: [ "/home/zaikunzhang/local/flang/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -pic-is-pie -fveclib=PGMATH -mllvm -pass-remarks= -mllvm -pass-remarks-missed= -mllvm -pass-remarks-analysis= -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp -resource-dir /home/zaikunzhang/local/flang/lib/clang/15.0.3 -I/opt/intel/oneapi/vpl/2021.2.2/include -I/opt/intel/oneapi/tbb/2021.2.0/env/../include -I/opt/intel/oneapi/mpi/2021.2.0//include -I/opt/intel/oneapi/mkl/latest/include -I/opt/intel/oneapi/ipp/2021.2.0/include -I/opt/intel/oneapi/ippcp/2021.2.0/include -I/opt/intel/oneapi/ipp/2021.2.0/include -I/opt/intel/oneapi/dpl/2021.2.0/linux/include -I/opt/intel/oneapi/dpcpp-ct/2021.2.0/include -I/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib -I/opt/intel/oneapi/dev-utilities/2021.2.0/include -I/opt/intel/oneapi/dal/2021.2.0/include -I/opt/intel/oneapi/compiler/2021.2.0/linux/include -I/opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp -cxx-isystem /opt/intel/oneapi/clck/2021.2.2/include -internal-isystem /home/zaikunzhang/local/flang/lib/clang/15.0.3/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/tmp/flang-1671423317/flang-flang_20221103/runtime/libpgmath/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o -x c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
  ignore line: [clang -cc1 version 15.0.3 based upon LLVM 15.0.3 default target x86_64-unknown-linux-gnu]
  ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include"]
  ignore line: [ignoring nonexistent directory "/include"]
  ignore line: [ignoring duplicate directory "/opt/intel/oneapi/ipp/2021.2.0/include"]
  ignore line: [#include "..." search starts here:]
  ignore line: [#include <...> search starts here:]
  ignore line: [ /opt/intel/oneapi/vpl/2021.2.2/include]
  ignore line: [ /opt/intel/oneapi/tbb/2021.2.0/env/../include]
  ignore line: [ /opt/intel/oneapi/mpi/2021.2.0//include]
  ignore line: [ /opt/intel/oneapi/mkl/latest/include]
  ignore line: [ /opt/intel/oneapi/ipp/2021.2.0/include]
  ignore line: [ /opt/intel/oneapi/ippcp/2021.2.0/include]
  ignore line: [ /opt/intel/oneapi/dpl/2021.2.0/linux/include]
  ignore line: [ /opt/intel/oneapi/dpcpp-ct/2021.2.0/include]
  ignore line: [ /opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib]
  ignore line: [ /opt/intel/oneapi/dev-utilities/2021.2.0/include]
  ignore line: [ /opt/intel/oneapi/dal/2021.2.0/include]
  ignore line: [ /opt/intel/oneapi/compiler/2021.2.0/linux/include]
  ignore line: [ /opt/intel/oneapi/ccl/2021.2.0/include/cpu_gpu_dpcpp]
  ignore line: [ /home/zaikunzhang/local/flang/lib/clang/15.0.3/include]
  ignore line: [ /usr/local/include]
  ignore line: [ /usr/include/x86_64-linux-gnu]
  ignore line: [ /usr/include]
  ignore line: [End of search list.]
  ignore line: [Linking C executable cmTC_58181]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_58181.dir/link.txt --verbose=1]
  ignore line: [/home/zaikunzhang/local/flang/bin/clang     -v CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o  -o cmTC_58181 ]
  ignore line: [clang version 15.0.3]
  ignore line: [Target: x86_64-unknown-linux-gnu]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /home/zaikunzhang/local/flang/bin]
  ignore line: [Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10]
  ignore line: [Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9]
  ignore line: [Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10]
  ignore line: [Candidate multilib: .]
  ignore line: [@m64]
  ignore line: [Selected multilib: .]
  ignore line: [@m64]
  link line: [ "/usr/bin/ld" -pie -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_58181 /lib/x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/lib -L/usr/lib -L/opt/intel/oneapi/vpl/2021.2.2/lib -L/opt/intel/oneapi/tbb/2021.2.0/env/../lib/intel64/gcc4.8 -L/opt/intel/oneapi/mpi/2021.2.0//libfabric/lib -L/opt/intel/oneapi/mpi/2021.2.0//lib/release -L/opt/intel/oneapi/mpi/2021.2.0//lib -L/opt/intel/oneapi/mkl/latest/lib/intel64 -L/opt/intel/oneapi/ipp/2021.2.0/lib/intel64 -L/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64 -L/opt/intel/oneapi/ipp/2021.2.0/lib/intel64 -L/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib -L/opt/intel/oneapi/dal/2021.2.0/lib/intel64 -L/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin -L/opt/intel/oneapi/compiler/2021.2.0/linux/lib -L/opt/intel/oneapi/clck/2021.2.2/lib/intel64 -L/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64/crtn.o]
    arg [/usr/bin/ld] ==> ignore
    arg [-pie] ==> ignore
    arg [-zrelro] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_58181] ==> ignore
    arg [/lib/x86_64-linux-gnu/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/10/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/10] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/10]
    arg [-L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64]
    arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
    arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
    arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
    arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
    arg [-L/lib] ==> dir [/lib]
    arg [-L/usr/lib] ==> dir [/usr/lib]
    arg [-L/opt/intel/oneapi/vpl/2021.2.2/lib] ==> dir [/opt/intel/oneapi/vpl/2021.2.2/lib]
    arg [-L/opt/intel/oneapi/tbb/2021.2.0/env/../lib/intel64/gcc4.8] ==> dir [/opt/intel/oneapi/tbb/2021.2.0/env/../lib/intel64/gcc4.8]
    arg [-L/opt/intel/oneapi/mpi/2021.2.0//libfabric/lib] ==> dir [/opt/intel/oneapi/mpi/2021.2.0//libfabric/lib]
    arg [-L/opt/intel/oneapi/mpi/2021.2.0//lib/release] ==> dir [/opt/intel/oneapi/mpi/2021.2.0//lib/release]
    arg [-L/opt/intel/oneapi/mpi/2021.2.0//lib] ==> dir [/opt/intel/oneapi/mpi/2021.2.0//lib]
    arg [-L/opt/intel/oneapi/mkl/latest/lib/intel64] ==> dir [/opt/intel/oneapi/mkl/latest/lib/intel64]
    arg [-L/opt/intel/oneapi/ipp/2021.2.0/lib/intel64] ==> dir [/opt/intel/oneapi/ipp/2021.2.0/lib/intel64]
    arg [-L/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64] ==> dir [/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64]
    arg [-L/opt/intel/oneapi/ipp/2021.2.0/lib/intel64] ==> dir [/opt/intel/oneapi/ipp/2021.2.0/lib/intel64]
    arg [-L/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib] ==> dir [/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib]
    arg [-L/opt/intel/oneapi/dal/2021.2.0/lib/intel64] ==> dir [/opt/intel/oneapi/dal/2021.2.0/lib/intel64]
    arg [-L/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin] ==> dir [/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin]
    arg [-L/opt/intel/oneapi/compiler/2021.2.0/linux/lib] ==> dir [/opt/intel/oneapi/compiler/2021.2.0/linux/lib]
    arg [-L/opt/intel/oneapi/clck/2021.2.2/lib/intel64] ==> dir [/opt/intel/oneapi/clck/2021.2.2/lib/intel64]
    arg [-L/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp] ==> dir [/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp]
    arg [CMakeFiles/cmTC_58181.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/10/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/10] ==> [/usr/lib/gcc/x86_64-linux-gnu/10]
  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib64] ==> [/usr/lib64]
  collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
  collapse library dir [/lib/../lib64] ==> [/lib64]
  collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
  collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
  collapse library dir [/lib] ==> [/lib]
  collapse library dir [/usr/lib] ==> [/usr/lib]
  collapse library dir [/opt/intel/oneapi/vpl/2021.2.2/lib] ==> [/opt/intel/oneapi/vpl/2021.2.2/lib]
  collapse library dir [/opt/intel/oneapi/tbb/2021.2.0/env/../lib/intel64/gcc4.8] ==> [/opt/intel/oneapi/tbb/2021.2.0/lib/intel64/gcc4.8]
  collapse library dir [/opt/intel/oneapi/mpi/2021.2.0//libfabric/lib] ==> [/opt/intel/oneapi/mpi/2021.2.0/libfabric/lib]
  collapse library dir [/opt/intel/oneapi/mpi/2021.2.0//lib/release] ==> [/opt/intel/oneapi/mpi/2021.2.0/lib/release]
  collapse library dir [/opt/intel/oneapi/mpi/2021.2.0//lib] ==> [/opt/intel/oneapi/mpi/2021.2.0/lib]
  collapse library dir [/opt/intel/oneapi/mkl/latest/lib/intel64] ==> [/opt/intel/oneapi/mkl/latest/lib/intel64]
  collapse library dir [/opt/intel/oneapi/ipp/2021.2.0/lib/intel64] ==> [/opt/intel/oneapi/ipp/2021.2.0/lib/intel64]
  collapse library dir [/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64] ==> [/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64]
  collapse library dir [/opt/intel/oneapi/ipp/2021.2.0/lib/intel64] ==> [/opt/intel/oneapi/ipp/2021.2.0/lib/intel64]
  collapse library dir [/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib] ==> [/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib]
  collapse library dir [/opt/intel/oneapi/dal/2021.2.0/lib/intel64] ==> [/opt/intel/oneapi/dal/2021.2.0/lib/intel64]
  collapse library dir [/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin] ==> [/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin]
  collapse library dir [/opt/intel/oneapi/compiler/2021.2.0/linux/lib] ==> [/opt/intel/oneapi/compiler/2021.2.0/linux/lib]
  collapse library dir [/opt/intel/oneapi/clck/2021.2.2/lib/intel64] ==> [/opt/intel/oneapi/clck/2021.2.2/lib/intel64]
  collapse library dir [/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp] ==> [/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp]
  implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
  implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/10;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib/x86_64-linux-gnu;/lib;/usr/lib;/opt/intel/oneapi/vpl/2021.2.2/lib;/opt/intel/oneapi/tbb/2021.2.0/lib/intel64/gcc4.8;/opt/intel/oneapi/mpi/2021.2.0/libfabric/lib;/opt/intel/oneapi/mpi/2021.2.0/lib/release;/opt/intel/oneapi/mpi/2021.2.0/lib;/opt/intel/oneapi/mkl/latest/lib/intel64;/opt/intel/oneapi/ipp/2021.2.0/lib/intel64;/opt/intel/oneapi/ippcp/2021.2.0/lib/intel64;/opt/intel/oneapi/dnnl/2021.2.0/cpu_dpcpp_gpu_dpcpp/lib;/opt/intel/oneapi/dal/2021.2.0/lib/intel64;/opt/intel/oneapi/compiler/2021.2.0/linux/compiler/lib/intel64_lin;/opt/intel/oneapi/compiler/2021.2.0/linux/lib;/opt/intel/oneapi/clck/2021.2.2/lib/intel64;/opt/intel/oneapi/ccl/2021.2.0/lib/cpu_gpu_dpcpp]
  implicit fwks: []

@bryanpkc
Copy link
Collaborator

Sorry for the late reply. Did you try to install libstdc++ packages on your system? If it is a Ubuntu system, you should try:

sudo apt install libstdc++7-dev libstdc++9-dev

@zaikunzhang
Copy link
Author

Thank you @bryanpkc . The compilation works after I installed the latest libstdc++-dev. For Ubuntu 22.04, it is libstdc++-12-dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants