Go

Go on z/OS

Go on z/OS

This group is a space for open discussions and sharing technical information, and also provides a connection to the wider Go open source community for anyone who is interested in Go on z/OS

 View Only
  • 1.  FSUM3224 xlclang: Fatal error in /usr/lpp/cbclib/xlclang/exe/clcdrvr: signal 9 received.

    Posted Thu May 02, 2024 12:42 PM

    Hi, I'm using go1.22.2 zos/s390x from a pax installation. My program requires some dependent packages. I'm getting the subject error in the go install step. Any idea what setup I'm missing. Thanks.

    go install github.com/swaggo/swag/cmd/swag@latest
    # runtime/cgo
    FSUM3224 xlclang: Fatal error in /usr/lpp/cbclib/xlclang/exe/clcdrvr: signal 9 received.
    2024/05/02 16:18:22 Running [/usr/lpp/cbclib/xlclang/bin/xlclang -D_AE_BIMODAL=1 -D_ALL_SOURCE -D_ENHANCED_ASCII_EXT=0xFFFFFFFF -D_Export=extern -D_LARGE_TIME_API -D_OPEN_MSGQ_EXT -D_OPEN_SYS_FILE_EXT=1 -D_OPEN_SYS_SOCK_IPV6  -DPATH_MAX=1023 -D__static_assert=static_assert -D_UNIX03_SOURCE  -D_UNIX03_THREADS -D_UNIX03_WITHDRAWN -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_XPLATFORM_SOURCE=1 -q64 -qascii -qgonumber -qlongname -qlibansi -qFLOAT=IEEE -qtune=10 -qarch=9 -qasm -qasmlib=sys1.maclib:sys1.modgen -qnorent -Wa,goff -qxclang=-dM -qxclang=-m64 -I $WORK/b105/ -O2 -Wall -Werror -qxclang=-fno-stack-protector -Wno-error=unused-command-line-argument -I . -qcsect=/u/wwcjfa/temp/cgo-gcc-input-1127085714.c50465245 -E ../../../temp/cgo-gcc-input-1127085714.c] has failed:exit status 251
    [clang-wrapper -E -dM -m64 -I $WORK/b105/ -O2 -Wall -Werror -fno-stack-protector -Wno-error=unused-command-line-argument -I . ../../../temp/cgo-gcc-input



    ------------------------------
    Jaime Anaya
    ------------------------------



  • 2.  RE: FSUM3224 xlclang: Fatal error in /usr/lpp/cbclib/xlclang/exe/clcdrvr: signal 9 received.

    Posted Thu May 02, 2024 01:28 PM

    Best I can tell, clcdrvr is an external reference to CLCDRVR that should exist in CBC.SCLCCMP. I can't find that member or the PDS anywhere on my system. Seems part of the xlclang installation is missing but I can't find any installation instructions that reference it. Please advice. Thanks.. 



    ------------------------------
    Jaime Anaya
    ------------------------------



  • 3.  RE: FSUM3224 xlclang: Fatal error in /usr/lpp/cbclib/xlclang/exe/clcdrvr: signal 9 received.

    Posted Thu May 02, 2024 02:47 PM

    This appears to be an issue with your xlclang installation. Can you verify that xlclang is functioning properly?
    Another option would be to upgrade to this compiler: https://www.ibm.com/docs/en/cloud-paks/z-modernization-stack/2023.4?topic=languages-cc-open-enterprise-zos



    ------------------------------
    Dustin Ward
    ------------------------------



  • 4.  RE: FSUM3224 xlclang: Fatal error in /usr/lpp/cbclib/xlclang/exe/clcdrvr: signal 9 received.

    Posted Fri May 03, 2024 05:54 PM

    Thanks Dustin. I got over the issue by following these instructions ( https://www.ibm.com/docs/en/cpp-oel-zos/2.0?topic=installing-configuring) to download and install C_C++_for_Open_Enterprise_Languages.nonsmpe.20230825.pax.Z



    ------------------------------
    Jaime Anaya
    ------------------------------