develooper Front page | perl.perl5.porters | Postings from November 2000

[ID 20001128.003] Not OK: perl v5.7.0 +DEVEL7891 on ppc-linux 2.2.17

Thread Next
From:
Dominic Dunlop
Date:
November 28, 2000 07:51
Subject:
[ID 20001128.003] Not OK: perl v5.7.0 +DEVEL7891 on ppc-linux 2.2.17
Message ID:
p04320400b649771b9797@[192.168.1.4]
This is a build failure report for perl from domo@computer.org,
generated with the help of perlbug 1.33 running under perl v5.7.0.


-----------------------------------------------------------------
[Please enter your report here]

Pretty much OK, except that the test for va_copy is still a little noisy:

./Configure: line 13634:  3991 Segmentation fault      (core dumped) 
./try 2>&1 >/dev/null
It seems that va_copy() or similar will be needed.

Here's a patch.  Yes, it uses an unsafe signal, but I think it's good
enough for this application and, as signal()'s required by ANSI C,
should be available everywhere.  Works on LinuxPPC; innocuous on
MachTen.

--- Configure.orig      Sun Nov 26 18:20:17 2000
+++ Configure   Tue Nov 28 16:10:38 2000
@@ -13585,6 +13585,8 @@
  case "$i_stdarg" in
  "$define")
         $cat >try.c <<EOCP
+#include <stdlib.h>
+#include <signal.h>
  #include <stdarg.h>
  #include <stdio.h>

@@ -13611,6 +13613,7 @@
  int
  main(int ac, char **av)
  {
+  signal(SIGSEGV, exit);
    myprintf("%s%cs all right, then\n", "that", '\'');

    exit(0);
  }

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
     category=install
     severity=none
---
Site configuration information for perl v5.7.0:

Configured by domo at Tue Nov 28 12:24:27 CET 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
   Platform:
     osname=linux, osvers=2.2.17, archname=ppc-linux
     uname='linux daventry.uunet.lu 2.2.17 #1 fri sep 8 12:04:50 edt 
2000 ppc unknown '
     config_args='-de -Dusedevel'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing'
     ccversion='', gccversion='2.95.2 19991024 (release/franzo)', 
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8
     alignbytes=8, 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 -lutil
     perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
     libc=/lib/libc-2.1.3.so, 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:
     DEVEL7891

---
@INC for perl v5.7.0:
     lib
     /usr/local/lib/perl5/5.7.0/ppc-linux
     /usr/local/lib/perl5/5.7.0
     /usr/local/lib/perl5/site_perl/5.7.0/ppc-linux
     /usr/local/lib/perl5/site_perl/5.7.0
     /usr/local/lib/perl5/site_perl
     .

---
Environment for perl v5.7.0:
     HOME=/home/domo
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
 
PATH=/sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/home/domo/bin:/usr/X11R6/bin:/home/domo/bin
     PERL_BADLANG (unset)
     SHELL=/bin/bash


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About