Cannot Compile GCC 9.3 on AIX 6.1 -- ar: 0707-108 File .libs/libmpn.a is not an archive file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to compile GCC 9.3 on AIX 6.1 TL09 SP09 (using GCC 9.3). It
could be a problem with the build environment, but I wanted to check
here first to see if there's some option I need to set or change I
could make to the Makefile that would get past this error. Google and
DuckDuckGo have been no help.

This happens with mostly default configure options: "../gcc/configure
--enable-languages=c,c++,go" and also with --disable-shared and --
with-aix-soname=svr4 set.

Any help would be appreciated, let me know if I can supply more
detail.

Error occurs in the while making libmpn, which is the first thing to
be compiled:

Making all in mpn
make[5]: Entering directory
'/brixhome/brixton/cpittsley/code/objdir/gmp/mpn'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -
I../../../gcc/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I../../../gcc/gmp -
DOPERATION_`echo fib_table | sed 's/_$//'` -DNO_ASM -g -c -o
fib_table.lo fib_table.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../gcc/gmp/mpn -I..
-D__GMP_WITHIN_GMP -I../../../gcc/gmp -DOPERATION_fib_table -DNO_ASM -
g -c fib_table.c -o fib_table.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -
I../../../gcc/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I../../../gcc/gmp -
DOPERATION_`echo mp_bases | sed 's/_$//'` -DNO_ASM -g -c -o
mp_bases.lo mp_bases.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../gcc/gmp/mpn -I..
-D__GMP_WITHIN_GMP -I../../../gcc/gmp -DOPERATION_mp_bases -DNO_ASM -g
-c mp_bases.c -o mp_bases.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -
I../../../gcc/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I../../../gcc/gmp -
DOPERATION_`echo add | sed 's/_$//'` -DNO_ASM -g -c -o add.lo add.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../gcc/gmp/mpn -I..
-D__GMP_WITHIN_GMP -I../../../gcc/gmp -DOPERATION_add -DNO_ASM -g -c
add.c -o add.o
[...]
/bin/sh ../libtool --tag=CC --mode=link gcc -DNO_ASM -g -static-
libstdc++ -static-libgcc -Wl,-bbigtoc -o libmpn.la fib_table.lo
mp_bases.lo add.lo add_1.lo add_n.lo sub.lo sub_1.lo sub_n.lo
cnd_add_n.lo cnd_sub_n.lo cnd_swap.lo neg.lo com.lo mul_1.lo
addmul_1.lo submul_1.lo add_err1_n.lo add_err2_n.lo add_err3_n.lo
sub_err1_n.lo sub_err2_n.lo sub_err3_n.lo lshift.lo rshift.lo
dive_1.lo diveby3.lo divis.lo divrem.lo divrem_1.lo divrem_2.lo
fib2_ui.lo mod_1.lo mod_34lsub1.lo mode1o.lo pre_divrem_1.lo
pre_mod_1.lo dump.lo mod_1_1.lo mod_1_2.lo mod_1_3.lo mod_1_4.lo
lshiftc.lo mul.lo mul_fft.lo mul_n.lo sqr.lo mul_basecase.lo
sqr_basecase.lo nussbaumer_mul.lo mulmid_basecase.lo toom42_mulmid.lo
mulmid_n.lo mulmid.lo random.lo random2.lo pow_1.lo rootrem.lo
sqrtrem.lo sizeinbase.lo get_str.lo set_str.lo scan0.lo scan1.lo
popcount.lo hamdist.lo cmp.lo zero_p.lo perfsqr.lo perfpow.lo gcd_1.lo
gcd.lo gcdext_1.lo gcdext.lo gcd_subdiv_step.lo gcdext_lehmer.lo
div_q.lo tdiv_qr.lo jacbase.lo jacobi_2.lo jacobi.lo get_d.lo
matrix22_mul.lo matrix22_mul1_inverse_vector.lo hgcd_matrix.lo
hgcd2.lo hgcd_step.lo hgcd_reduce.lo hgcd.lo hgcd_appr.lo
hgcd2_jacobi.lo hgcd_jacobi.lo mullo_n.lo mullo_basecase.lo sqrlo.lo
sqrlo_basecase.lo toom22_mul.lo toom32_mul.lo toom42_mul.lo
toom52_mul.lo toom62_mul.lo toom33_mul.lo toom43_mul.lo toom53_mul.lo
toom54_mul.lo toom63_mul.lo toom44_mul.lo toom6h_mul.lo toom6_sqr.lo
toom8h_mul.lo toom8_sqr.lo toom_couple_handling.lo toom2_sqr.lo
toom3_sqr.lo toom4_sqr.lo toom_eval_dgr3_pm1.lo toom_eval_dgr3_pm2.lo
toom_eval_pm1.lo toom_eval_pm2.lo toom_eval_pm2exp.lo
toom_eval_pm2rexp.lo toom_interpolate_5pts.lo toom_interpolate_6pts.lo
toom_interpolate_7pts.lo toom_interpolate_8pts.lo
toom_interpolate_12pts.lo toom_interpolate_16pts.lo invertappr.lo
invert.lo binvert.lo mulmod_bnm1.lo sqrmod_bnm1.lo div_qr_1.lo
div_qr_1n_pi1.lo div_qr_2.lo div_qr_2n_pi1.lo div_qr_2u_pi1.lo
sbpi1_div_q.lo sbpi1_div_qr.lo sbpi1_divappr_q.lo dcpi1_div_q.lo
dcpi1_div_qr.lo dcpi1_divappr_q.lo mu_div_qr.lo mu_divappr_q.lo
mu_div_q.lo bdiv_q_1.lo sbpi1_bdiv_q.lo sbpi1_bdiv_qr.lo
dcpi1_bdiv_q.lo dcpi1_bdiv_qr.lo mu_bdiv_q.lo mu_bdiv_qr.lo bdiv_q.lo
bdiv_qr.lo broot.lo brootinv.lo bsqrt.lo bsqrtinv.lo divexact.lo
bdiv_dbm1c.lo redc_1.lo redc_2.lo redc_n.lo powm.lo powlo.lo
sec_powm.lo sec_mul.lo sec_sqr.lo sec_div_qr.lo sec_div_r.lo
sec_pi1_div_qr.lo sec_pi1_div_r.lo sec_add_1.lo sec_sub_1.lo
sec_invert.lo trialdiv.lo remove.lo and_n.lo andn_n.lo nand_n.lo
ior_n.lo iorn_n.lo nior_n.lo xor_n.lo xnor_n.lo copyi.lo copyd.lo
zero.lo sec_tabselect.lo comb_tables.lo add_n_sub_n.lo
libtool: link: ar rc .libs/libmpn.a fib_table.o mp_bases.o add.o
add_1.o add_n.o sub.o sub_1.o sub_n.o cnd_add_n.o cnd_sub_n.o
cnd_swap.o neg.o com.o mul_1.o addmul_1.o submul_1.o add_err1_n.o
add_err2_n.o add_err3_n.o sub_err1_n.o sub_err2_n.o sub_err3_n.o
lshift.o rshift.o dive_1.o diveby3.o divis.o divrem.o divrem_1.o
divrem_2.o fib2_ui.o mod_1.o mod_34lsub1.o mode1o.o pre_divrem_1.o
pre_mod_1.o dump.o mod_1_1.o mod_1_2.o mod_1_3.o mod_1_4.o lshiftc.o
mul.o mul_fft.o mul_n.o sqr.o mul_basecase.o sqr_basecase.o
nussbaumer_mul.o mulmid_basecase.o toom42_mulmid.o mulmid_n.o mulmid.o
random.o random2.o pow_1.o rootrem.o sqrtrem.o sizeinbase.o get_str.o
set_str.o scan0.o scan1.o popcount.o hamdist.o cmp.o zero_p.o
perfsqr.o perfpow.o gcd_1.o gcd.o gcdext_1.o gcdext.o
gcd_subdiv_step.o gcdext_lehmer.o div_q.o tdiv_qr.o jacbase.o
jacobi_2.o jacobi.o get_d.o matrix22_mul.o
matrix22_mul1_inverse_vector.o hgcd_matrix.o hgcd2.o hgcd_step.o
hgcd_reduce.o hgcd.o hgcd_appr.o hgcd2_jacobi.o hgcd_jacobi.o
mullo_n.o mullo_basecase.o sqrlo.o sqrlo_basecase.o toom22_mul.o
toom32_mul.o toom42_mul.o toom52_mul.o toom62_mul.o toom33_mul.o
toom43_mul.o toom53_mul.o toom54_mul.o toom63_mul.o toom44_mul.o
toom6h_mul.o toom6_sqr.o toom8h_mul.o toom8_sqr.o
toom_couple_handling.o toom2_sqr.o toom3_sqr.o toom4_sqr.o
toom_eval_dgr3_pm1.o toom_eval_dgr3_pm2.o toom_eval_pm1.o
toom_eval_pm2.o toom_eval_pm2exp.o toom_eval_pm2rexp.o
toom_interpolate_5pts.o toom_interpolate_6pts.o
toom_interpolate_7pts.o toom_interpolate_8pts.o
toom_interpolate_12pts.o toom_interpolate_16pts.o invertappr.o
invert.o binvert.o mulmod_bnm1.o sqrmod_bnm1.o div_qr_1.o
div_qr_1n_pi1.o div_qr_2.o div_qr_2n_pi1.o div_qr_2u_pi1.o
sbpi1_div_q.o sbpi1_div_qr.o sbpi1_divappr_q.o dcpi1_div_q.o
dcpi1_div_qr.o dcpi1_divappr_q.o mu_div_qr.o mu_divappr_q.o mu_div_q.o
bdiv_q_1.o sbpi1_bdiv_q.o sbpi1_bdiv_qr.o dcpi1_bdiv_q.o
dcpi1_bdiv_qr.o mu_bdiv_q.o mu_bdiv_qr.o bdiv_q.o bdiv_qr.o broot.o
brootinv.o bsqrt.o bsqrtinv.o divexact.o bdiv_dbm1c.o redc_1.o
redc_2.o redc_n.o powm.o powlo.o sec_powm.o sec_mul.o sec_sqr.o
sec_div_qr.o sec_div_r.o sec_pi1_div_qr.o sec_pi1_div_r.o sec_add_1.o
sec_sub_1.o sec_invert.o trialdiv.o remove.o and_n.o andn_n.o nand_n.o
ior_n.o iorn_n.o nior_n.o xor_n.o xnor_n.o copyi.o copyd.o zero.o
sec_tabselect.o comb_tables.o add_n_sub_n.o
libtool: link: ranlib .libs/libmpn.a
ar: 0707-108 File .libs/libmpn.a is not an archive file.
ranlib: 0654-601 Execution of ar failed
Usage: ranlib [-t] [-X {32|64|32_64}] [--] file ...
make[5]: *** [Makefile:477: libmpn.la] Error 1
make[5]: Leaving directory
'/brixhome/brixton/cpittsley/code/objdir/gmp/mpn'
make[4]: *** [Makefile:954: all-recursive] Error 1
make[4]: Leaving directory
'/brixhome/brixton/cpittsley/code/objdir/gmp'
make[3]: *** [Makefile:773: all] Error 2
make[3]: Leaving directory
'/brixhome/brixton/cpittsley/code/objdir/gmp'
make[2]: *** [Makefile:5721: all-stage1-gmp] Error 2
make[2]: Leaving directory '/brixhome/brixton/cpittsley/code/objdir'
make[1]: *** [Makefile:24411: stage1-bubble] Error 2
make[1]: Leaving directory '/brixhome/brixton/cpittsley/code/objdir'
make: *** [Makefile:1003: all] Error 2

-- 
Chris Pittsley
Engineering and Support
Alebra Technologies, Inc.
508-306-1332

This email, including attachments, may include confidential and/or
proprietary information and may be used only by the person or entity
to which it is addressed. If the reader of this email is not the
intended recipient, or his or her authorized agent, the reader is
hereby notified that any dissemination, distribution or copying of
this email is prohibited. If you have received this email in error
please notify the sender by replying to this message and delete this
email immediately




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux