Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

draw.io Diagram
bordertrue
diagramNameCreate_inode.c
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth121
revision1



  • Special Considerations

For any other Errors during bitbake apart from Error1,Error2 and Error3

Error

/home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/rules.mak:59: recipe for target 'util/memfd.o' failed
| make: *** [util/memfd.o] Error 1
| make: *** Waiting for unfinished jobs....
| /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c: In function ‘follow_path’:
| /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:126:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
| if (!cursor->populated_entries)
| ^~
| /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:128:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
| cursor = *source;
| ^~~~~~
| WARNING: /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/run.do_compile.8435:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home2/jared_huang/rdk-20194q/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.8435)
ERROR: Task (virtual:native:/home2/jared_huang/rdk-20194q/openembedded-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile) failed with exit code '1'

Solution:

Removed #ifdef CONFIG_MEMFD, #include <sys/memfd.h>, #elif defined CONFIG_LINUX  and added #include <sys/mman.h>, #if defined CONFIG_LINUX && !defined CONFIG_MEMFD in /x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c

Pictorial representation of changes in memfd.c file:

Gliffy Diagram
size1200
nameERR4
pagePin1

Patch file for changes in memfd.c attached belowSolution:


Support

Contact

Organization

Phone

Email

Role

Rajkumar Narayanan

L&T Technology Services

<Phone>

rajkumar.narayanan@ltts.com

Program Manager

...