rs6000-ibm-aix3.2.5 cross compiler install error

Jeffrey A Law law@cygnus.com
Sat Nov 22 00:42:00 GMT 1997


  In message < 9711191506.AA36818@earth.hekimian.com >you write:
  > I encountered the following error during a "make install" for
  > egcs-971105, host hppa1.0-hp-hpux10.10, target rs6000-ibm-aix3.2.5:
  > 
  > gmake[4]: Leaving directory `/fs1/tmp/egcs-971105/rs6000-ibm-aix3.2.5/soft-
  > float/libiberty'
  > /bin/ksh /usr/local/tmp/egcs-971105/install-sh -c -m 644 libiberty.a /usr/l
  > ocal/rs6000-ibm-aix3.2.5/lib/soft-float/libiberty.a.n
  > ( cd /usr/local/rs6000-ibm-aix3.2.5/lib/soft-float ; rs6000-ibm-aix3.2.5-ra
  > nlib libiberty.a.n )
  > rs6000-ibm-aix3.2.5-ranlib: libiberty.a.n: File format not recognized
  > gmake[3]: *** [install_to_tooldir] Error 1
  > gmake[3]: Leaving directory `/fs1/tmp/egcs-971105/rs6000-ibm-aix3.2.5/soft-
  > float/libiberty'
  > gmake[2]: *** [multi-do] Error 1
  > gmake[2]: Leaving directory `/fs1/tmp/egcs-971105/rs6000-ibm-aix3.2.5/libib
  > erty'
  > gmake[1]: *** [install_to_tooldir] Error 2
  > gmake[1]: Leaving directory `/fs1/tmp/egcs-971105/rs6000-ibm-aix3.2.5/libib
  > erty'
  > gmake: *** [install-target-libiberty] Error 2
  > 
  > The file in question is a native hpux library instead of an rs6000
  > library.  Trying "make -k install" the second time around, everything
  > else runs without errors.
Hmmm, that library should have been a aix library.

This would probably indicate that AR_FOR_TARGET was not correctly
set when doing the gcc build.

Jeff




More information about the Gcc-bugs mailing list