Path: utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!XX.LCS.MIT.EDU!JDM From: JDM@XX.LCS.MIT.EDU (Joshua D. Marantz) Newsgroups: comp.os.vms Subject: VAX C 2.2, VMS 4.6, VAXCRTL.EXE, and malloc() Message-ID: <12360314439.37.JDM@XX.LCS.MIT.EDU> Date: 21 Dec 87 20:35:05 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 19 We recently upgraded our OS to VMS 4.6, but left our c compiler at 2.2. Programs linked under 4.4 exhibit the following behaviour from malloc(). If there is no more memory available (not so strange on a microvax with a small disk), the routine signals %SYSTEM-F-RADRMOD, reserved addressing fault. If I relink using the V4.6 linkable library (VAXCRTL.OLB), malloc returns NULL as advertised. Is VMS no longer upward compatible? Is this related to our old compiler with the new operating system? Shouldn't I be able to run (& sell) programs linked on the previous (or 2nd previous) version of operating system and compiler? Or is this a bug in VAX C 2.2? Thanks, -Joshua Marantz Viewlogic Systems, Inc. -------