Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #38823] [BUG] solaris 10 w gcc

4 views
Skip to first unread message

Leopold Toetsch

unread,
Mar 31, 2006, 4:29:47 PM3/31/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Leopold Toetsch
# Please include the string: [perl #38823]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38823 >


I've tried:

$ perl Configure.pl --cc=gcc --link=gcc --ld=gcc --cxx=gcc
--verbose-step=gcc

and got:

Determining if your C compiler is actually gcc...gcc
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO
-I./include -c test.c
gcc: language arch=v8 not recognized

From perl -V:
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO',
optimize='-xO3 -xspace -xildoff',

That is, our config system is still using perl5 config vars blindly w/o
further inspection and ignores commandline option at least partially.

$ uname -a
SunOS z1.t2000.develooper.com 5.10 Generic_118833-03 sun4v sparc
SUNW,Sun-Fire-T200

$ perl -v
This is perl, v5.8.4 built for sun4-solaris-64int

$ cc -V
cc: Sun C 5.8 2005/10/13

$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


BTW compiling/testing Parrot w Sun cc 5.8 works fine (except some +-0
quirks in complex.t)

leo

0 new messages