Article View: news.software.nntp
Article #73288Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Russ Allbery
Date: Tue, 21 Feb 2006 04:21
Date: Tue, 21 Feb 2006 04:21
33 lines
2753 bytes
2753 bytes
In news.software.nntp, Dave Uhring <daveuhring@yahoo.com> writes:
> On Mon, 20 Feb 2006 19:32:42 -0800, Russ Allbery wrote:
>> In this case, the CFLAGS aren't coming from him; they're coming from
>> Perl by way of 'perl -MExtUtils::Embed -e ccopts'. So it's hard for
>> him to fix this. You *can* edit Makefile.global after running
>> configure and change the setting of PERLINC to strip out the bad flags,
>> but other things can go wrong (such as a 64-bit Perl and a 32-bit gcc).
>> That's why I usually just say that building INN with embedded Perl
>> support using a compiler other than the one used for Perl isn't
>> supported. Debugging all the combinations is tricky.
> We don't know what arguments, if any, the OP used to the configure
> script.
It's an educated guess. I've been supporting INN for a long time.
> But it certainly is possible to remove any reference to "-xarch=v8" from
> any of his Makefiles.
It's probably only in one place, namely Makefile.global in the top level
of the source tree, in the PERLINC variable. That's the case if INN
picked it up from Perl.
This is a common problem when building programs that embed Perl on Solaris
with the default system Perl.
--
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:
<877j7p8hpf.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!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> <pan.2006.02.21.03.25.14.874495@yahoo.com> <87pslh8jz9.fsf@windlord.stanford.edu> <pan.2006.02.21.04.11.38.676450@yahoo.com>Show Full Headers
Complete Article Headers
Message-ID: <877j7p8hpf.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 20:21:48 -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> <pan.2006.02.21.03.25.14.874495@yahoo.com> <87pslh8jz9.fsf@windlord.stanford.edu> <pan.2006.02.21.04.11.38.676450@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!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp,comp.unix.solaris Organization: The Eyrie Lines: 32 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1140495709 21558 171.64.19.147 (21 Feb 2006 04:21:49 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:mSsKlu53WGYhD2zKSZP/H7ZX2zA=