Re: linux-next-20170823 failed to build for arm64/defconfig

From: Thierry Reding
Date: Thu Aug 24 2017 - 04:37:06 EST


On Wed, Aug 23, 2017 at 10:53:39AM +0200, Thierry Reding wrote:
> On Wed, Aug 23, 2017 at 04:19:55PM +0800, Shawn Lin wrote:
> > Hi Thierry and Stephen,
> >
> > commit 67e04d1ab19b0cc6d87ca7c44b058edf678bc3a3
> > Author: Thierry Reding <treding@xxxxxxxxxx>
> > Date: Tue Aug 15 15:41:10 2017 +0200
> >
> > drm/tegra: dc: Trace register accesses
> >
> > Add tracepoint events for display controller register accesses.
> >
> > Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
> >
> >
> > introduce the following compile error.
> >
> > In file included from drivers/gpu/drm/tegra/trace.h:68:0,
> > from drivers/gpu/drm/tegra/trace.c:2:
> > ./include/trace/define_trace.h:88:43: fatal error: ./trace.h: No such file
> > or directory
> > #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
>
> It looks as though this fails only for in-source builds, which is
> something I usually don't test. I'm working on a patch to fix this.

This should be fixed in today's linux-next by:

commit 702800b5d6f45b18db6b6d6b1057af6fd1c75e20
Author: Thierry Reding <treding@xxxxxxxxxx>
Date: Wed Aug 23 19:13:26 2017 +0200

drm/tegra: trace: Fix path to include

The TRACE_INCLUDE_FILE macro needs to specify the path relative to the
define_trace.h header rather than relative to the file defining it.

Reported-by: Dmitry Osipenko <digetx@xxxxxxxxx>
Tested-by: Dmitry Osipenko <digetx@xxxxxxxxx>
Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Thierry

Attachment: signature.asc
Description: PGP signature