Re: [BUG report] UML linux-2.6 latest BK doesn't compile

Blaisorblade
2005-02-08T17:38:23Z

On Tuesday 08 February 2005 19:29, Jeff Dike wrote:
> aia21@cam.ac.uk said:
> > arch/um/kernel/exec_kern.c:59: undefined reference to `__bb_init_func'
>
> The __bb_init_func export is to allow modules to be built with a
> gcov-enabled UML. I get a bunch of undefines in the module links when I
> get rid of it.
>
> This is probably being too intimate with libc, and yours probably doesn't
> have __bb_init_func.
>
> Try the patch below and see if it helps. Modules won't work, but you
> should get a working UML.

Why not simply disable CONFIG_GCOV for him, in this case?

Sorry for my previous answer, I was misleaded by the error message (which
*does not* make sense). And it's the first time anybody sees a such error
message, in my experience, so please post more details about your glibc (and
whether gcov is installed).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729