perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Braly, Larissa (NE)" <Larissa.Br...@GDIT.com>
Subject RE: mod_perl-2.0.8 make errors with ld: Unrecognized argument: +DD64
Date Sat, 30 Aug 2014 16:49:30 GMT
Good Morning,



I accidentally submitted my ticket before my confirmation message came back for joining this
mailing list so please forgive me if you have seen this once already.



I'm trying to compile mod_perl-2.0.8 with perl 5.20.0.  OS is HPUX 11.31 64 bit.



I'm running configure with the following for Mod_Perl with no issues:

perl Makefile.PL MP_APXS=/opt/hpws22/apache/bin/apxs MP_APR_CONFIG=/opt/hpws22/apache/bin/apr-1-config



I then run the make and get the following:



ld: Unrecognized argument: +DD64

Fatal error.

*** Error exit code 1



Stop.

*** Error exit code 1



I saw another ticket from way back regarding the same issue with DBD::Oracle (ticket 30971
- https://rt.perl.org/Public/Bug/Display.html?id=30971).  I have installd DBD::Oracle and
DBI with no issues.  With that said, this is the same exact issue that I'm having with Mod_Perl.
 Is there possibly a workaround or a known patch that I can apply for my Mod_Perl Issue? 
I did not see anything I could modify in Makefile.PL so I tried modifying the generated Makefile
and removing instances of +DD64, but that did not work.



LDFLAGS =  +DD64 -L/usr/local/lib -L/usr/lib/hpux64            was modified             to
LDFLAGS =  -L/usr/local/lib -L/usr/lib/hpux64



That didn't work so I also tried to remove it from the cc flags parameter as well which did
not work either.



CCFLAGS =    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
+DD64 +Z -I/usr/local/include   -DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE



Changed to



CCFLAGS =    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
+Z -I/usr/local/include   -DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE





Information for Perl is as follows:

perl -V

Summary of my perl5 (revision 5 version 20 subversion 0) configuration:



  Platform:

    osname=hpux, osvers=11.31, archname=IA64.ARCHREV_0-thread-multi-LP64

    uname='hp-ux cmos14 b.11.31 u ia64 1940667773 unlimited-user license '

    config_args='-Dprefix=/opt/perl5 -Duselargefiles -Duse64bitall -Duseithreads -Accflags=+Z
-A prepend:libswanted=cl pthread  -Ubincompat5005 -d'

    hint=recommended, useposix=true, d_sigaction=define

    useithreads=define, usemultiplicity=define

    use64bitint=define, use64bitall=define, uselongdouble=undef

    usemymalloc=n, bincompat5005=undef

  Compiler:

    cc='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
+DD64 +Z -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',

    optimize='+O2 +Onolimit',

    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 +Z -I/usr/local/include'

    ccversion='B3910B A.06.28', gccversion='', gccosandvers=''

    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321

    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16

    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8

    alignbytes=8, prototype=define

  Linker and Libraries:

    ld='/usr/bin/ld', ldflags =' +DD64 -L/usr/local/lib -L/usr/lib/hpux64'

    libpth=/usr/local/lib /usr/lib/hpux64 /lib /usr/lib /usr/ccs/lib

    libs=-lcl -lpthread -lnsl -lnm -ldl -lm -lsec -lc

    perllibs=-lcl -lpthread -lnsl -lnm -ldl -lm -lsec -lc

    libc=/usr/lib/hpux64/libc.so, so=so, useshrplib=false, libperl=libperl.a

    gnulibc_version=''

  Dynamic Linking:

    dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '

    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux64'





Characteristics of this binary (from libperl):

  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS

                        PERL_DONT_CREATE_GVSV

                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD

                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP

                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV

                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS

                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE

                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO

                        USE_PERL_ATOF USE_REENTRANT_API

  Built under hpux

  Compiled at Aug 29 2014 16:17:49

  %ENV:

    PERL5LIB="/usr/cmos/script"

  @INC:

    /usr/cmos/script

    /opt/perl5/lib/site_perl/5.20.0/IA64.ARCHREV_0-thread-multi-LP64

    /opt/perl5/lib/site_perl/5.20.0

    /opt/perl5/lib/5.20.0/IA64.ARCHREV_0-thread-multi-LP64

    /opt/perl5/lib/5.20.0

    .





This is an excerpt of the output from the make command:



  -c modperl_directives.c && mv modperl_directives.o modperl_directives.lo

        cc -I/rdbms2/hpux_webserver/mod_perl-2.0.8/src/modules/perl -I/rdbms2/hpux_webserver/mod_perl-2.0.8/xs
-I/opt/hpws22/apache/include -I/opt/hpws22/apache/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT
-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 +Z -I/usr/local/include -I/opt/perl5/lib/5.20.0/IA64.ARCHREV_0-thread-multi-LP64/CORE
-DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_HPUX_SOURCE +O2 +Onolimit +Z \

        -c modperl_flags.c && mv modperl_flags.o modperl_flags.lo "modperl_flags.c",
line 32: warning #2068-D: integer conversion resulted in a

          change of sign

      return -1;

             ^



"modperl_flags.c", line 82: warning #2068-D: integer conversion resulted in a

          change of sign

      return -1;

             ^



        cc -I/rdbms2/hpux_webserver/mod_perl-2.0.8/src/modules/perl -I/rdbms2/hpux_webserver/mod_perl-2.0.8/xs
-I/opt/hpws22/apache/include -I/opt/hpws22/apache/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT
-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 +Z -I/usr/local/include -I/opt/perl5/lib/5.20.0/IA64.ARCHREV_0-thread-multi-LP64/CORE
-DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_HPUX_SOURCE +O2 +Onolimit +Z \

        -c modperl_xsinit.c && mv modperl_xsinit.o modperl_xsinit.lo

        cc -I/rdbms2/hpux_webserver/mod_perl-2.0.8/src/modules/perl -I/rdbms2/hpux_webserver/mod_perl-2.0.8/xs
-I/opt/hpws22/apache/include -I/opt/hpws22/apache/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT
-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 +Z -I/usr/local/include -I/opt/perl5/lib/5.20.0/IA64.ARCHREV_0-thread-multi-LP64/CORE
-DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_HPUX_SOURCE +O2 +Onolimit +Z \

        -c modperl_exports.c && mv modperl_exports.o modperl_exports.lo

        rm -f mod_perl.so

        /usr/bin/ld -b +vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux64 \

         \

        mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo
modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo modperl_util.lo
modperl_io.lo modperl_io_apache.lo modperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo
modperl_global.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo
modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo modperl_constants.lo
modperl_apache_compat.lo modperl_error.lo modperl_debug.lo modperl_common_util.lo modperl_common_log.lo
modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo modperl_exports.lo
 -E -B deferred   +DD64 -L/usr/local/lib -L/usr/lib/hpux64  -L/opt/perl5/lib/5.20.0/IA64.ARCHREV_0-thread-multi-LP64/CORE
-lperl -lcl -lpthread -lnsl -lnm -ldl -lm -lsec -lc \

        -o mod_perl.so

ld: Unrecognized argument: +DD64

Fatal error.

*** Error exit code 1



Stop.

*** Error exit code 1



Stop.

#





I appreciate any help that you can offer.



Thank You in Advance,

Larissa




Mime
View raw message