Hi Pratyush,

On Wed, Mar 31, 2021 at 4:03 AM Pratyush Yadav <m...@yadavpratyush.com> wrote:
>
> Hi,
>
> I recently rebased a dev branch on top of next-20210330 (4143e05b7b17)
> and I notice a build error from the optee driver:
>
>   In file included from drivers/tee/optee/call.c:18:
>   In file included from drivers/tee/optee/optee_trace.h:67:
>   ./include/trace/define_trace.h:95:10: fatal error: './optee_trace.h' file 
> not found
>   #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
>            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   ./include/trace/define_trace.h:90:32: note: expanded from macro 
> 'TRACE_INCLUDE'
>   # define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
>                                  ^~~~~~~~~~~~~~~~~~~~~~~
>   ./include/trace/define_trace.h:87:34: note: expanded from macro 
> '__TRACE_INCLUDE'
>   # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
>                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   ./include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
>   #define __stringify(x...)       __stringify_1(x)
>                                   ^~~~~~~~~~~~~~~~
>   ./include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
>   #define __stringify_1(x...)     #x
>                                   ^~
>   <scratch space>:135:1: note: expanded from here
>   "./optee_trace.h"
>   ^~~~~~~~~~~~~~~~~
>   1 error generated.
>
> The config is attached. I am building using clang.
>
>   $ clang --version
>   clang version 11.1.0
>   Target: x86_64-pc-linux-gnu
>   Thread model: posix
>   InstalledDir: /usr/bin

Thanks for reporting, this should hopefully be taken care of by
https://lkml.org/lkml/2021/3/25/2

Cheers,
Jens

Reply via email to