Are you using dnf ? or manually installing packages ? If using dnf, then follow steps in the above blog. If not , get the gcc/libgcc rpms from AIX 7.2 repo (https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/) and reinstall it.
Original Message:
Sent: Mon January 08, 2024 08:17 AM
From: Diwakar Mishra
Subject: issue with Gcc10
Hi Ayappan,
I have reinstalled but still getting the same eror. Could you please suggest the what need to be check please.
------------------------------
Diwakar Mishra
------------------------------
Original Message:
Sent: Mon January 08, 2024 08:06 AM
From: Ayappan P
Subject: issue with Gcc10
Looks like the machine was migrated from AIX 7.1 to AIX 7.2. One has to reinstall the gcc, libgcc rpms after OS migration which is not done here I guess ( atleast for libgcc-10-2.ppc)
Please check this blog https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/01/10/aix-migration-with-dnf?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9
------------------------------
Ayappan P
Original Message:
Sent: Mon January 08, 2024 07:51 AM
From: Diwakar Mishra
Subject: issue with Gcc10
Hi Ayappan,
Please find the below the output.
root:/root>ls -l /opt/freeware/lib/libgcc_s.a
lrwxrwxrwx 1 root system 40 Jan 03 16:31 /opt/freeware/lib/libgcc_s.a -> gcc/powerpc-ibm-aix7.1.0.0/10/libgcc_s.a
root:/root>
root:/root>oslevel -s
7200-00-02-1614
root:/root>
------------------------------
Diwakar Mishra
Original Message:
Sent: Mon January 08, 2024 06:11 AM
From: Ayappan P
Subject: issue with Gcc10
Please check whether the symlink "/opt/freeware/lib/libgcc_s.a" is proper.
In AIX 7.3,
# ls -l /opt/freeware/lib/libgcc_s.a
lrwxrwxrwx 1 root system 40 Nov 30 2021 /opt/freeware/lib/libgcc_s.a -> gcc/powerpc-ibm-aix7.3.0.0/10/libgcc_s.a
In AIX 7.2,
# ls -l /opt/freeware/lib/libgcc_s.a
lrwxrwxrwx 1 root system 40 Jan 04 07:36 /opt/freeware/lib/libgcc_s.a -> gcc/powerpc-ibm-aix7.2.0.0/10/libgcc_s.a
------------------------------
Ayappan P
Original Message:
Sent: Mon January 08, 2024 05:34 AM
From: Diwakar Mishra
Subject: issue with Gcc10
Hi Ayappan,
Please find the below output. libgcc-10-2.ppc is installed.
root:/tmp/gcc>rpm -qa | grep -i gcc
libgcc-10-2.ppc
libgcc10-10.3.0-6.ppc
gcc10-cpp-10.3.0-6.ppc
gcc10-10.3.0-6.ppc
root:/tmp/gcc>
------------------------------
Diwakar Mishra
Original Message:
Sent: Mon January 08, 2024 04:47 AM
From: Ayappan P
Subject: issue with Gcc10
Please check whether you have "libgcc-10-2.ppc" rpm installed (not just libgcc10-10.3.0-6.ppc).
------------------------------
Ayappan P