public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "John.Parke at alebra dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/102961] Build fails for AIX 6.1
Date: Thu, 04 Nov 2021 16:34:01 +0000	[thread overview]
Message-ID: <bug-102961-4-8tXhp2izvl@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102961-4@http.gcc.gnu.org/bugzilla/>

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; \

  parent reply	other threads:[~2021-11-04 16:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 13:52 [Bug other/102961] New: " 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 [this message]
2022-08-02  9:49 ` John.Parke at alebra dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-102961-4-8tXhp2izvl@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).