Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 14:33:26 -0700
From:      Vicki Brown <vlb@ironport.com>
To:        questions@FreeBSD.org
Subject:   difficulties building gcc from ports collection
Message-ID:  <p06110404bd46ad0e1d10@[10.1.1.144]>

next in thread | raw e-mail | index | archive | help
uname -a
FreeBSD test21.eng 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Fri Dec  6 
13:38:10 PST 2002     root@:/usr/src/sys/compile/350-GODSPEED-4.7 
i386

I've been trying to build a documentation package called "synopsis" ( 
http://synopsis.fresco.org/index.html ). It requires gcc 3.x.

I have gcc version 2.95.4 20020320 [FreeBSD]
So, of course, I cd'd to /usr/ports/lang  to build a later version of gcc.
I  tried gcc33 first (to no success) and then gcc32 (different errors):

	cd /usr/ports/lang/ gcc33
	sudo make install
	Making GCC 3.2 for FreeBSD 4.7 elf      target i386-portbld-freebsd4.7
	>> Attempting to CVS checkout from
	:pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc.
	cvs [checkout aborted]: connect to subversions.gnu.org(199.232.41.3):2401
	failed: Operation timed out
	>> Couldn't CVS checkout gcc-3.2_20020518.
	>> Please try again later.
	*** Error code 1

	Stop in /usr/ports/lang/gcc33.

	cd ../gcc32
	sudo make install
	Making GCC 3.2 for FreeBSD 4.7 elf      target i386-portbld-freebsd4.7
	>> port_gcc32_2002-09-02.diff doesn't seem to exist in
	/usr/ports/distfiles/.
	>> Attempting to fetch from ftp://relay.nuxi.com/obrien/.
	fetch: port_gcc32_2002-09-02.diff: Undefined error: 0
	>> Attempting to fetch from
	ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
	fetch: port_gcc32_2002-09-02.diff: File unavailable (e.g., file not found,
	no access)
	>> Couldn't fetch it - please try to retrieve this
	>> port manually into /usr/ports/distfiles/ and try again.
	*** Error code 1

	Stop in /usr/ports/lang/gcc32.

then I tried gcc31 - I get a lot further...

but I get a lot of warnings:
	../../gcc-3.1.1/gcc/combine.c:10573: warning: comparison between 
signed and unsigned

still, it did eventually build and (with nudging) install.

Have people built 3.2?
Should I worry about the errors building 3.1?

-- 
- V.
Vicki Brown  <vlb@ironport.com>  (Jabber: vlbrown     Home: vlb@cfcl.com)
   Internal Documentation:
        Review, Edit, (Re)Write - Overviews, Specs, Web Pages, Process 
Descriptions
   About: http://www.cfcl.com/vlb/Jobweb
   Demo: http://catnip.ironport.com/~vlbrown/  (pointers to recent work)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06110404bd46ad0e1d10>