🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73275

Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10

#73275
From: Dave Uhring
Date: Sun, 19 Feb 2006 20:22
46 lines
3044 bytes
On Sun, 19 Feb 2006 20:00:41 +0000, Eric Edwards wrote:

> On Fri, 17 Feb 2006 22:38:22 -0800, Russ Allbery <rra@stanford.edu> wrote:

>>Wow, it sure sounds like Solaris 10 did something hideously stupid with
>>their headers.  I don't have a Solaris 10 system around to look at; what
>>sort of magic is one supposed to use to convince Solaris that when I ask
>>for a definition of bool, I really want a bool?
>>
>>It may be that this is a missing fixheaders rule in GCC.  (It may even be
>>one that's added in later versions.)
> 
> Unlike the older gcc that I build from source, the version shipped with
> Solaris 10 seems to use the system headers unmodified.

Solaris 10 03/05 shipped with gcc-3.4.3, not gcc-3.4.2.

Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
[/]# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
 --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
 --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
 --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

INN-2.4.2 builds without error after executing the compile script with no
additional arguments.

[inn-2.4.2]# gmake
cd include   && gmake all
gmake[1]: Entering directory `/tmp/inn-2.4.2/include'
../support/mksystem /usr/bin/awk config.h > inn/system.h
../support/mkversion '2.4.2' '' > inn/version.h
gmake[1]: Leaving directory `/tmp/inn-2.4.2/include'
cd lib       && gmake all
gmake[1]: Entering directory `/tmp/inn-2.4.2/lib'
gcc -O2 -pipe -march=pentium -I../include   -c setproctitle.c
gcc -O2 -pipe -march=pentium -I../include   -c buffer.c
gcc -O2 -pipe -march=pentium -I../include   -c cleanfrom.c
gcc -O2 -pipe -march=pentium -I../include   -c clientactive.c
gcc -O2 -pipe -march=pentium -I../include   -c clientlib.c
.....

Technical Details
Message-ID: <pan.2006.02.19.20.22.12.642489@yahoo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news.agarik.com!usenet-fr.net!fdn.fr!freenix!sn-xt-sjc-04!sn-xt-sjc-12!sn-xt-sjc-08!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu> <slrndvhjj9.t6c.ese002@spica.exile.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2006.02.19.20.22.12.642489@yahoo.com>
Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
Date: Sun, 19 Feb 2006 14:22:13 -0600
From: Dave Uhring <daveuhring@yahoo.com>
References: <slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu> <slrndvhjj9.t6c.ese002@spica.exile.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!news.agarik.com!usenet-fr.net!fdn.fr!freenix!sn-xt-sjc-04!sn-xt-sjc-12!sn-xt-sjc-08!sn-post-01!supernews.com!news.supernews.com!not-for-mail
Newsgroups: news.software.nntp,comp.unix.solaris
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@supernews.com
Lines: 45