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

Not OK: perl 5.00560 on powerpc-machten 4.1.1 (UNINSTALLED) [PATCH] #397

p5pRT opened this issue Aug 19, 1999 · 1 comment

Not OK: perl 5.00560 on powerpc-machten 4.1.1 (UNINSTALLED) [PATCH] #397

p5pRT opened this issue Aug 19, 1999 · 1 comment


Copy link

p5pRT commented Aug 19, 1999

Migrated from (status was 'resolved')

Searchable as RT1232$

Copy link

p5pRT commented Aug 19, 1999


1. MachTen uses PERL_SBRK_VIA_MALLOC and has the same problem with
  PERL_POLLUTE_MALLOC as OPENSTEP (see "[ID 19990816.005] Not OK​:
  perl 5.00560 on OPENSTEP-Mach 4_2" from Hans Mulder of Mon, 16
  Aug 1999 23​:23​:38 +0200. The attached tweak to Hans' patch
  (thanks Hans) applies a band-aid. I agree with Hans that the
  current mechanism is broken, but don't have time to fix it --
  holiday beckons. Sorry about that.

2. MachTen's shadow password file support is half-baked, my patch
  extends hints/ to disable its (attempted) support by

3. I see the glibc "FAILED at test 192" problem in pragma/warning.
  Since MachTen is pretty much unsupported these days, I don't
  hold out much hope of an improved glibc appearing in an official
  distribution any time soon, even after the library's maintainers
  have come up with the promised fix. So what are the chances
  of coding in a get-out for MachTen and similar sad cases shortly
  before perl 5.(​:?00)?6 hits the streets?

Inline Patch
--- perl.h~	Tue Aug 17 21:32:06 1999
+++ perl.h	Tue Aug 17 21:32:09 1999
@@ -487,7 +487,7 @@
 #  include "embed.h"

-#if defined(NeXT) || defined(__NeXT)
+#if defined(NeXT) || defined(__NeXT) || defined (__MACHTEN__)

--- hints/	Sun Aug  8 18:30:02 1999
+++ hints/	Sun Aug  8 18:30:13 1999
@@ -13,6 +13,9 @@
 #	Martijn Koster <>
 #	Richard Yeh <>
+# Disable shadow password file access: MT 4.1.1 has necessary library
+# functions, but not header file (or documentation)
+#                      -- Dominic Dunlop <> 990804
 # For now, explicitly disable dynamic loading -- MT 4.1.1 has it,
 # but these hints do not yet support it.
 # Define NOTEDEF_MACHTEN to undo gratuitous Tenon hack to signal.h.
@@ -36,6 +39,13 @@
 # Comments, questions, and improvements welcome!
+# MachTen 4.1.1's support for shadow password file access is incomplete:
+# disable its use completely.
 # MachTen 4.1.1 does support dynamic loading, but perl doesn't
 # know how to use it yet.
@@ -190,6 +200,11 @@

 select the default answer: vfork() works, and avoids expensive data
+You may also see "WHOA THERE!!!" messages concerning \$d_endspent,
+\$d_getspent, \$d_getspnam and \$d_setspent.  In all cases, select the
+default answer: MachTen's support for shadow password file access is
+incomplete, and should not be used.

 At the end of Configure, you will see a harmless message
Perl Info

Site configuration information for perl 5.00560:

Configured by domo at Wed Aug 18 21:41:39 WET DST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 60) configuration:
    osname=machten, osvers=4.1.1, archname=powerpc-machten
    uname='machten ppp100 4 1.1 powerpc '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
    cc='cc', optimize='-O2 -fomit-frame-pointer', gccversion=2.8.1
    cppflags='-DNOTDEF_MACHTEN -DREG_INFTY=2047'
    ccflags ='-DNOTDEF_MACHTEN -DREG_INFTY=2047'
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -Xlstack=1048576 -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-lndbm -lgdbm -ldb -ldl -lm -lc
    libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='', lddlflags=''

Locally applied patches:

@INC for perl 5.00560:

Environment for perl 5.00560:
    LANG (unset)
    LANGUAGE (unset)
    LOGDIR (unset)

    PERL_BADLANG (unset)

Dominic Dunlop

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

No branches or pull requests

1 participant