Re: 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]

 




Kai Ruottu kirjoitti 4.11.2020 klo 2.41:

This was forgotten in the error notifications :

Usage: ranlib [-t] [-X {32|64|32_64}] [--] file ...

When I looked in the 'gcc-9.3.0/configure' there was this :

*-*-aix4.[3456789]* | *-*-aix[56789].*)
    # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
    # commands to handle both 32-bit and 64-bit objects.  These flags are
    # harmless if we're using GNU nm or ar.
    extra_arflags_for_target=" -X32_64"
    extra_nmflags_for_target=" -B -X32_64"
    ;;

Why this wasn't forwarded into your Makefile(s) is one question... How did you configured your GCC build when the '*-*-aix[56789].*' template didn't match
to your $host/$target name?

The thread from August could give some hints...

http://gcc.1065356.n8.nabble.com/Compiling-GCC-10-2-on-AIX-7-2-td1728174.html




[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