public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/102961] New: Build fails for AIX 6.1
@ 2021-10-27 13:52 John.Parke at alebra dot com
  2021-10-28  7:58 ` [Bug target/102961] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John.Parke at alebra dot com @ 2021-10-27 13:52 UTC (permalink / raw)
  To: gcc-bugs

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...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/102961] Build fails for AIX 6.1
  2021-10-27 13:52 [Bug other/102961] New: Build fails for AIX 6.1 John.Parke at alebra dot com
@ 2021-10-28  7:58 ` redi at gcc dot gnu.org
  2021-10-28 13:14 ` John.Parke at alebra dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2021-10-28  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Have you tried without the version specific runtime libs flag?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/102961] Build fails for AIX 6.1
  2021-10-27 13:52 [Bug other/102961] New: Build fails for AIX 6.1 John.Parke at alebra dot com
  2021-10-28  7:58 ` [Bug target/102961] " redi at gcc dot gnu.org
@ 2021-10-28 13:14 ` John.Parke at alebra dot com
  2021-11-04 16:34 ` John.Parke at alebra dot com
  2022-08-02  9:49 ` John.Parke at alebra dot com
  3 siblings, 0 replies; 5+ messages in thread
From: John.Parke at alebra dot com @ 2021-10-28 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from John Parke <John.Parke at alebra dot com> ---
I tried your suggestion and removed 
>> --enable-version-specific-runtime-libs flag:

../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++ --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/

This produced the same result:

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/102961] Build fails for AIX 6.1
  2021-10-27 13:52 [Bug other/102961] New: Build fails for AIX 6.1 John.Parke at alebra dot com
  2021-10-28  7:58 ` [Bug target/102961] " redi at gcc dot gnu.org
  2021-10-28 13:14 ` John.Parke at alebra dot com
@ 2021-11-04 16:34 ` John.Parke at alebra dot com
  2022-08-02  9:49 ` John.Parke at alebra dot com
  3 siblings, 0 replies; 5+ messages in thread
From: John.Parke at alebra dot com @ 2021-11-04 16:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from John Parke <John.Parke at alebra dot com> ---
I think the problem is caused by: 

>> 0711-738 ERROR: Input file /usr/gcc-11.2.0-build/./gcc/ppc64/crtcxa_s.o:

See below:
        XCOFF32 object files are not allowed in 64-bit mode.
# @multilib_flags@ is still needed because this may use
# /usr/gcc-11.2.0-build/./gcc/xgcc -B/usr/gcc-11.2.0-build/./gcc/
-B/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/bin/
-B/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/lib/ -isystem
/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/include -isystem
/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/sys-include   -fno-checking and
-O2  -g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-error=format-diag -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wno-error=format-diag -Wold-style-definition  -isystem ./include 
-mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector 
directly.
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/sh ../../../../gcc-11.2.0/libgcc/../mkinstalldirs ppc64
mkdir -p -- ppc64
if test svr4 != aix ; then /usr/gcc-11.2.0-build/./gcc/xgcc
-B/usr/gcc-11.2.0-build/./gcc/
-B/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/bin/
-B/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/lib/ -isystem
/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/include -isystem
/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/sys-include   -fno-checking -O2
 -g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-error=format-diag -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wno-error=format-diag -Wold-style-definition  -isystem ./include 
-mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector 
-shared -Wl,-bnortl -nodefaultlibs -Wl,-bE:libgcc.map -o shr.o -g -O2 -maix64
-B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o
_ucmpdi2_s.o _clear_cache_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o
_mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o
_clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o
_popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o
_powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o _mulsc3_s.o _muldc3_s.o
_mulxc3_s.o _multc3_s.o _divhc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o
_divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _clrsbdi2_s.o
_fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o
_fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o
_fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatditf_s.o
_floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _floatunditf_s.o
_fixsfti_s.o _fixdfti_s.o _fixxfti_s.o _fixtfti_s.o _fixunssfti_s.o
_fixunsdfti_s.o _fixunsxfti_s.o _fixunstfti_s.o _floattisf_s.o _floattidf_s.o
_floattixf_s.o _floattitf_s.o _floatuntisf_s.o _floatuntidf_s.o
_floatuntixf_s.o _floatuntitf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o
_udivdi3_s.o _umoddi3_s.o _udivmoddi4_s.o _udiv_w_sdiv_s.o _pack_sf_s.o
_unpack_sf_s.o _addsub_sf_s.o _mul_sf_s.o _div_sf_s.o _fpcmp_parts_sf_s.o
_compare_sf_s.o _eq_sf_s.o _ne_sf_s.o _gt_sf_s.o _ge_sf_s.o _lt_sf_s.o
_le_sf_s.o _unord_sf_s.o _si_to_sf_s.o _sf_to_si_s.o _negate_sf_s.o
_make_sf_s.o _sf_to_df_s.o _thenan_sf_s.o _sf_to_usi_s.o _usi_to_sf_s.o
_pack_df_s.o _unpack_df_s.o _addsub_df_s.o _mul_df_s.o _div_df_s.o
_fpcmp_parts_df_s.o _compare_df_s.o _eq_df_s.o _ne_df_s.o _gt_df_s.o _ge_df_s.o
_lt_df_s.o _le_df_s.o _unord_df_s.o _si_to_df_s.o _df_to_si_s.o _negate_df_s.o
_make_df_s.o _df_to_sf_s.o _thenan_df_s.o _df_to_usi_s.o _usi_to_df_s.o
ibm-ldouble_s.o enable-execute-stack_s.o unwind-dw2_s.o unwind-dw2-fde_s.o
unwind-sjlj_s.o unwind-c_s.o cxa_atexit_s.o cxa_finalize_s.o atexit_s.o
on_exit_s.o emutls_s.o libgcc.a -lc `case ppc64 in *pthread*) echo
-L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a ;; *) echo -lc ;; esac` ;
rm -f tmp-libgcc_s.a ; ar -X32_64 -X32_64 rc tmp-libgcc_s.a shr.o ; mv
tmp-libgcc_s.a libgcc_s.a ; rm -f shr.o ; fi ; if test aix != aix ; then case
ppc64 in *64*) shr='shr_64' ;; *) shr='shr' ;; esac ;
/usr/gcc-11.2.0-build/./gcc/xgcc -B/usr/gcc-11.2.0-build/./gcc/
-B/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/bin/
-B/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/lib/ -isystem
/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/include -isystem
/opt/freeware/gcc-11.2.0/powerpc-ibm-aix6.1.9.0/sys-include   -fno-checking -O2
 -g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-error=format-diag -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wno-error=format-diag -Wold-style-definition  -isystem ./include 
-mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector 
-shared -Wl,-G -nodefaultlibs -Wl,-bE:libgcc.map -o $shr.o -g -O2 -maix64 -B./
_muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o
_ucmpdi2_s.o _clear_cache_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o
_mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o
_clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o
_popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o
_powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o _mulsc3_s.o _muldc3_s.o
_mulxc3_s.o _multc3_s.o _divhc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o
_divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _clrsbdi2_s.o
_fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o
_fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o
_fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatditf_s.o
_floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _floatunditf_s.o
_fixsfti_s.o _fixdfti_s.o _fixxfti_s.o _fixtfti_s.o _fixunssfti_s.o
_fixunsdfti_s.o _fixunsxfti_s.o _fixunstfti_s.o _floattisf_s.o _floattidf_s.o
_floattixf_s.o _floattitf_s.o _floatuntisf_s.o _floatuntidf_s.o
_floatuntixf_s.o _floatuntitf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o
_udivdi3_s.o _umoddi3_s.o _udivmoddi4_s.o _udiv_w_sdiv_s.o _pack_sf_s.o
_unpack_sf_s.o _addsub_sf_s.o _mul_sf_s.o _div_sf_s.o _fpcmp_parts_sf_s.o
_compare_sf_s.o _eq_sf_s.o _ne_sf_s.o _gt_sf_s.o _ge_sf_s.o _lt_sf_s.o
_le_sf_s.o _unord_sf_s.o _si_to_sf_s.o _sf_to_si_s.o _negate_sf_s.o
_make_sf_s.o _sf_to_df_s.o _thenan_sf_s.o _sf_to_usi_s.o _usi_to_sf_s.o
_pack_df_s.o _unpack_df_s.o _addsub_df_s.o _mul_df_s.o _div_df_s.o
_fpcmp_parts_df_s.o _compare_df_s.o _eq_df_s.o _ne_df_s.o _gt_df_s.o _ge_df_s.o
_lt_df_s.o _le_df_s.o _unord_df_s.o _si_to_df_s.o _df_to_si_s.o _negate_df_s.o
_make_df_s.o _df_to_sf_s.o _thenan_df_s.o _df_to_usi_s.o _usi_to_df_s.o
ibm-ldouble_s.o enable-execute-stack_s.o unwind-dw2_s.o unwind-dw2-fde_s.o
unwind-sjlj_s.o unwind-c_s.o cxa_atexit_s.o cxa_finalize_s.o atexit_s.o
on_exit_s.o emutls_s.o libgcc.a -lc `case ppc64 in *pthread*) echo
-L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a ;; *) echo -lc ;; esac` ;
strip -X32_64 -e $shr.o ; { echo "#! libgcc_s.so.1($shr.o)" ; case ppc64 in
*64*) echo '# 64' ;; *) echo '# 32' ;; esac ; cat libgcc.map ; } > $shr.imp ;
rm -f tmp-libgcc_s.so.1 ; ar -X32_64 -X32_64 rc tmp-libgcc_s.so.1 $shr.imp
$shr.o ; mv tmp-libgcc_s.so.1 libgcc_s.so.1 ; rm -f libgcc_s.so ; ln -s
libgcc_s.so.1 libgcc_s.so ; rm -f $shr.imp $shr.o ; fi

>>ld: 0711-738 ERROR: Input file /usr/gcc-11.2.0-build/./gcc/ppc64/crtcxa_s.o:
        XCOFF32 object files are not allowed in 64-bit mode.
collect2: error: ld returned 8 exit status
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file shr.o.
mv_64: cannot stat 'tmp-libgcc_s.a': A file or directory in the path name does
not exist.
dest=../../.././gcc/include/tmp$$-unwind.h; \
cp unwind.h $dest; \
chmod a+r $dest; \

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/102961] Build fails for AIX 6.1
  2021-10-27 13:52 [Bug other/102961] New: Build fails for AIX 6.1 John.Parke at alebra dot com
                   ` (2 preceding siblings ...)
  2021-11-04 16:34 ` John.Parke at alebra dot com
@ 2022-08-02  9:49 ` John.Parke at alebra dot com
  3 siblings, 0 replies; 5+ messages in thread
From: John.Parke at alebra dot com @ 2022-08-02  9:49 UTC (permalink / raw)
  To: gcc-bugs

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

John Parke <John.Parke at alebra dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from John Parke <John.Parke at alebra dot com> ---
It appears from looking at config files, that AIX 6.1 is no longer supported...

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-02  9:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 13:52 [Bug other/102961] New: Build fails for AIX 6.1 John.Parke at alebra dot com
2021-10-28  7:58 ` [Bug target/102961] " redi at gcc dot gnu.org
2021-10-28 13:14 ` John.Parke at alebra dot com
2021-11-04 16:34 ` John.Parke at alebra dot com
2022-08-02  9:49 ` John.Parke at alebra dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).