perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fox, Michael" <Michael....@auspost.com.au>
Subject [mp2] make error (alpha platform) - fails on link
Date Wed, 04 Jan 2006 05:49:42 GMT

1. Problem Description:

  make fails at last step - link flags seem to be wrong:
  
  ld -shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib
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
-Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE
-L/usr/local/lib
/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/auto/DynaLoader/DynaLoader.a
-L/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE -lperl -lm -lutil  -o
mod_perl.so
ld:
Invalid flag usage:
Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE, -Wx,-option
must appear after -_SYSTYPE_SVR4

in src/modules/perl the Makefile has

MODPERL_LDOPTS =
-Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE
-L/usr/local/lib
/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/auto/DynaLoader/DynaLoader.a
-L/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE -lperl -lm -lutil



2. Used Components and their Configuration:

*** mod_perl version 2.000003

*** using
/u02/devel/src/cpan_dist/modules/modperl-2.0/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /u02/devel/apache2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /u02/devel/apache2/bin/httpd -V
Server version: Apache/2.2.0
Server built:   Dec 13 2005 14:54:04
Server's Module Magic Number: 20051115:0
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/u02/devel/apache2"
 -D SUEXEC_BIN="/u02/devel/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

*** /bin/ldd /u02/devel/apache2/bin/httpd

        Main  =>   /u02/devel/apache2/bin/httpd
        libaprutil-1.so.0  =>   /u02/devel/apache2/lib/libaprutil-1.so.0
        libexpat.so.0  =>   /u02/devel/apache2/lib/libexpat.so.0
        libiconv.so  =>   /usr/shlib/libiconv.so
        libapr-1.so.0  =>   /u02/devel/apache2/lib/libapr-1.so.0
        librt.so  =>   /usr/shlib/librt.so
        libm.so  =>   /usr/shlib/libm.so
        libc.so  =>   /usr/shlib/libc.so
        libexc.so  =>   /usr/shlib/libexc.so


*** (apr|apu)-config linking info

 -L/u02/devel/apache2/lib -laprutil-1 -lexpat -liconv
 -L/u02/devel/apache2/lib -lapr-1 -lrt -lm



*** /usr/users/dwadmin/perl/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=dec_osf, osvers=5.1b, archname=alpha-dec_osf
    uname='osf1 hx18.hq.auspost.com.au v5.1 2650 alpha '
    config_args='-Dprefix=/usr/users/dwadmin/perl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-std -D_INTRINSICS -fprm d -ieee -I/usr/local/include
-DLANGUAGE_C',
    optimize='-O4',
    cppflags='-std -D_INTRINSICS -fprm d -ieee -I/usr/local/include
-DLANGUAGE_C'
    ccversion='V6.5-011', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    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='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /var/shlib
    libs=-ldbm -ldb -lm -lutil
    perllibs=-lm -lutil
    libc=/usr/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE'
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std
-s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under dec_osf
  Compiled at Dec 13 2005 15:27:28
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf
    /usr/users/dwadmin/perl/lib/5.8.7
    /usr/users/dwadmin/perl/lib/site_perl/5.8.7/alpha-dec_osf
    /usr/users/dwadmin/perl/lib/site_perl/5.8.7
    /usr/users/dwadmin/perl/lib/site_perl/5.6.0
    /usr/users/dwadmin/perl/lib/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.10
ExtUtils::MakeMaker: 6.17
LWP                : 5.803, 5.805
mod_perl           : -
mod_perl2          : 2.000002


3. This is the core dump trace: (if you get a core dump):

  [CORE TRACE COMES HERE]

This report was generated by t/REPORT on Wed Jan  4 05:11:17 2006 GMT.


Australia Post is committed to providing our customers with excellent service. If we can assist
you in any way please telephone 13 13 18 or visit our website www.auspost.com.au

The information contained in this e-mail communication may be proprietary, confidential or
legally professionally privileged.  It is intended exclusively for the individual or entity
to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act
in reliance on or commercialise the information if you are authorised to do so. Australia
Post does not represent, warrant or guarantee the integrity of this e-mail communication has
been maintained nor that the communication is free of errors, virus or interference. 

If you are not the addressee or intended recipient please notify us by replying direct to
the sender and then destroy any electronic or paper copy of this message. Any views expressed
in this e-mail communication are taken to be those of the individual sender, except where
the sender specifically attributes those views to Australia Post and is authorised to do so.

Mime
View raw message