[4058] in Athena Bugs

home help back first fref pref prev next nref lref last post

Profiling fails on 6.4R RT

daemon@ATHENA.MIT.EDU (John Carr)
Fri Jan 26 19:24:12 1990

To: bugs@ATHENA.MIT.EDU
Date: Fri, 26 Jan 90 19:23:51 EST
From: John Carr <jfc@ATHENA.MIT.EDU>

I sent in a bug report around Jan 1 that profiled binaries would fail to
link without duplicating libraries on the ld command line.  The fix that
was put into the release makes profiled programs link correctly, but
causes them to dump core in start.  This is not an acceptable tradeoff.
Here is a fix:

*** /minos/source/rt/lib/libc/ca/csu/moncrt0.ex	Tue Jan  2 13:56:13 1990
--- moncrt0.ex	Fri Jan 26 19:17:42 1990
***************
*** 19,24 ****
--- 19,25 ----
  .
  w
  q
+ "+"
  
  switch (`egrep 'globl.*(oVpcc|oVhc1|oVhc2)' $1 | awk '{print substr($2,4,3)}'`)
  

  --John Carr

home help back first fref pref prev next nref lref last post