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


Groups > linux.kernel > #1718143 > unrolled thread

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

Started byShawn Lin <shawn.lin@rock-chips.com>
First post2017-08-23 10:30 +0200
Last post2017-08-24 10:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  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

#1718143 — linux-next-20170823 failed to build for arm64/defconfig

FromShawn Lin <shawn.lin@rock-chips.com>
Date2017-08-23 10:30 +0200
Subjectlinux-next-20170823 failed to build for arm64/defconfig
Message-ID<uhzd0-6Ct-33@gated-at.bofh.it>
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)

[toc] | [next] | [standalone]


#1718174

FromThierry Reding <treding@nvidia.com>
Date2017-08-23 11:00 +0200
Message-ID<uhzG3-6Mv-45@gated-at.bofh.it>
In reply to#1718143

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

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.

Thanks,
Thierry

[toc] | [prev] | [next] | [standalone]


#1718995

FromThierry Reding <treding@nvidia.com>
Date2017-08-24 10:40 +0200
Message-ID<uhVQf-43p-31@gated-at.bofh.it>
In reply to#1718174

[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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web