Article View: news.software.nntp
Article #73282Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Russ Allbery
Date: Tue, 21 Feb 2006 03:14
Date: Tue, 21 Feb 2006 03:14
28 lines
2476 bytes
2476 bytes
In news.software.nntp, Eric Edwards <ese002@news9.exile.org> writes:
> It looks now like my original problem stems from configure data cached
> from runs where the old gcc was first in the path. I untared from the
> original sources in a different area, reconfigured and got past the bool
> problem.
Oh, that's interesting. Can anyone confirm that this problem triggers at
all even with a separately built gcc? Maybe it was always a red herring?
> Unfortunately, it now dies on a perl issue:
> 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
You have to build INN with the same compiler used to build the verison of
Perl that you're linking with if you use embedded Perl filters. It's
otherwise too complex to try to extract only the necessary C flags from
the Perl build. That means that if you want to build against Sun's Perl,
you have to use Sun's compiler.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87u0at8ktt.fsf@windlord.stanford.edu>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!news3.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <87u0at8ktt.fsf@windlord.stanford.edu> Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10 Date: Mon, 20 Feb 2006 19:14:22 -0800 From: Russ Allbery <rra@stanford.edu> 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> 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!news3.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp,comp.unix.solaris Organization: The Eyrie Lines: 27 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1140491664 21558 171.64.19.147 (21 Feb 2006 03:14:24 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.18 (linux) Cancel-Lock: sha1:7EMmo8EXMGUE32y/DJ1kACRz658=