Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems compiling perl5.005_03 on AIX 4.3.2.0 #738

Closed
p5pRT opened this issue Oct 19, 1999 · 4 comments
Closed

problems compiling perl5.005_03 on AIX 4.3.2.0 #738

p5pRT opened this issue Oct 19, 1999 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 19, 1999

Migrated from rt.perl.org#1661 (status was 'resolved')

Searchable as RT1661$

@p5pRT
Copy link
Author

p5pRT commented Oct 19, 1999

From p.bunck@fss.uu.nl

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

@p5pRT
Copy link
Author

p5pRT commented Oct 19, 1999

From [Unknown Contact. See original ticket]

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
  .

@p5pRT
Copy link
Author

p5pRT commented Oct 19, 1999

From @gsar

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

@p5pRT
Copy link
Author

p5pRT commented Oct 20, 1999

From [Unknown Contact. See original ticket]

Thanks to helpfull email the problems are solved.

I am using the compiler​: ibmcxx.cmp 3.6.6.0 C IBM C
and C++ Compilers
When using optimalisation and this compiler, it generates core dumps.
Disabling the optimalisation solves the problem.

Greetings Peter Bunck

At 16​:16 19-10-99 +0200, you wrote​:

Your e-mail has been received by the Perl Bug Squashing Team.

Ticket ID '[ID 19991019.004]' has been assigned. Please include this
ticket ID
in the subject line of any followup messages related to this issue.

This is an automatic confirmation message.
--
Perl Bug Squashing Team
perlbug@​perl.org

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant