Subject: Re: compile failed on i386...
To: None <>
From: Garrett D'Amore <>
List: current-users
Date: 12/21/2005 08:43:30
I have the same problem on evbmips.  This is fallout from Christos
commit to merge libc and kernel common code.

I have been working with Christos on this since yesterday, as this is
the third error that has occurred as a result of the fallout.  Its very
surprising to me that this problem occurs with i386, as I'd have thought
that would have been one of the baseline builds that would have been
tested before committing such a large change.

Christos, can you please take a new workspace, and do a build against
that, fixing errors that are found until we can get a good build?

Otherwise, if these problems are going to take a while to find and fix,
can we back out the changes so that I can go back to being able to build

    -- Garrett

Kurt Schreiner wrote:

>...building libc (obj&dest _not_ cleaned out, tools _not_ rebuild)
>from source cvs updated some 15 minutes ago:
>    compile  libc/mcount.ln
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(101): formal parameter lacks name: param #1 [59]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(101): formal parameter lacks name: param #2 [59]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(101): only register valid as formal parameter storage class [9]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(101): declared argument _mcount is missing [53]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(101): warning: argument declared inline: _mcount [269]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(120): only register valid as formal parameter storage class [9]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(120): warning: function prototype parameters must have types [62]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(121): syntax error [249]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(121): declared argument frompc is missing [53]
>/u/NetBSD/src/common/lib/libc/gmon/mcount.c(121): declared argument selfpc is missing [53]
>*** Failed target:  mcount.ln
>*** Failed command: CC=/u/NetBSD/arch/i386/TOOLS/bin/i386--netbsdelf-gcc /u/NetBSD/arch/i386/TOOLS/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d /u/NetBSD/arch/i386/dest/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/u/NetBSD/src/lib/libc/include -I/u/NetBSD/src/lib/libc -DHESIOD -DINET6 -DNLS -DYP -I/u/NetBSD/src/lib/libc/../../common/lib/libc/quad -I/u/NetBSD/src/lib/libc/../../common/lib/libc/string -I/u/NetBSD/src/lib/libc/../../common/lib/libc/arch/i386/string -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS -I/u/NetBSD/src/sys -I/u/NetBSD/src/lib/libc/stdlib -I/u/NetBSD/src/libexec/ld.elf_so -I/u/NetBSD/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/u/NetBSD/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -DALL_STATE -DUSG_COMPAT -i /u/NetBSD/src/common/lib/libc/gmon/mcount.c
>*** Error code 1
>nbmake: stopped in /u/NetBSD/src/lib/libc

Garrett D'Amore                
Sr. Staff Engineer          Extending the Power of 64-bit UNIX Computing
Tadpole Computer, Inc.                             Phone: (951) 325-2134