brain-dead cc profiler (cc -pg)

John R. F. McMacken mcmacken at watserv1.waterloo.edu
Thu Nov 9 07:17:37 AEST 1989


Has any sun wizard out there seen this problem with the native c complier
profiler option? The system is a Sun 3/60 running SunOS 4.0.1. The
following obscure program will illustrate:

diana% cat main.c
main() {printf("hello\n");}
diana% cc main.c
diana% ./a.out
hello
diana% cc -pg main.c
_edata: ld: user attempt to redefine loader-defined symbol
_end: user attempt to redefine loader-defined symbol
_etext: /lib/libc_p.a(des_crypt.o): multiply defined
diana% exit

Thanks for any help,

John McMacken			 mcmacken at watserv1.waterloo.{edu,cdn}
Electrical Engineering,		 mcmacken at watserv1.uwaterloo.ca
University of Waterloo,		 {backbone}!watmath!watserv1!mcmacken
Waterloo, Ontario, Canada
Waterloo, Ontario, Canada



More information about the Comp.sys.sun mailing list