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

fails to build #21

Open
netskink opened this issue May 25, 2023 · 1 comment
Open

fails to build #21

netskink opened this issue May 25, 2023 · 1 comment

Comments

@netskink
Copy link

CC: xlclang - v2.4.1 XL C/C++
CXX: xlclang++ - v2.4.1 XL C/C++
LINK xlclang++ - v2.4.1 XL C/C++

cmake is from z/os open tools. version 3.24.2-zos

$ rm build.cache
$ ./build.sh
-- The CXX compiler identification is zOS 420.3.1
-- The C compiler identification is zOS 420.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /bin/xlclang
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /bin/xlclang++
-- Check for working CXX compiler: /bin/xlclang++ - broken
CMake Error at /z/xxxx/zopen/prod/CMake-heads.v3.24.2/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "/bin/xlclang++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /z/xxxx/zopen/dev/try2/xxx/zoslib/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/z/JD895801/zopen/boot/make/bin/make -f Makefile cmTC_3da59/fast && /z/JD895801/zopen/boot/make/bin/make  -f CMakeFiles/cmTC_3da59.dir/build.make CMakeFiles/cmTC_3da59.dir/build
    make[1]: Entering directory '/z/xxxx/zopen/dev/try2/xxx/zoslib/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_3da59.dir/testCXXCompiler.cxx.o
    /bin/xlclang++    -o CMakeFiles/cmTC_3da59.dir/testCXXCompiler.cxx.o -c /z/xxxx/zopen/dev/try2/xxxx/zoslib/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_3da59
    /z/xxxx/zopen/prod/CMake-heads.v3.24.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3da59.dir/link.txt --verbose=1
    /bin/xlclang++ CMakeFiles/cmTC_3da59.dir/testCXXCompiler.cxx.o -o cmTC_3da59
    FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of -o./cmTC_3da59.
    make[1]: *** [CMakeFiles/cmTC_3da59.dir/build.make:99: cmTC_3da59] Error 1
    make[1]: Leaving directory '/z/Jxxxxx/zopen/dev/try2/xxxx/zoslib/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_3da59/fast] Error 2
@netskink
Copy link
Author

After upgrading xlclang++ to 2.4.1, this still fails to build. Same error as before

$ ./build.sh -c -r -s -t
~/zopen/dev/try2/v8/third_party/zoslib/build ~/zopen/dev/try2/v8/third_party/zoslib
-- The CXX compiler identification is zOS 420.3.1
-- The C compiler identification is zOS 420.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /bin/xlclang
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /bin/xlclang++
-- Check for working CXX compiler: /bin/xlclang++ - broken
CMake Error at /z/jd895801/zopen/prod/CMake-heads.v3.24.2/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "/bin/xlclang++"

  is not able to compile a simple test program.
<stuff snipped>

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

1 participant