develooper Front page | perl.perl5.porters | Postings from March 2008

Solaris build warnings

Thread Next
From:
Jerry D. Hedden
Date:
March 24, 2008 08:07
Subject:
Solaris build warnings
Message ID:
1ff86f510803240807x2c34a33cm17faca0dbddbd190@mail.gmail.com
I just tried building blead on a Solaris box.  I see the following
build warnings:

`sh  cflags "optimize='-g'" pp_ctl.o`  pp_ctl.c
          CCCMD =  /opt/SUNWspro/bin/cc -DPERL_CORE -c
-DPERL_PATCHNUM=33547 -D_REENTRANT -DPERL_DONT_CREATE_GVSV -DDEBUGGING
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g
"pp_ctl.c", line 1452: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 1551: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 2046: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 2168: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 2817: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 3013: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 3729: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 3796: warning: modification of typedef with "long" ignored
"pp_ctl.c", line 3847: warning: modification of typedef with "long" ignored
`sh  cflags "optimize='-g'" pp_sys.o`  pp_sys.c
          CCCMD =  /opt/SUNWspro/bin/cc -DPERL_CORE -c
-DPERL_PATCHNUM=33547 -D_REENTRANT -DPERL_DONT_CREATE_GVSV -DDEBUGGING
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g
"pp_sys.c", line 2238: warning: modification of typedef with "const" ignored
"pp_sys.c", line 2238: warning: modification of typedef with "int" ignored
"pp_sys.c", line 2649: warning: modification of typedef with "const" ignored
"pp_sys.c", line 2649: warning: modification of typedef with "int" ignored
"pp_sys.c", line 2726: warning: modification of typedef with "const" ignored
"pp_sys.c", line 2726: warning: modification of typedef with "int" ignored
"pp_sys.c", line 4033: warning: modification of typedef with "const" ignored
"pp_sys.c", line 4033: warning: modification of typedef with "int" ignored

Sorry, but I don't know how to fix them.  Let me know if more info is needed.

> uname -a
SunOS sundev3 5.9 Generic_118558-18 sun4u sparc SUNW,Sun-Fire

> ./perl -Ilib -V
Summary of my perl5 (revision 5 version 11 subversion 0 patch 33547)
configuration:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi-64int
    uname='sunos sundev3 5.9 generic_118558-18 sun4u sparc sunw,sun-fire '
    config_args='-de -Dusethreads=yes -Duse64bitint=yes -Dusedevel=yes
-Doptimize=-g -DDEBUGGING -A append:ccflags=-DPERL_DONT_CREATE_GVSV'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT
-DPERL_DONT_CREATE_GVSV -DDEBUGGING -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-D_REENTRANT -DPERL_DONT_CREATE_GVSV -DDEBUGGING
-I/usr/local/include'
    ccversion='Sun C 5.5 Patch 112760-09 2004/03/31', gccversion='',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib
-L/bb/util/common/studio8-v3/SUNWspro/prod/lib -L/usr/local/lib '
    libpth=/usr/lib /usr/ccs/lib
/bb/util/common/studio8-v3/SUNWspro/prod/lib /usr/local/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib
-L/bb/util/common/studio8-v3/SUNWspro/prod/lib -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_TRACK_MEMPOOL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
        DEVEL
  Built under solaris
  Compiled at Mar 24 2008 10:52:17
  %ENV:
    PERL5LIB="/bb/util/common/perlmod/lib/site_perl"
    PERLIO="perlio"
  @INC:
    lib
    /bb/util/common/perlmod/lib/site_perl
    /usr/local/lib/perl5/5.11.0/sun4-solaris-thread-multi-64int
    /usr/local/lib/perl5/5.11.0
    /usr/local/lib/perl5/site_perl/5.11.0/sun4-solaris-thread-multi-64int
    /usr/local/lib/perl5/site_perl/5.11.0
    .

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About