Power Global

 View Only
  • 1.  GCC runtime issue on AIX server 7200-05-02-2114

    Posted Wed July 06, 2022 09:42 AM
    2022-07-06 08:01:14 Check | Current value | Pass value | Result
    2022-07-06 08:01:14 ------------------------------------|---------------------------|---------------------------|--------
    2022-07-06 08:01:14 CPU architecture | powerpc | powerpc | PASS
    2022-07-06 08:01:14 Operating system version | AIX 7.2 TL5 | AIX 7.2 TL3 | PASS
    2022-07-06 08:01:16 Processor mode | POWER 8 | POWER 8 | PASS
    2022-07-06 08:01:16 XL C/C++ Runtime | 16.1.0.7 | 16.1.0.3 | PASS
    2022-07-06 08:01:16 XLClang Runtime | 16.1.0.7 | 16.1.0.3 | PASS
    2022-07-06 08:01:17 GCC Runtime | gcc not found | 6.0.0 | FAIL***

    Installed packages 
    # rpm -qa |grep gcc
    libgcc6-6.3.0-2.ppc
    libgcc10-10.3.0-6.ppc


    please advice and any help appreciated

    ------------------------------
    Thambaiah Anandhan
    ------------------------------


  • 2.  RE: GCC runtime issue on AIX server 7200-05-02-2114

    Posted Fri July 08, 2022 09:30 AM
    You need to install the gcc package.
    For example: gcc-8-1.ppc

    The gcc packages are available on the AIX Toolbox for Open Source Software.

    --------------------
    Download :
    --------------------
    The AIX Toolbox team recommends using DNF to install and manage Open Source software packages and dependencies
    Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
    https://www.ibm.com/support/pages/node/6585774

    If you have rpm.rte < 4.13.0.4, see:
    --> Update rpm.rte to the latest version to resolve rpm errors and core dumps:
    https://www.ibm.com/support/pages/node/6263037

    --------------------
    Get Help:
    --------------------
    AIX Open Source Forum:
    https://community.ibm.com/community/user/power/communities/community-home?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9

    Read more about support:
     
    --> Get Help for AIX Toolbox for Open Source Software
    https://www.ibm.com/support/pages/node/6586968

    --> Resolving AIX Open Source Package and Application Issues:
    https://www.ibm.com/support/pages/node/706233

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 3.  RE: GCC runtime issue on AIX server 7200-05-02-2114

    Posted Tue July 12, 2022 09:18 AM
    thanks for your inputs. i did install the latest package and still no luck 

    # rpm -ql libstdc++10-10.3.0-6.ppc |grep libstdc++.a
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a-gdb.py
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/ppc64/libstdc++.a
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/ppc64/libstdc++.a-gdb.py
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/pthread/libstdc++.a
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/pthread/libstdc++.a-gdb.py
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/pthread/ppc64/libstdc++.a
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/pthread/ppc64/libstdc++.a-gdb.py
    root@asb0stl3:/uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0
    # echo $LIBPATH
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a:/opt/CA/SharedComponents/lib
    root@asb0stl3:/uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0
    # ./ace make registry global accept license
    exec(): 0509-036 Cannot load program mqsiexplain because of the following errors:
    0509-022 Cannot load module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a.
    0509-150 Dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-022 Cannot load module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6).
    0509-026 System error: A parameter must be a directory.
    0509-022 Cannot load module mqsiexplain.
    0509-150 Dependent module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a could not be loaded.
    exec(): 0509-036 Cannot load program mqsiexplain because of the following errors:
    0509-022 Cannot load module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a.
    0509-150 Dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-022 Cannot load module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6).
    0509-026 System error: A parameter must be a directory.
    0509-022 Cannot load module mqsiexplain.
    0509-150 Dependent module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a could not be loaded.
    exec(): 0509-036 Cannot load program mqsiexplain because of the following errors:
    0509-022 Cannot load module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a.
    0509-150 Dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-022 Cannot load module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6).
    0509-026 System error: A parameter must be a directory.
    0509-022 Cannot load module mqsiexplain.
    0509-150 Dependent module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a could not be loaded.
    exec(): 0509-036 Cannot load program mqsiexplain because of the following errors:
    0509-022 Cannot load module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a.
    0509-150 Dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-022 Cannot load module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6).
    0509-026 System error: A parameter must be a directory.
    0509-022 Cannot load module mqsiexplain.
    0509-150 Dependent module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a could not be loaded.
    exec(): 0509-036 Cannot load program mqsiexplain because of the following errors:
    0509-022 Cannot load module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a.
    0509-150 Dependent module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-022 Cannot load module /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a/libstdc++.a(libstdc++.so.6).
    0509-026 System error: A parameter must be a directory.
    0509-022 Cannot load module mqsiexplain.
    0509-150 Dependent module /uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0/server/lib/libnode.83.a could not be loaded.
    root@asb0stl3:/uts_staging/120ACEAIXPPC64-12.0.4.0/ace-12.0.4.0

    ------------------------------
    Thambaiah Anandhan
    ------------------------------



  • 4.  RE: GCC runtime issue on AIX server 7200-05-02-2114

    Posted Wed July 13, 2022 09:35 AM
    # echo $LIBPATH
    /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/libstdc++.a:/opt/CA/SharedComponents/lib

    You should unset your LIBPATH.
    First, libstdc++.a is a file, not a directory. Furthermore, setting explicit paths might cause other conflicts for the applications provided by AIX Toolbox.

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 5.  RE: GCC runtime issue on AIX server 7200-05-02-2114

    Posted Fri July 15, 2022 10:15 AM

    Hi ,

     

    Thanks for the inputs.

     

    Yes its was the lib issue when I set the libpath as recommended I am able to load the module.

     

    Thanks,

     

    Thamba

    Senior Systems Platform Engineer

     

    Mastercard

    | mobile 8043259832


     

    CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, any disclosure, distribution or other use of this e-mail message or attachments is prohibited. If you have received this e-mail message in error, please delete and notify the sender immediately. Thank you.