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 14:50:02
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 15:48:04 +0100

 On Wed, Dec 21, 2005 at 09:31:34AM -0500, Christos Zoulas wrote:
 > Are both _mcount.S and mcount.c compiled into libc?
 
 The obj dir features mcount.o and _mcount.o, but nm says:
 
 # nm *mcount*.o
 0000000000000000 T _mcount
                  U mcount
 
 mcount.o:
 #
 
 
 The compiler invocation for mcount.c is (modulo line breaks):
 
 /usr/tools/bin/alpha--netbsd-gcc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-p
 rototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswi
 tch -Wshadow -Wcast-qual -Wwrite-strings -std=gnu99  -Werror -mieee    -D_LIBC -
 DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -I/usr/src/li
 b/libc -DHESIOD -DINET6 -DNLS -DYP -I. -I/usr/src/lib/libc/../../common/lib/libc
 /quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../..
 /common/lib/libc/arch/alpha/string -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 
 -DCITRUS -I/usr/src/sys -I/usr/src/lib/libc/stdlib -I/usr/src/libexec/ld.elf_so 
 -I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/usr/src/lib/libc -DPOSIX
 _MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -DALL_STATE -DUSG_COMPAT   -no
 stdinc -isystem /usr/exp/hosts/alpha/usr/include -c    /usr/src/common/lib/libc/
 gmon/mcount.c -o mcount.o.tmp
 
 
 Martin