🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73286

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

#73286
From: Dave Uhring
Date: Tue, 21 Feb 2006 04:05
23 lines
2313 bytes
On Tue, 21 Feb 2006 03:51:07 +0000, Eric Edwards wrote:

> On Mon, 20 Feb 2006 21:25:18 -0600, Dave Uhring <daveuhring@yahoo.com> wrote:
>>On Tue, 21 Feb 2006 02:58:21 +0000, Eric Edwards wrote:
>>
>>> gcc -g -O2 -I../include   -xarch=v8 -D_TS_ERRNO  -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE   -c perl.c
                              ^^^^^^^^^
>>> gcc: language arch=v8 not recognized
>>> gcc: perl.c: linker input file unused because linking not done
>>
>>Fix your $CFLAGS
>>
>>export CFLAGS='-O2 -pipe -mcpu=ultrasparc'
> 
> Flags are accepted but the result is exactly the same.

That -xarch=v8 is causing your problem.  It is an acceptable argument to
Sun's compiler but it makes gcc puke.  Get rid of it.  Then start with a
freshly unpacked source tree or if that is too much then remove
config.cache, config.status and config.log from your existing source tree
before re-running the configure script.

Technical Details
Message-ID: <pan.2006.02.21.04.05.13.909066@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!news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!oleane.net!oleane!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!feeder.xsnews.nl!sn-ams-06!sn-xt-ams-08!sn-post-ams-01!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> <pan.2006.02.19.20.22.12.642489@yahoo.com> <slrndvl0ed.6p9.ese002@spica.exile.org> <pan.2006.02.21.03.25.14.874495@yahoo.com> <slrndvl3hb.9a5.ese002@spica.exile.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2006.02.21.04.05.13.909066@yahoo.com>
Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
Date: Mon, 20 Feb 2006 22:05:18 -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> <pan.2006.02.19.20.22.12.642489@yahoo.com> <slrndvl0ed.6p9.ese002@spica.exile.org> <pan.2006.02.21.03.25.14.874495@yahoo.com> <slrndvl3hb.9a5.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!news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!oleane.net!oleane!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!feeder.xsnews.nl!sn-ams-06!sn-xt-ams-08!sn-post-ams-01!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: 22