[U-Boot] [PATCH 1/1] trace: undefined reference to `trace_early_init'

Simon Glass sjg at chromium.org
Fri Jun 28 13:54:59 UTC 2019


On Sat, 22 Jun 2019 at 13:10, Simon Glass <sjg at chromium.org> wrote:
>
> On Sat, 1 Jun 2019 at 23:59, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> >
> > Compiling with TRACE but without TRACE_EARLY results in an error
> > aarch64-linux-gnu-ld.bfd:
> > common/built-in.o:(.rodata.init_sequence_f+0x10):
> > undefined reference to `trace_early_init'
> >
> > trace_early_init() should not be called if CONFIG_TRACE_EARLY is not
> > defined.
> >
> > Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> > ---
> >  common/board_f.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list