Subject: Re: port-sparc/2434: SPARC profiling kernels do not build
To: None <>
From: Paul Kranenburg <>
List: netbsd-bugs
Date: 05/19/1996 02:10:05
> 	ld: genassym.o: RRS text relocation at 0x2a60 for "mcount"

This error is the result of not specifying `-pg' when linking `genassym'.
Actually the Makefile should be tweaked to not compile genassym.c with `-pg'
in the first place.

> cc1: warnings being treated as errors
> machine/profile.h:69: warning: `_mcount' declared `static' but never defined
> *** Error code 1

This is another case of (mild) `gcc -Wall' braindamage. If it cared to inspect
the code after processing of the `asm' lines, it would note that `_mcount'
does get defined..