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

Kai Ruottu kai.ruottu@wippies.com
Wed Nov 4 00:41:48 GMT 2020


Chris Pittsley kirjoitti 3.11.2020 klo 22.14:
> Error occurs in the while making libmpn, which is the first thing to
> be compiled:
>
> 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
>
> <clip>

Could you please check the sanity of '.libs/libmpn.a' with 'ar t' etc ?


> 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

Using 'ranlib' seems to be vain in AIX :

http://ps-2.kev009.com/tl/techlib/qna/wwqa/html/RISCO/rta38149.htm

So this seems to be some problem with the native AIX binutils...



More information about the Gcc-help mailing list