Subject: Re: port-alpha/32350: alpha libc/libkern fallout
To: None <port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/21/2005 15:50:01
The following reply was made to PR port-alpha/32350; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@netbsd.org
Subject: Re: port-alpha/32350: alpha libc/libkern fallout
Date: Wed, 21 Dec 2005 16:47:51 +0100

 On Wed, Dec 21, 2005 at 10:15:15AM -0500, Christos Zoulas wrote:
 > Hmm, it does not include -DGPROF... Ok, can you cvs update
 > /usr/src/common/lib/libc/gmon/mcount.c and try again?
 
 Does not compile:
 
 /usr/src/common/lib/libc/gmon/mcount.c:101: warning: no previous prototype for `
 mcount'
 /usr/src/common/lib/libc/gmon/mcount.c: In function `mcount':
 /usr/src/common/lib/libc/gmon/mcount.c:101: warning: `__used__' attribute ignore
 d
 /usr/src/common/lib/libc/gmon/mcount.c:101: warning: declaration of `mcount' sha
 dows a global declaration
 /usr/src/common/lib/libc/gmon/mcount.c:101: warning: shadowed declaration is her
 e
 /usr/src/common/lib/libc/gmon/mcount.c:121: warning: parameter names (without ty
 pes) in function declaration
 /usr/src/common/lib/libc/gmon/mcount.c:121: error: redeclaration of `mcount'
 /usr/src/common/lib/libc/gmon/mcount.c:101: error: `mcount' previously declared 
 here
 /usr/src/common/lib/libc/gmon/mcount.c:121: warning: declaration of `mcount' sha
 dows a parameter
 /usr/src/common/lib/libc/gmon/mcount.c:101: warning: shadowed declaration is her
 e
 /usr/src/common/lib/libc/gmon/mcount.c:121: error: parse error before "u_long"
 /usr/src/common/lib/libc/gmon/mcount.c:101: error: parm types given both in parm
 list and separately
 /usr/src/common/lib/libc/gmon/mcount.c:94: error: parameter name omitted
 /usr/src/common/lib/libc/gmon/mcount.c:94: error: parameter name omitted
 /usr/src/common/lib/libc/gmon/mcount.c:157: error: `frompc' undeclared (first us
 e in this function)
 /usr/src/common/lib/libc/gmon/mcount.c:157: error: (Each undeclared identifier i
 s reported only once
 /usr/src/common/lib/libc/gmon/mcount.c:157: error: for each function it appears 
 in.)
 /usr/src/common/lib/libc/gmon/mcount.c:183: error: `selfpc' undeclared (first us
 e in this function)
 *** [mcount.o] Error code 1