Re: [origin tree build failure] [PATCH] Fix:amd64_edac.c:(.text+0x3e9491): undefined reference to `amd_decode_nb_mce'

From: Borislav Petkov
Date: Tue Sep 15 2009 - 09:26:12 EST


On Tue, Sep 15, 2009 at 01:59:35PM +0200, Ingo Molnar wrote:
>
> -tip testing found the following build failure (config attached):
>
> drivers/built-in.o: In function `amd64_check':
> amd64_edac.c:(.text+0x3e9491): undefined reference to `amd_decode_nb_mce'
> drivers/built-in.o: In function `amd64_init_2nd_stage':
> amd64_edac.c:(.text+0x3e9b46): undefined reference to `amd_report_gart_errors'
> amd64_edac.c:(.text+0x3e9b55): undefined reference to `amd_register_ecc_decoder'
> drivers/built-in.o: In function `amd64_nbea_store':
> amd64_edac_dbg.c:(.text+0x3ea22e): undefined reference to `amd_decode_nb_mce'
> drivers/built-in.o: In function `amd64_remove_one_instance':
> amd64_edac.c:(.devexit.text+0x3eea): undefined reference to `amd_report_gart_errors'
> amd64_edac.c:(.devexit.text+0x3ef6): undefined reference to `amd_unregister_ecc_decoder'
>
> the AMD EDAC code has a dependency on CONFIG_CPU_SUP_AMD facilities. The
> patch below solves the problem here.

Dang(!), thanks for catching that one. Will add it to the lineup of the
next pull request to Linus.

--
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/