https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102961

            Bug ID: 102961
           Summary: Build fails for AIX 6.1
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: John.Parke at alebra dot com
  Target Milestone: ---

Trying to build gcc-11.2.0 on AIX 6.1 using the following configure options:

../gcc-11.2.0/configure --prefix=/opt/freeware/gcc-11.2.0 --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++
--enable-version-specific-runtime-libs --disable-nls --with-cloog=no
--with-ppl=no --disable-libstdcxx-pch --enable-__cxa_atexit --disable-werror
--disable-rpath --with-static-standard-libraries --enable-threads
--disable-shared --enable-static --enable-threads=aix
--enable-libstdcxx-threads --disable-bootstrap
--with-libiconv-prefix=/usr/local/lib

Output from the build says that 

>>cp_64: cannot stat '../pthread/libgcc/libgcc_s.a': A file or directory in the 
>>path name does not exist.

Below are last few lines of build output before the error:

gmake[3]: Entering directory
'/usr/gcc-11.2.0-build/powerpc-ibm-aix6.1.9.0/libgcc'
../../../gcc-11.2.0/libgcc/config/rs6000/t-slibgcc-aix:105: warning: overriding
recipe for target 'all'
Makefile:116: warning: ignoring old recipe for target 'all'
/bin/sh ../../../gcc-11.2.0/libgcc/../mkinstalldirs ../.././gcc
/opt/freeware/bin/install -c -m 644 libgcc.a ../.././gcc/
chmod 644 ../.././gcc/libgcc.a
ranlib ../.././gcc/libgcc.a
/opt/freeware/bin/install -c -m 644 libgcov.a ../.././gcc/
chmod 644 ../.././gcc/libgcov.a
ranlib ../.././gcc/libgcov.a
parts="crtcxa.o crtcxa_s.o crtdbase.o crtcxa_64.o crtcxa_64_s.o crtdbase_64.o";
                        \
for file in $parts; do                                  \
  rm -f ../.././gcc/$file;              \
  /opt/freeware/bin/install -c -m 644 $file ../.././gcc/;       \
  case $file in                                         \
    *.a)                                                \
      ranlib ../.././gcc/$file ;;       \
  esac;                                                 \
done
gmake[3]: Leaving directory
'/usr/gcc-11.2.0-build/powerpc-ibm-aix6.1.9.0/libgcc'
cp ../pthread/libgcc/libgcc_s.a ../../gcc/pthread/
>>cp_64: cannot stat '../pthread/libgcc/libgcc_s.a': A file or directory in the 
>>path name does not exist.
gmake[2]: *** [../../../gcc-11.2.0/libgcc/config/rs6000/t-slibgcc-aix:112: all]
Error 1
gmake[2]: Leaving directory
'/usr/gcc-11.2.0-build/powerpc-ibm-aix6.1.9.0/libgcc'
gmake[1]: *** [Makefile:14084: all-target-libgcc] Error 2
gmake[1]: Leaving directory '/usr/gcc-11.2.0-build'
gmake: *** [Makefile:974: all] Error 2

Not sure why this is occurring. I used the identical configure parameters for
gcc 10.2.0.

Any help would be greatly appreciated. If I need to submit more information,
let me know. This is not a high priority issue for me...

Reply via email to