public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Gcc3.2 build error on Solaris 10
@ 2006-07-05  3:07 Dan Keating
  2006-07-05 16:34 ` Ian Lance Taylor
  2006-07-19 17:40 ` Kai Ruottu
  0 siblings, 2 replies; 7+ messages in thread
From: Dan Keating @ 2006-07-05  3:07 UTC (permalink / raw)
  To: gcc-help

Hi all,

I'm having problems building gcc3.2 on a solaris 10 system. Gcc2.95.3 builds
fine, but 3.2 and 3.2.3 both fall down with the following error:

/temp/bsm/gcc-sun10/gcc/xgcc -B/temp/bsm/gcc-sun10/gcc/
-B/lang/gcc/3.2/sparc-sun-solaris2.10/bin/
-B/lang/gcc/3.2/sparc-sun-solaris2.10/lib/ -isystem
/lang/gcc/3.2/sparc-sun-solaris2.10/include -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.2/libstdc++-v3/libmath -I.. -g -O2 -c
../../../../gcc-3.2/libstdc++-v3/libmath/signbit.c -o signbit.o
In file included from ../../../../gcc-3.2/libstdc++-v3/libmath/signbit.c:32:
../../../../gcc-3.2/libstdc++-v3/libmath/mathconf.h:84: conflicting types
for `nan'
/usr/include/iso/math_c99.h:145: previous declaration of `nan'

Configure is being run with parameters "--enable-languages=c++
--disable-shared".

Hopefully there's someone who can see a cause for this.

Regards,

Dan

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Gcc3.2 build error on Solaris 10
@ 2006-07-07  1:44 Bill McEnaney
  2006-07-07  1:56 ` Dan Keating
  0 siblings, 1 reply; 7+ messages in thread
From: Bill McEnaney @ 2006-07-07  1:44 UTC (permalink / raw)
  To: Dan Keating, 'Ian Lance Taylor', gcc-help

Hey, Folks,

I think my Sunblade 100, which runs Solaris 8, has built Gcc3.2.  So if
anybody wants me to try to build it, I'll be happy to do that.  Sadly,
the poor ol' guy is a slow poke, who probably thinks aslmost as slowly
as my spastic fingers type.  :)  Since Tamino, the workstation, has
tured six this month, he;s a senior citizen.  ;)

Bill

> Thanks for the reply.
> 
> Yes, I am aware what the the error itself is, but I was hoping this
was a known issue, with perhaps a work-around to go with it. Looks like
I'm out of luck on that front.
> 
> The gcc3.3 series does build on solaris10, so a move to another series
might be the way to go. However, when you have a legacy of commercial
products to support, it's not always easy to upgrade to the latest and
greatest :-)
> 
> Best of luck,
> 
> Dan 
> 
> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
> Behalf Of Ian Lance Taylor
> Sent: Thursday, July 06, 2006 2:34 AM
> To: Dan Keating
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: Gcc3.2 build error on Solaris 10
> 
> "Dan Keating" <dan.keating@preston.net> writes:
> 
> > I'm having problems building gcc3.2 on a solaris 10 system. Gcc2.95.3 
> > builds fine, but 3.2 and 3.2.3 both fall down with the following error:
> > 
> > /temp/bsm/gcc-sun10/gcc/xgcc -B/temp/bsm/gcc-sun10/gcc/ 
> > -B/lang/gcc/3.2/sparc-sun-solaris2.10/bin/
> > -B/lang/gcc/3.2/sparc-sun-solaris2.10/lib/ -isystem 
> > /lang/gcc/3.2/sparc-sun-solaris2.10/include -DHAVE_CONFIG_H -I.
> > -I../../../../gcc-3.2/libstdc++-v3/libmath -I.. -g -O2 -c 
> > ../../../../gcc-3.2/libstdc++-v3/libmath/signbit.c -o signbit.o In 
> > file included from
../../../../gcc-3.2/libstdc++-v3/libmath/signbit.c:32:
> > ../../../../gcc-3.2/libstdc++-v3/libmath/mathconf.h:84: conflicting 
> > types for `nan'
> > /usr/include/iso/math_c99.h:145: previous declaration of `nan'
> > 
> > Configure is being run with parameters "--enable-languages=c++ 
> > --disable-shared".
> > 
> > Hopefully there's someone who can see a cause for this.
> 
> Look at the two files in question:
> 
> gcc-3.2/libstdc++-v3/libmath/mathconf.h, line 84
> /usr/include/iso/math_c99.h, line 145
> 
> Most likely you will see conflicting types for nan.
> 
> Since gcc 3.2 is four years old and completely unsupported, your best bet
> for fixing this would be to edit mathconf.h to match your system header
> file.
> 
> Ian
> 
> 

________________________________________________________________
"Pro-choice?"  Then click here.
http://cathinsight.com/morality/saying.htm

"Men must look for the peace of Christ in the Kingdom of Christ... When
once men recognize, both in private and in public life, that Christ is
King, society will at last receive the great blessings of real liberty,
well-ordered discipline, peace and harmony."  Pope Pius XI

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Gcc3.2 build error on Solaris 10
@ 2006-07-07  2:19 Bill McEnaney
  0 siblings, 0 replies; 7+ messages in thread
From: Bill McEnaney @ 2006-07-07  2:19 UTC (permalink / raw)
  To: Dan Keating, 'Bill McEnaney', 'Ian Lance Taylor',
	gcc-help

Hi, Dan,

Although I haven't timed Tamino when he's been building Gcc, the poor
guy takes hours to do that.  I'll launch a build at midnight, only to
hear the ol' fellow still clinking, clanking, and clunking at about
11:00 the next morning.  But I still upgrade to the latest gcc each time
a new release come out.  I don't need the newest electronic gadget.  If
I did, Tamino would already be in computer heaven.  I do like to keep
the newest versions of my coompilers, though, especially the ones for
Prolog, Haskell, and Lisp.

Cheers,
Bill

> Hi Bill,
> 
> Thanks for the offer, but we've already confirmed GCC3.2 builds ok on
our Solaris 8/9 systems (we've got a few senior citizens of our own
doddering about the place). It seems Solaris10 has modified it's systems
headers sufficiently to break the GCC3.2.x build, but it would be nice
if someone out there with solaris10 could double check to see if it is
really Solaris10 or just our system. 
> 
> However, seeing as this release is years behind the current curve, it
couldbe a wake-up for us to update our compilers, as has already been
hinted. Painful, but perhaps time?
> 
> Cheers,
> 
> Dan
> 
> -----Original Message-----
> From: Bill McEnaney [mailto:bill@rkirkpat.net] 
> Sent: Friday, July 07, 2006 11:44 AM
> To: Dan Keating; 'Ian Lance Taylor'; gcc-help@gcc.gnu.org
> Subject: RE: Gcc3.2 build error on Solaris 10
> 
> Hey, Folks,
> 
> I think my Sunblade 100, which runs Solaris 8, has built Gcc3.2.  So if
> anybody wants me to try to build it, I'll be happy to do that.  Sadly, the
> poor ol' guy is a slow poke, who probably thinks aslmost as slowly as my
> spastic fingers type.  :)  Since Tamino, the workstation, has tured
six this
> month, he;s a senior citizen.  ;)
> 
> Bill
> 
> > Thanks for the reply.
> > 
> > Yes, I am aware what the the error itself is, but I was hoping this
> was a known issue, with perhaps a work-around to go with it. Looks
like I'm
> out of luck on that front.
> > 
> > The gcc3.3 series does build on solaris10, so a move to another series
> might be the way to go. However, when you have a legacy of commercial
> products to support, it's not always easy to upgrade to the latest and
> greatest :-)
> > 
> > Best of luck,
> > 
> > Dan
> > 
> > -----Original Message-----
> > From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] 
> > On Behalf Of Ian Lance Taylor
> > Sent: Thursday, July 06, 2006 2:34 AM
> > To: Dan Keating
> > Cc: gcc-help@gcc.gnu.org
> > Subject: Re: Gcc3.2 build error on Solaris 10
> > 
> > "Dan Keating" <dan.keating@preston.net> writes:
> > 
> > > I'm having problems building gcc3.2 on a solaris 10 system. 
> > > Gcc2.95.3 builds fine, but 3.2 and 3.2.3 both fall down with the
> following error:
> > > 
> > > /temp/bsm/gcc-sun10/gcc/xgcc -B/temp/bsm/gcc-sun10/gcc/ 
> > > -B/lang/gcc/3.2/sparc-sun-solaris2.10/bin/
> > > -B/lang/gcc/3.2/sparc-sun-solaris2.10/lib/ -isystem 
> > > /lang/gcc/3.2/sparc-sun-solaris2.10/include -DHAVE_CONFIG_H -I.
> > > -I../../../../gcc-3.2/libstdc++-v3/libmath -I.. -g -O2 -c 
> > > ../../../../gcc-3.2/libstdc++-v3/libmath/signbit.c -o signbit.o In 
> > > file included from
> ../../../../gcc-3.2/libstdc++-v3/libmath/signbit.c:32:
> > > ../../../../gcc-3.2/libstdc++-v3/libmath/mathconf.h:84: conflicting 
> > > types for `nan'
> > > /usr/include/iso/math_c99.h:145: previous declaration of `nan'
> > > 
> > > Configure is being run with parameters "--enable-languages=c++ 
> > > --disable-shared".
> > > 
> > > Hopefully there's someone who can see a cause for this.
> > 
> > Look at the two files in question:
> > 
> > gcc-3.2/libstdc++-v3/libmath/mathconf.h, line 84 
> > /usr/include/iso/math_c99.h, line 145
> > 
> > Most likely you will see conflicting types for nan.
> > 
> > Since gcc 3.2 is four years old and completely unsupported, your best 
> > bet for fixing this would be to edit mathconf.h to match your system 
> > header file.
> > 
> > Ian
> > 
> > 
> 
> ________________________________________________________________
> "Pro-choice?"  Then click here.
> http://cathinsight.com/morality/saying.htm
> 
> "Men must look for the peace of Christ in the Kingdom of Christ...
When once
> men recognize, both in private and in public life, that Christ is King,
> society will at last receive the great blessings of real liberty,
> well-ordered discipline, peace and harmony."  Pope Pius XI
> 
> 

________________________________________________________________
"Pro-choice?"  Then click here.
http://cathinsight.com/morality/saying.htm

"Men must look for the peace of Christ in the Kingdom of Christ... When
once men recognize, both in private and in public life, that Christ is
King, society will at last receive the great blessings of real liberty,
well-ordered discipline, peace and harmony."  Pope Pius XI

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-19 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05  3:07 Gcc3.2 build error on Solaris 10 Dan Keating
2006-07-05 16:34 ` Ian Lance Taylor
2006-07-06 23:53   ` Dan Keating
2006-07-19 17:40 ` Kai Ruottu
2006-07-07  1:44 Bill McEnaney
2006-07-07  1:56 ` Dan Keating
2006-07-07  2:19 Bill McEnaney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).