FAQ
I am trying to get a working version of perl5.005_03 on a AIX 4.3.2.0.

Configuring was not a problem.
But when using make, I keep having problems.
The first problem occured when using miniperl on pod/pod2text.PL; it
resulted in a core dump. Calling it from the prompt solved this problem.

The second problem was that ext/Opcode/Makefile.PL would not generate a
Makefile. Temporary solved it by using Makefile.old. Here also a core dump.

And again problems this time when calling:
./miniperl -Ilib -e 'use AutoSplit; autosplit_lib_modules(@ARGV)' lib/*.pm
lib/*/*.pm
make: 1254-059 The signal code from the last command is 11.
(This signals a segmentation violation)

The core dump's are always generated by miniperl.
Examing the coredump shows :
Segmentation fault in Perl_scalar at line 785 in file "op.c" ($t1)
785 for (kid = cUNOPo->op_first; kid; kid = kid->op_sibling)


Is this a known problem?
Do you have any suggestions as how to tackle this problem; I don't really
have the time to start source debugging.

Many thanks in advancd,
Yours sincerly P. Bunck



Message from the perl bug squashing team at 'perlbug@perl.org'

Search Discussions

  • John L. Allen at Oct 19, 1999 at 2:58 pm

    On Tue, 19 Oct 1999, Peter Bunck wrote:

    I am trying to get a working version of perl5.005_03 on a AIX 4.3.2.0.

    Configuring was not a problem.
    But when using make, I keep having problems.
    I had no problems. I also have AIX 4320 and am using the

    vac.C 4.4.0.0 COMMITTED C for AIX Compiler

    C compiler. I used ./Configure -des. Below is the output of my perl -V

    John
    --
    Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    Platform:
    osname=aix, osvers=4.3.2.0, archname=aix
    uname='aix bemwi606 3 4 003555734c00 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    alignbytes=8, usemymalloc=n, prototype=define
    Linker and Libraries:
    ld='ld', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
    libc=, so=a, useshrplib=false, libperl=libperl.a
    Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc'


    Characteristics of this binary (from libperl):
    Built under aix
    Compiled at Sep 3 1999 15:34:07
    @INC:
    /prod/free/perl/lib/5.00503/aix
    /prod/free/perl/lib/5.00503
    /prod/free/perl/lib/site_perl/5.005/aix
    /prod/free/perl/lib/site_perl/5.005
    .
  • Gurusamy Sarathy at Oct 19, 1999 at 3:39 pm

    On Tue, 19 Oct 1999 16:16:02 +0200, Peter Bunck wrote:
    Configuring was not a problem.
    But when using make, I keep having problems.
    The first problem occured when using miniperl on pod/pod2text.PL; it
    resulted in a core dump. Calling it from the prompt solved this problem.

    The second problem was that ext/Opcode/Makefile.PL would not generate a
    Makefile. Temporary solved it by using Makefile.old. Here also a core dump.

    And again problems this time when calling:
    ./miniperl -Ilib -e 'use AutoSplit; autosplit_lib_modules(@ARGV)' lib/*.pm
    lib/*/*.pm
    make: 1254-059 The signal code from the last command is 11.
    (This signals a segmentation violation)
    Several people have reported success building 5.005_03 on AIX
    before. Try disabling optimizations in your C compiler (using
    ./Configure -Doptimize=-g ...) and see what happens.


    Sarathy
    gsar@activestate.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedOct 19, '99 at 2:16p
activeOct 19, '99 at 3:39p
posts3
users3
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase