Article View: news.software.nntp
Article #73298Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Daniel Rock
Date: Tue, 21 Feb 2006 18:19
Date: Tue, 21 Feb 2006 18:19
38 lines
2780 bytes
2780 bytes
Russ Allbery <rra@stanford.edu> wrote: > 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. Or you edit /usr/perl5/*/*-solaris-*/Config.pm and change cc='gcc' cccldflags='-fPIC' cpprun='gcc -E' cppstdin='gcc -E' ld='gcc' You can change more, but the remaing are just informative. This is for x86 but for SPARC the steps should be similar. I don't know is the -xarch=v8 is caused by Perl's Config.pm or by a previous ./configure process without config.cache being removed. -- Daniel
Technical Details
Message-ID:
<dtfljr$2k89$1@server.rock.net>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!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!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> <87u0at8ktt.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <dtfljr$2k89$1@server.rock.net> Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10 Date: Tue, 21 Feb 2006 18:19:39 +0000 From: "Daniel Rock" <v200608@deadcafe.de> 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> <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!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp,comp.unix.solaris Organization: Totally unorganized Lines: 37 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1140546542 03 9840 esh6vMk6TCdbSqqP 060221 18:29:02 X-Complaints-To: usenet-abuse@t-online.de X-ID: V9iQ0iZXZeS35H5rUiR+Hr9+bx1exJ6wppRJcHhX-jXb2qYL61dlEY