Skip to content

fails to build #21

@netskink

Description

@netskink

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions