Subject: i386/spl.S problem
To: None <email@example.com>
From: Jaka Jejcic <firstname.lastname@example.org>
Date: 05/13/2004 19:43:34
I'm trying to compile today's sources and kernel and the later always
fails in sys/arch/i386/i386/spl.S
The problem is undefined MCOUNT_ASM
Now MCOUNT_ASM is defined in sys/arch/i386/include/asm.h:
#define MCOUNT_ASM call _C_LABEL(__mcount)
#else /* __ELF__ */
#define MCOUNT_ASM call _C_LABEL(mcount)
#endif /* __ELF__ */
#endif /* GPROF */
I do not have GPROF defined and so MCOUNT_ASM never gets defined.
But spl.S wants:
#if defined(DDB) || defined(GPROF)
and since I do have DDB defined the error is here.
I think #ifdef GPROF in asm.h could be skipped and things should just work.
I'm I missing something?