Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1718995

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

From Thierry Reding <treding@nvidia.com>
Newsgroups linux.kernel
Subject Re: linux-next-20170823 failed to build for arm64/defconfig
Date 2017-08-24 10:40 +0200
Message-ID <uhVQf-43p-31@gated-at.bofh.it> (permalink)
References <uhzd0-6Ct-33@gated-at.bofh.it> <uhzG3-6Mv-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@nvidia.com>
> > 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@nvidia.com>
> > 
> > 
> > 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@nvidia.com>
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@gmail.com>
    Tested-by: Dmitry Osipenko <digetx@gmail.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

Thierry

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

linux-next-20170823 failed to build for arm64/defconfig Shawn Lin <shawn.lin@rock-chips.com> - 2017-08-23 10:30 +0200
  Re: linux-next-20170823 failed to build for arm64/defconfig Thierry Reding <treding@nvidia.com> - 2017-08-23 11:00 +0200
    Re: linux-next-20170823 failed to build for arm64/defconfig Thierry Reding <treding@nvidia.com> - 2017-08-24 10:40 +0200

csiph-web