[comp.os.minix] CV problems on ST with large programs

jan@swivax.UUCP (Jan Wielemaker) (05/22/89)

A while ago I submitted an article to this newgroup describing problems
with the ST-1.1 standard ACK compiler on large programs.  I turns out
that if an executable has more than 4Kbytes of relocation info attached
to it it starts to act strange, usually crashing before reaching main().
Also, with these large programs `cv' sometimes crashes.  Enlarging the
memory areas for all passes of the compiler didn't help.  A few days
hacking indicates `cv' as the most likely cause of the trouble.

   - Anyone who can confirm similar problems with large programs (large
     means a lot of relocation, not so much big memory areas)?
   - Anyone has a patch for this?
   - Anyone who has source of `cv', so I can continue my research (I don't
     want to buy the entire compiler source for this)?

Any help is welcome!

	Jan

schilz@sbsvax.UUCP (Thomas Schilz) (05/26/89)

In article <1287@swisun.swivax.UUCP>, jan@swivax.UUCP (Jan Wielemaker) writes:
[Problems with `cv' (deleted).]
>    - Anyone who can confirm similar problems with large programs (large
>      means a lot of relocation, not so much big memory areas)?
[Rest deleted.]

Yes, I can confirm your problems. I encountered them when trying to compile
`clam', which I think is large in the sense of your definition. Running the
program immediately crashes the whole system! I get messages about three
signals, the first and third beeig send to the `clam'-process, the second
to pid 0.
For testing I inserted the following two lines as the first statements in
`main':
  fprintf (stderr, "clam started.\n");
  exit (0);
Result: see above.

I tried the old and the new `cv' (posted as binary by Johan W. Stevenson in
Nov 88). Makes no difference at all.

I hope that one day we will get Sozobon-C for Minix-ST. Does anyone know
about the status of the port? In the documentation (dated Oct 88) the authors
of Sozobon-C say that they are (or someone is) working on it.

  Thomas Schilz
-- 
 Thomas Schilz
 Universitaet des Saarlandes, FB 10 - Informatik (Dept. of CS)
 D-6600 Saarbruecken 11, W. Germany
 Phone: +49 681 302 2428 
 email:  ...!uunet!unido!sbsvax!schilz   or   schilz@sbsvax.UUCP