PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Brightman, Martin" <martin dot brightman at uk dot fid-intl dot com>
Subject: sybperl-2.17 Solaris 5.8 64 bit build issue (core dump)
Date: Jul 29 2004 10:00AM

Hello,

Installing Sybase::BCP 1.70 we get a core dump and Segmentation Fault during
the 'make test'. This is a 64 bit build on perl v5.8.0 / SunOS 5.8. Any
ideas?


********************************************************
Here are the error messages from the 'make test'

$ make test
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so
LD_RUN_PATH="/export/sybase/sybase12.5_64bit/OCS-12_5/lib"
/opt/SUNWspro/bin/cc  -L/export/sybase/sybase12.5_64bit/OCS-12_5/lib  -G
-xarch=v9 -L/usr/local/lib -L/usr/lib/sparcv9 CTlib.o  -o
../blib/arch/auto/Sybase/CTlib/CTlib.so
-L/export/sybase/sybase12.5_64bit/OCS-12_5/lib -lct64 -lcs64 -ltcl64
-lcomn64 -lintl64 -lblk64 -lm   
chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so
cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs
chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
rm -f ../blib/arch/auto/Sybase/DBlib/DBlib.so
LD_RUN_PATH="/export/sybase/sybase12.5_64bit/OCS-12_5/lib"
/opt/SUNWspro/bin/cc  -L/export/sybase/sybase12.5_64bit/OCS-12_5/lib  -G
-xarch=v9 -L/usr/local/lib -L/usr/lib/sparcv9 DBlib.o  -o
../blib/arch/auto/Sybase/DBlib/DBlib.so
-L/export/sybase/sybase12.5_64bit/OCS-12_5/lib -lsybdb64 -lm   
chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs
chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs
PERL_DL_NONLAZY=1 /opt/IEperl58/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_db_dblib...........ok

t/1_db_money...........ok

t/2_ct_ctlib...........ok

t/2_ct_cursor..........ok

t/2_ct_nsql............ok

t/2_ct_prepare.........ok

t/2_ct_xblk............dubious

        Test returned status 0 (wstat 139, 0x8b)
Executing /usr/bin/adb "/opt/IEperl58/bin/perl" "core" ($c)...
Ignoring unrecognized note segment entry 15.
Ignoring unrecognized note segment entry 14.
Ignoring unrecognized note segment entry 8.
core file = core -- program ``perl'' on platform SUNW,Ultra-Enterprise-10000
SIGSEGV: Segmentation Fault
Perl_newRV_noinc() + 8c
data address not found


t/3_bcp................ok

t/4_blk................ok

t/5_sybperl............ok

t/5_sybperl_dbmoney....ok

Failed Test   Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/2_ct_xblk.t    0   139    ??   ??       %  ??
Failed 1/11 test scripts, 90.91% okay. 0/194 subtests failed, 100.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

********************************************************
Perl version information

$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos reigate 5.8 generic_108528-15 sun4u sparc sunw,ultra-4 '
    config_args='-Dprefix=/opt/IEperl58 -Duse64bitall -de'
    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='/opt/SUNWspro/bin/cc', ccflags ='-xarch=v9 -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-xarch=v9 -I/usr/local/include'
    ccversion='Sun WorkShop 6 update 2 C 5.3 2001/05/15', 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='/opt/SUNWspro/bin/cc', ldflags =' -xarch=v9 -L/usr/local/lib
-L/usr/lib/sparcv9 '
    libpth=/usr/local/lib /usr/lib/sparcv9 /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/usr/lib/sparcv9/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 -xarch=v9 -L/usr/local/lib
-L/usr/lib/sparcv9'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under solaris
  Compiled at Nov 21 2002 11:03:07
  %ENV:
    PERL5LIB="/export/home/csbuild/perl/lib"
    PERL5_CPANPLUS_CONFIG="/export/home/csbuild/.cpanplus/config"
  @INC:
    /export/home/csbuild/perl/lib/sun4-solaris
    /export/home/csbuild/perl/lib
    /opt/IEperl58/lib/5.8.0/sun4-solaris
    /opt/IEperl58/lib/5.8.0
    /opt/IEperl58/lib/site_perl/5.8.0/sun4-solaris
    /opt/IEperl58/lib/site_perl/5.8.0
    /opt/IEperl58/lib/site_perl
    .
****************************************************************************






Regards, Martin Brightman
8-723-7442