[24802] in SIPB bug reports

home help back first fref pref prev next nref lref last post

gcc in gcc-3.4 locker problem on Athena 9.4 Suns

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Sun May 8 16:48:27 2005

From alexp@MIT.EDU Sun May 08 20:48:26 2005
Return-Path: <alexp@MIT.EDU>
Delivered-To: bug-sipb-mtg@CHARON.mit.edu
Received: (qmail 3376 invoked from network); 8 May 2005 20:48:26 -0000
Received: from biscayne-one-station.mit.edu (18.7.7.80)
  by charon.mit.edu with SMTP; 8 May 2005 20:48:26 -0000
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id j48KmNrQ005493;
	Sun, 8 May 2005 16:48:23 -0400 (EDT)
Received: from dit.mit.edu (DIT.MIT.EDU [18.152.0.60])
	(authenticated bits=56)
        (User authenticated as alexp@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.12.4/8.12.4) with ESMTP id j48KmGwU005339
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Sun, 8 May 2005 16:48:16 -0400 (EDT)
Received: (from alexp@localhost) by dit.mit.edu (8.12.9)
	id j48KmF7N020146; Sun, 8 May 2005 16:48:15 -0400 (EDT)
Message-Id: <200505082048.j48KmF7N020146@dit.mit.edu>
To: kenta@MIT.EDU
cc: alexp@MIT.EDU, bug-sipb@MIT.EDU
Subject: gcc in gcc-3.4 locker problem on Athena 9.4 Suns
Date: Sun, 08 May 2005 16:48:15 -0400
From: Alex T Prengel <alexp@MIT.EDU>
X-Spam-Score: -4.9
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42

Hi,

I've run into problems using gcc/g++/g77 in the gcc-3.4 locker on an Athena
9.4 alpha Sun.

As a test case, building the graphviz-2.2.1 package fails, with errors about
undefined symbols or parse errors (the exact point it bombs out and the error
reported changes as one fiddles around with various configure options, but
it always fails at some point). I put a copy of this in my Public folder-
graphviz-2.2.1.tar.gz if you want to experiment with it.

I set LDFLAGS to "-L/usr/athena/lib -L/usr/sfw/lib" and CPPFLAGS to
"-I/usr/athena/include -I/usr/sfw/lib", did "add -f gcc-3.4" and ran 
configure as:

./configure CC=gcc CFLAGS=-O2 followed by
gmake

I also found that:

Using the default gcc (/usr/sfw/bin/gcc) in the Athena 9.4 release works fine.

Using the gcc-3.4 locker gcc on an Athena 9.3 machine works fine.

In googling around a bit, I saw various comments that gcc needs to have
headers fixed to make it run on Solaris 10, with references to a script that's
supposed to do this. I'm not sure of exactly what needs to be done, or if a 
rebuild of gcc on Solaris 10 is necessary- or if the same installation of gcc
can work for both Solaris 9 and Solaris 10 machines.

                                                      Alex

home help back first fref pref prev next nref lref last post