Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 523 forks source link

500503 amdk2 rh5.2 sh Configure -des ---> lib/getopt.t segfaults #39

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

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

Searchable as RT840$

p5pRT commented 24 years ago

From ralph@dimp.com

The default Configure leads to an almost ok setup\, but four of the standard tests fail with seg faults. I've spent a few hours on this\, reading through INSTALL\, the linux and i386 hints files\, rerunning configure with slight variations\, fiddling with the tests\, and so on\, and have found nothing obvious or useful.

I've just run through the sequence again\, from the top\, for this report. Here's the results\, condensed​:

[ralph@​www perl5.005_03]$ make distclean

Looked ok.

[ralph@​www perl5.005_03]$ sh Configure -des

There were a few "NOT founds" displayed; it's not clear to me if they were significant. For example​:   dld.h NOT found   chsize() NOT found   sys/filio.h NOT found

[ralph@​www perl5.005_03]$ make

Appeared to run fine.

[ralph@​www perl5.005_03]$ make test

Ran 96% clean\, but turned up errors with 4 test scripts​:

io/dup lib/getopt lib/io-dup lib/io-xs

All have filestamps of july 29 98.

I ran the tests individually​:

[ralph@​www t]$ ./perl io/dup.t 1..6 ok 1 Segmentation fault (core dumped) [ralph@​www t]$ ./perl lib/getopt.t 1..11 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 Segmentation fault (core dumped) [ralph@​www t]$ ./perl lib/io_dup.t 1..6 ok 1 Segmentation fault (core dumped) [ralph@​www t]$ ./perl lib/io_xs.t 1..4 ok 1 ok 2 ok 3 ok 4 # Invalid argument Segmentation fault (core dumped) [ralph@​www t]$

That's it. Any ideas?



Site configuration information for perl 5.00503​:

Configured by ralph at Wed Jun 2 05​:50​:38 CDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:   Platform​:   osname=linux\, osvers=2.0.36\, archname=i586-linux   uname='linux www.intersection.com 2.0.36 #1 sun dec 20 14​:44​:01 cst 1998 i586 unknown '   hint=recommended\, useposix=true\, d_sigaction=define   usethreads=undef useperlio=undef d_sfio=undef   Compiler​:   cc='cc'\, optimize='-O2'\, gccversion=2.7.2.3   cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'   ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'   stdchar='char'\, d_stdstdio=define\, usevfork=false   intsize=4\, longsize=4\, ptrsize=4\, doublesize=8   d_longlong=define\, longlongsize=8\, d_longdbl=define\, longdblsize=12   alignbytes=4\, usemymalloc=n\, prototype=define   Linker and Libraries​:   ld='cc'\, ldflags =' -L/usr/local/lib'   libpth=/usr/local/lib /lib /usr/lib   libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt   libc=\, so=so\, useshrplib=false\, libperl=libperl.a   Dynamic Linking​:   dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags='-rdynamic'   cccdlflags='-fpic'\, lddlflags='-shared -L/usr/local/lib'

Locally applied patches​:  


@​INC for perl 5.00503​:   lib   /usr/lib/perl5/5.00503/i586-linux   /usr/lib/perl5/5.00503   /usr/lib/perl5/site_perl/5.005/i586-linux   /usr/lib/perl5/site_perl/5.005   .


Environment for perl 5.00503​:   HOME=/home/ralph   LANG (unset)   LANGUAGE (unset)   LD_LIBRARY_PATH (unset)   LOGDIR (unset)   PATH=/usr/local/bin​:/bin​:/usr/bin​:/usr/X11R6/bin   PERL_BADLANG (unset)   SHELL=/bin/bash

-- Ralph Mellor​: http​://www.dimp.com/diipeople.html 615.292.2917 x2 If I had my life over\, I'm pretty sure I'd believe in reincarnation.


Digital Impact​: http​://www.dimp.com/ 615.292.2917 or 877.DIMP.COM 2510 Essex Place\, Nashville TN 37212 Fax​: 615.269.9520

p5pRT commented 24 years ago

From [Unknown Contact. See original ticket]

Ralph\,

Nobody reported the same problems as you\, and others have successfully compiled Perl on RedHat Linux\, so I'll have to write this off as your having a dud installation of Linux.

I've marked the bug report as closed.

Cheers;

Nat