Subject: trouble compiling gcc3 on IRIX64 6.5.20m
To: None <tech-pkg@netbsd.org>
From: Ryan Cresawn <cresawn@chass.utoronto.ca>
List: tech-pkg
Date: 11/24/2003 16:27:32
Hi all,

I've posted here before but probably failed to provide enough detail.
I'll try to do a better job this time.  I'm working on an SGI Origin
200 with IRIX64 6.5.20m.  I've downloaded the pkgsrc bootstrap tar
file, compiled it, installed it, and used it to compile and install
several packages:

digest-20021220
pkg_install-info-4.5nb2
gettext-lib-0.11.5nb2
gmake-3.80nb2
bzip2-1.0.2
libslang-1.4.9nb1
gzip-base-1.2.4anb1
patch-2.5.4nb2
libtool-base-1.4.20010614nb16
jed-0.99.16nb1
libmm-1.2.2
expat-1.95.6nb1
audit-packages-1.25

So the problem is that I can't compile gcc3 and I really don't know
what to do to get it to compile.  I hope others have it working so
they can help me.  I used gcc 3.3 from SGI's Freeware website to
attempt this compile.

  # gcc --version
  gcc (GCC) 3.3

  # bmake
  
  ... successful compilation output removed ...

  gmake[1]: *** [fibheap.o] Error 1
  gmake[1]: Leaving directory
  /usr/pkgsrc/lang/gcc3/work/gcc-3.3/mips-sgi-irix6.5/libiberty'
  gmake: *** [all-target-libiberty] Error 2
  *** Error code 2

  Stop.
  bmake: stopped in /usr/pkgsrc/lang/gcc3
  *** Error code 1

  Stop.
  bmake: stopped in /usr/pkgsrc/lang/gcc3
  #

  # cat /etc/compiler.defaults
  -DEFAULT:abi=n32:isa=mips4:proc=r10k

  # cat /etc/mk.conf
  LOCALBASE=/usr/pkg
  FETCH_CMD=/usr/pkg/bin/ftp
  ACCEPTABLE_LICENSES+=fee-based-commercial-use

I'm at a loss for what to try next.  Any advice offered will be
greatly appreciated!

Ryan