[24806] in SIPB bug reports
Re: gcc in gcc-3.4 locker problem on Athena 9.4 Suns
daemon@ATHENA.MIT.EDU (Alex T Prengel)
Mon May 9 00:58:54 2005
From alexp@MIT.EDU Mon May 09 04:58:54 2005
Return-Path: <alexp@MIT.EDU>
Delivered-To: bug-sipb-mtg@CHARON.mit.edu
Received: (qmail 19627 invoked from network); 9 May 2005 04:58:54 -0000
Received: from fort-point-station.mit.edu (18.7.7.76)
by charon.mit.edu with SMTP; 9 May 2005 04:58:54 -0000
Received: from central.mit.edu (CENTRAL.MIT.EDU [18.152.0.67])
by fort-point-station.mit.edu (8.12.4/8.9.2) with ESMTP id j494wj30023653;
Mon, 9 May 2005 00:58:45 -0400 (EDT)
Received: (from alexp@localhost) by central.mit.edu (8.12.9)
id j494fBWL027933; Mon, 9 May 2005 00:41:11 -0400 (EDT)
Message-Id: <200505090441.j494fBWL027933@central.mit.edu>
To: ghudson@MIT.EDU
cc: alexp@MIT.EDU, kenta@MIT.EDU, bug-sipb@MIT.EDU
Subject: Re: gcc in gcc-3.4 locker problem on Athena 9.4 Suns
Date: Mon, 09 May 2005 00:41:10 -0400
From: Alex T Prengel <alexp@MIT.EDU>
X-Spam-Score: -4.9
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
Sorry if you get this twice- I typoed the previous send. A.
>> I've run into problems using gcc/g++/g77 in the gcc-3.4 locker on an Athena
>> 9.4 alpha Sun.
>If you set the environment variable COMPILER_PATH to /usr/ccs/bin, does
>it work?
Nope- the same problems as before. Does that make it use the Sun linker instead
of the gnu linker? I think it's a compile-time problem, not a linking problem;
I should add that on Solaris 10, configure gives me the following warning that
I don't see on Solaris 9:
pthread.h present but cannot be used. Please report this error...
Here's the end of the Solaris 10 compilation log, where it bombs out:
I notice in about the second line below that it uses headers from the
gcc-3.4 locker that look like they were built on or for Solaris 2.9
(sparc-sun-solaris2.9); could that be part of the problem (maybe the
headers need to be rebuilt for Solaris 10?).
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../dotneato/gvrender -I../../pathplan -I../../graph -I../../cdt -I../../gd -I/usr/athena/include -I/usr/sfw/include -I/mit/sgi-desktop/include -O2 -Wall -MT arrows.lo -MD -MP -MF .deps/arrows.Tpo -c arrows.c -fPIC -DPIC -o .libs/arrows.o
In file included from /afs/sipb.mit.edu/project/gcc-3.4/arch/SunOS/go-SunOS-2005-04-05-082223/lib/gcc/sparc-sun-solaris2.9/3.4.3/include/sys/signal.h:44,
from /usr/include/signal.h:26,
from render.h:33,
from arrows.c:18:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was here
/usr/include/sys/siginfo.h:404: error: conflicting types for '__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was here/usr/include/sys/siginfo.h:420: error: conflicting types for '__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of '__prof' was here/usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl' was here/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from render.h:33,
from arrows.c:18:
/afs/sipb.mit.edu/project/gcc-3.4/arch/SunOS/go-SunOS-2005-04-05-082223/lib/gcc/sparc-sun-solaris2.9/3.4.3/include/sys/signal.h:96: error: parse error before "siginfo_t"
In file included from render.h:33,
from arrows.c:18:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
gmake[3]: *** [arrows.lo] Error 1