ld -z problem on ESIX Rev D

Arnold Robbins arnold at audiofax.com
Tue Oct 23 07:42:25 AEST 1990


Hello all.  We are using ESIX for our product development, and would like
to have dereferences through null pointers produce core dumps.  Makes it
easy to find bugs.

The -z flag to ld is supposed to do this for you, handy dandy flag that it
is.  However, under ESIX, revs C and D, it doesn't work.  A transcript showing
an attempt to use the -z flag is included below.

My question is two-fold.  A) is this specific to ESIX or generic to
System V.3.2 on the '386?  B) Does anyone have an easy fix to make ld -z
work?

(BTW, over all, we really like ESIX; the price/performance can't be beat!)

Thanks in Advance.
-------------------------
(Audfax is the sun I'm posting from.  Tiktok is my '386 box.)

Script started on Mon Oct 22 17:11:24 1990
audfax> rlogin tiktok
Password:

ESIX System 5.3.2 Rev.D
Copyright (C) 1984, 1986, 1987, 1988 AT&T
Copyright (C) 1987, 1988 Microsoft Corp.
Copyright (C) 1988, 1989, 1990 Everex Systems, Inc.
All Rights Reserved
Login last used: Sun Oct 21 14:30:37 1990
TERM=at386

tiktok> cd /tmp
tiktok> cat > main.c
main()
{
        char *p = 0;

        printf("*0 == %c\n", *p);
}
^D
tiktok> cc -z main.c
ld *default.bond.file* 2: bond address d0 for .text is not in configured memory
ld fatal: Error(s). No output written to a.out
tiktok>  ^D
Connection closed.
audfax> ^D

script done on Mon Oct 22 17:12:32 1990
-- 
Arnold Robbins				AudioFAX, Inc. | Laundry increases
2000 Powers Ferry Road, #200 / Marietta, GA. 30067     | exponentially in the
INTERNET: arnold at audiofax.com Phone:   +1 404 933 7612 | number of children.
UUCP:	  emory!audfax!arnold Fax-box: +1 404 618 4581 |   -- Miriam Robbins



More information about the Comp.unix.sysv386 mailing list