You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to build the Yocto img file for machine=rockchip-rk3566-radxa-cm3-io
I'm using VirtualBox with Linux Ubuntu ver 18.00 with 150GB drive and 4CPU's 4GB RAM :
Following your Github directions fully:-
Yocto builds up to task 185 then fails.
The log snippet indicates that the build process for the libiberty library within the binutils-cross-aarch64 recipe has failed. The error messages point to issues with running the ar command and indicate that a script ../native-intercept/ar is not found.
Could you please give any reason for the failing compile and what the fix should be?
Here is the console-latest.log -(last successful line then the failed line.) NOTE: Running task 183 of 3507 (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_prepare_recipe_sysroot) NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_prepare_recipe_sysroot: Started NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_prepare_recipe_sysroot: Succeeded NOTE: Running task 184 of 3507 (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_configure) NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_configure: Started NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_configure: Succeeded NOTE: Running task 185 of 3507 (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_compile) NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_compile: Started ERROR: binutils-cross-aarch64-2.38-r0 do_compile: oe_runmake failed ERROR: binutils-cross-aarch64-2.38-r0 do_compile: ExecutionError('/home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/temp/run.do_compile.16297', 1, None, None) ERROR: Logfile of failure stored in: /home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/temp/log.do_compile.16297 NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_compile: Failed ERROR: Task (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_compile) failed with exit code '1' NOTE: Running task 186 of 3507 (virtual:native:/home/pi/yocto/poky/meta/recipes-support/popt/popt_1.18.bb:do_unpack) NOTE: recipe popt-native-1.18-r0: task do_unpack: Started NOTE: recipe popt-native-1.18-r0: task do_unpack: Succeeded NOTE: Tasks Summary: Attempted 186 tasks of which 0 didn't need to be rerun and 1 failed.
Hi Stephen and Jeffy
Tried to build the Yocto img file for machine=rockchip-rk3566-radxa-cm3-io
I'm using VirtualBox with Linux Ubuntu ver 18.00 with 150GB drive and 4CPU's 4GB RAM :
Following your Github directions fully:-
Yocto builds up to task 185 then fails.
The log snippet indicates that the build process for the libiberty library within the binutils-cross-aarch64 recipe has failed. The error messages point to issues with running the ar command and indicate that a script ../native-intercept/ar is not found.
Could you please give any reason for the failing compile and what the fix should be?
Here is the console-latest.log -(last successful line then the failed line.)
NOTE: Running task 183 of 3507 (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_prepare_recipe_sysroot) NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_prepare_recipe_sysroot: Started NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_prepare_recipe_sysroot: Succeeded NOTE: Running task 184 of 3507 (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_configure) NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_configure: Started NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_configure: Succeeded NOTE: Running task 185 of 3507 (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_compile) NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_compile: Started ERROR: binutils-cross-aarch64-2.38-r0 do_compile: oe_runmake failed ERROR: binutils-cross-aarch64-2.38-r0 do_compile: ExecutionError('/home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/temp/run.do_compile.16297', 1, None, None) ERROR: Logfile of failure stored in: /home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/temp/log.do_compile.16297 NOTE: recipe binutils-cross-aarch64-2.38-r0: task do_compile: Failed ERROR: Task (/home/pi/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_compile) failed with exit code '1' NOTE: Running task 186 of 3507 (virtual:native:/home/pi/yocto/poky/meta/recipes-support/popt/popt_1.18.bb:do_unpack) NOTE: recipe popt-native-1.18-r0: task do_unpack: Started NOTE: recipe popt-native-1.18-r0: task do_unpack: Succeeded NOTE: Tasks Summary: Attempted 186 tasks of which 0 didn't need to be rerun and 1 failed.
And here is log.do_compile
gcc -c -DHAVE_CONFIG_H -isystem/home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/usr/include -I. -I../../libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../libiberty/setproctitle.c -o setproctitle.o rm -f ./libiberty.a pic/./libiberty.a noasan/./libiberty.a ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./bsearch_r.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filedescriptor.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./setproctitle.o /home/pi/yocto/poky/scripts/cross-intercept/ar: line 1: ../native-intercept/ar: No such file or directory make[2]: Leaving directory '/home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/git/build.i686-linux.aarch64-poky-linux/libiberty' make[2]: *** [Makefile:254: libiberty.a] Error 127 ERROR: oe_runmake failed make[1]: Leaving directory '/home/pi/yocto/build/tmp/work/i686-linux/binutils-cross-aarch64/2.38-r0/git/build.i686-linux.aarch64-poky-linux' WARNING: exit code 1 from a shell command. make[1]: *** [Makefile:9902: all-libiberty] Error 2 make: *** [Makefile:1000: all] Error 2
The text was updated successfully, but these errors were encountered: