Hi, I am trying to build GCC version 8.5.0 on AIX 7.1. While I was able to build GCC, it couldn't generate 64-bit binaries. I attempted to rebuild it with 64-bit support, but I encountered the following issues. Could you please assist me? Configure Command Used : bash-5.1# /opt/build-tools/powerpc64/gcc-8.5.0/configure --prefix=/opt/lxag-build-tools/AIX/powerpc64/gcc --with-gmp-include=/gcc-build/gmp-build/ --with-gmp-lib=/gcc-build/gmp-build/.libs/ --with-mpfr=/gcc-build/mpfr --with-mpc=/gcc-build/mpc/ --enable-bootstrap --enable-threads=posix --enable-shared --enable-checking=yes,types --enable-languages=c,c++ --with-64-bit --disable-vtable-verify --enable-default-pie --enable-linker-build-id --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --with-64bit --with-aix-soname=svr4 --disable-bootstrap --with-endian=big --enable-host-shared --with-arch-64=powerpc64 --with-cpu=power9 --with-as=/usr/bin/as --with-ld=/usr/bin/ld 1. No Shared libs are generated. 1. Configuration for gcc fails config.status: executing gstdint.h commands 2. make[2]: Entering directory '/gcc-build/gcc-build/libdecnumber' 3. source='/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -fPIC -c /opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/decNumber.c 4. source='/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/decContext.c' object='decContext.o' libtool=no gcc -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -fPIC -c /opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/decContext.c 5. source='/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/dpd/decimal32.c' object='decimal32.o' libtool=no gcc -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -fPIC -c /opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/dpd/decimal32.c 6. source='/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/dpd/decimal64.c' object='decimal64.o' libtool=no gcc -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -fPIC -c /opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/dpd/decimal64.c 7. source='/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/dpd/decimal128.c' object='decimal128.o' libtool=no gcc -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I/opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber -I. -fPIC -c /opt/build-tools/powerpc64/gcc-8.5.0/libdecnumber/dpd/decimal128.c 8. rm -f libdecnumber.a 9. ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o 10. ranlib libdecnumber.a 11. make[2]: Leaving directory '/gcc-build/gcc-build/libdecnumber' 12. make[2]: Entering directory '/gcc-build/gcc-build/gcc' 13. make[2]: *** No rule to make target 'all'. Stop. 14. make[2]: Leaving directory '/gcc-build/gcc-build/gcc' 15. make[1]: *** [Makefile:4272: all-gcc] Error 2 16. make[1]: Leaving directory '/gcc-build/gcc-build' 17. make: *** [Makefile:909: all] Error 2 Configuring in ./gcc configure: creating cache ./config.cache checking build system type... powerpc-ibm-aix7.1.4.0 checking host system type... powerpc-ibm-aix7.1.4.0 checking target system type... powerpc-ibm-aix7.1.4.0 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no checking whether a default linker was specified... yes (/usr/bin/ld) checking whether a default assembler was specified... yes (/usr/bin/as) checking for powerpc-ibm-aix7.1.4.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for powerpc-ibm-aix7.1.4.0-gnatbind... no checking for powerpc-ibm-aix7.1.4.0-gnatmake... no checking whether compiler driver understands Ada... no checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to run the C preprocessor... gcc -E checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... unknown checking for _LARGE_FILES value needed for large files... 1 checking size of void *... 4 checking size of short... 2 checking size of int... 4 checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for long long int... yes checking for intmax_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for unsigned long long int... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for int64_t underlying type... long long checking for std::swap in <utility>... yes checking whether g++ is affected by placement new aliasing bug... no checking whether g++ supports -W... yes checking whether g++ supports -Wall... yes checking whether g++ supports -Wnarrowing... yes checking whether g++ supports -Wwrite-strings... yes checking whether g++ supports -Wcast-qual... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Woverloaded-virtual... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wc++-compat... yes checking whether g++ supports -pedantic -Wlong-long -Wvariadic-macros -Woverlength-strings... yes checking whether gcc supports -fno-exceptions... yes checking whether gcc supports -fno-rtti... yes checking whether gcc supports -fasynchronous-unwind-tables... yes checking valgrind.h usability... no checking valgrind.h presence... no checking for valgrind.h... no checking for VALGRIND_DISCARD in <valgrind/memcheck.h>... no checking for VALGRIND_DISCARD in <memcheck.h>... no checking for multiarch configuration... auto configure: WARNING: decimal float is not supported for this target, ignored configure: WARNING: fixed-point is not supported for this target, ignored checking whether make sets $(MAKE)... yes checking for gawk... nawk checking whether ln -s works... yes checking whether ln works... yes checking for powerpc-ibm-aix7.1.4.0-ranlib... ranlib checking for a BSD compatible install... /opt/build-tools/powerpc64/gcc-8.5.0/install-sh -c checking for cmp's capabilities... slowcompare checking for mktemp... no checking for makeinfo... /opt/build-tools/powerpc64/gcc-8.5.0/missing makeinfo --split-size=5000000 checking for modern makeinfo... no configure: WARNING: *** Makeinfo is missing or too old. *** Info documentation will not be built. checking for recent Pod::Man... yes checking for flex... flex checking for bison... bison checking for nm... nm checking for ar... ar checking for sphinx-build... texinfo checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for limits.h... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... yes checking for iconv.h... yes checking for fcntl.h... yes checking for ftw.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/time.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/param.h... yes checking for sys/times.h... yes checking for sys/stat.h... (cached) yes checking for direct.h... no checking for malloc.h... yes checking for langinfo.h... yes checking for ldfcn.h... yes checking for locale.h... yes checking for wchar.h... yes checking for thread.h... yes checking for pthread.h... yes checking for CHAR_BIT... yes checking whether byte ordering is bigendian... yes checking how to run the C++ preprocessor... g++ -E checking for unordered_map... yes checking for tr1/unordered_map... yes checking for ext/hash_map... yes checking dependency style of g++... gcc3 checking for collect2 libraries... -lld checking for library containing exc_resume... no checking for library containing kstat_open... no checking for library containing ldexp... none required checking for inttypes.h... yes checking for times... yes checking for clock... yes checking for kill... yes checking for getrlimit... yes checking for setrlimit... yes checking for atoq... no checking for popen... yes checking for sysconf... yes checking for strsignal... yes checking for getrusage... yes checking for nl_langinfo... yes checking for gettimeofday... yes checking for mbstowcs... yes checking for wcswidth... yes checking for mmap... yes checking for setlocale... yes checking for clearerr_unlocked... no checking for feof_unlocked... no checking for ferror_unlocked... no checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... no checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking for madvise... yes checking whether mbstowcs works... yes checking for ssize_t... yes checking for caddr_t... yes checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for pid_t... yes checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for LC_MESSAGES... yes checking for nl_langinfo and CODESET... yes checking whether basename is declared... no checking whether strstr is declared... yes checking whether getenv is declared... yes checking whether atol is declared... yes checking whether atoll is declared... yes checking whether asprintf is declared... no checking whether sbrk is declared... yes checking whether abort is declared... yes checking whether atof is declared... yes checking whether getcwd is declared... yes checking whether getwd is declared... yes checking whether madvise is declared... yes checking whether stpcpy is declared... yes checking whether strnlen is declared... yes checking whether strsignal is declared... yes checking whether strverscmp is declared... no checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking whether setenv is declared... yes checking whether unsetenv is declared... yes checking whether errno is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether vasprintf is declared... no checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether calloc is declared... yes checking whether free is declared... yes checking whether getopt is declared... yes checking whether clock is declared... yes checking whether getpagesize is declared... yes checking whether ffs is declared... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... no checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether getrlimit is declared... yes checking whether setrlimit is declared... yes checking whether getrusage is declared... yes checking whether ldgetname is declared... yes checking whether times is declared... yes checking whether sigaltstack is declared... yes checking for struct tms... yes checking for clock_t... yes checking for F_SETLKW... yes checking if mkdir takes one argument... no This target does not support --with-arch_64. Valid --with options are: abi cpu cpu_32 cpu_64 float tune tune_32 tune_64 advance_toolchain