Versions Compared

Key

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

...

Gliffy Diagram
size1200
nameERR1_Emu
pagePin89
         

Patch file for changes in memfd.c attached below:

...

Gliffy Diagram
size1200
nameERR2_Emu
pagePin1113


Patch file for changes in ucresolv_1.0.bb attached below:

...

Gliffy Diagram
size1200
nameERR3_Emu
pagePin36

Patch file for changes in create_inode.c attached below:

...

Gliffy Diagram
size1200
nameERR1_Emu
pagePin89

Patch file for changes in memfd.c attached below:

...

Gliffy Diagram
size1200
nameERR2_Emu
pagePin1113

ucresolv_1.0.patch

Path for changes in ucresolv_1.0.bb file:

...

Gliffy Diagram
size1200
nameERR3_Emu
pagePin36

Patch file for changes in create_inode.c attached below:

...

Special Considerations

Error

/home/amrita/home2Desktop/jaredEmu_huangFeb3/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/home/amrita/Desktop/Emu_Feb3/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’:
| /home/home2amrita/Desktop/jared_huang/rdk-20194qEmu_Feb3/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-20194qhome/amrita/Desktop/Emu_Feb3/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: /home/home2amrita/Desktop/jared_huang/rdk-20194qEmu_Feb3/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 /home/amrita/home2Desktop/jaredEmu_huangFeb3/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:/home/amrita/home2Desktop/jaredEmu_huangFeb3/rdk-20194q/openembedded-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile) failed with exit code '1'

Solution:

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

...

Gliffy Diagram
size1200
nameERR4
pagePin13

Patch file for changes in memfd.c attached below:

...