Skip to contentSkip to conversation

【build error report for for next branch】

DISCUSSION oulijun 2 participants 3 messages Oct 18, 2017 – Oct 24, 2017

lore
Share & tools
lore

oulijun

author
#0 lore raw

Hi, Doug Ledford
I am use the for-next branch for building and the result is fail.
Is the branch a bug or my buidl way incorrectly?

My build way as follows:
1. make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig
2. make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j16

o00290482@linux-ioko:~/for-1/rdma> make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j16 arch/arm64/Makefile:23: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC [M]  drivers/gpu/drm/tegra/trace.o
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)
                                           ^

compilation terminated.
make[4]: *** [drivers/gpu/drm/tegra/trace.o] Error 1 make[3]: *** [drivers/gpu/drm/tegra] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [drivers/gpu/drm] Error 2 make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

#1 lore raw
Quoted 3 lines · oulijun

Hi, Doug Ledford
I am use the for-next branch for building and the result is fail.
Is the branch a bug or my buidl way incorrectly?

[ snip ]

Quoted 7 lines

CC [M] drivers/gpu/drm/tegra/trace.o
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)
                                           ^
Quoted 7 lines

compilation terminated.
make[4]: *** [drivers/gpu/drm/tegra/trace.o] Error 1 make[3]: *** [drivers/gpu/drm/tegra] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [drivers/gpu/drm] Error 2 make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

You've probably got a bad .config for your cross build. I doubt it's related to my tree since I have done any patches to the tracing subsytem and that's what's failing.

Signature · 3 lines
Doug Ledford <[email protected]>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD
author
#2 lore raw
Quoted 22 lines · Doug Ledford
Quoted 3 lines · oulijun

Hi, Doug Ledford
I am use the for-next branch for building and the result is fail.
Is the branch a bug or my buidl way incorrectly?

[ snip ]

Quoted 7 lines

CC [M] drivers/gpu/drm/tegra/trace.o
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)
                                           ^
Quoted 7 lines

compilation terminated.
make[4]: *** [drivers/gpu/drm/tegra/trace.o] Error 1 make[3]: *** [drivers/gpu/drm/tegra] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [drivers/gpu/drm] Error 2 make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

Quoted 4 lines

You've probably got a bad .config for your cross build. I doubt it's related to my tree since I have done any patches to the tracing subsytem and that's what's failing.

Thanks. I am willing to confirm again.