Subject: Re: trouble compiling gcc3 on IRIX64 6.5.20m
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 11/24/2003 16:46:39
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Ryan Cresawn <cresawn@chass.utoronto.ca> wrote:
=20
> # gcc --version
> gcc (GCC) 3.3
>=20
> # bmake
> =20
> ... successful compilation output removed ...
>=20
> 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
Well, you also removed the actual error in the above. Allwe know is
that an error occurs, but not what the error is. ;-)
>=20
> Stop.
> bmake: stopped in /usr/pkgsrc/lang/gcc3
> *** Error code 1
>=20
> Stop.
> bmake: stopped in /usr/pkgsrc/lang/gcc3
> #
>=20
> # cat /etc/compiler.defaults
> -DEFAULT:abi=3Dn32:isa=3Dmips4:proc=3Dr10k
>=20
> # cat /etc/mk.conf
> LOCALBASE=3D/usr/pkg
> FETCH_CMD=3D/usr/pkg/bin/ftp
> ACCEPTABLE_LICENSES+=3Dfee-based-commercial-use
Your /etc/mk.conf should contain a few more things, among them
OPSYS=3DIRIX
ABI=3D32
(Well, ABI would have been 64 after bootstrap, but judging from your
/etc/compiler.defaults, you want to set it to 32.) After running
bootstrap, did you copy the example mk.conf file to /etc/mk.conf?
-Jan
--=20
A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools.
--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE/wnw/fFtkr68iakwRAlCxAKC+u1/qGacD1/rvgg4fF/CnWCMp1wCghUWk
fUiCRyhpid+eviaH18J12Zo=
=s8Fl
-----END PGP SIGNATURE-----
--17pEHd4RhPHOinZp--