6 Replies Latest reply on Oct 27, 2015 7:04 PM by jaemyoun_lee

    Edison Build Error

    Jaemyoun

      Hi~

      When I built The Linux source of Intel Edison on VMware Ubuntu Desktop 15.04, I met the problem by the command 'bitbake virtual/kernel -c menuconfig' :

       

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-decl.c:5701:16: warning: format not a string literal and no format arguments [-Wformat-security]

      |    error (errmsg);

      |                 ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-decl.c: In function 'tree_node* grokparms(c_arg_info*, bool)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-decl.c:6482:21: warning: format not a string literal and no format arguments [-Wformat-security]

      |         error (errmsg);

      |                      ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c: In function 'int convert_arguments(location_t, vec<unsigned int>, tree, vec<tree_node*, va_gc>*, vec<tree_node*, va_gc>*, tree, tree)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c:3299:28: warning: format not a string literal and no format arguments [-Wformat-security]

      |     error (invalid_func_diag);

      |                             ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c: In function 'tree_node* build_unary_op(location_t, tree_code, tree, int)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c:3798:42: warning: format not a string literal and no format arguments [-Wformat-security]

      |        error_at (location, invalid_op_diag);

      |                                           ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c: In function 'void error_init(const char*)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c:6418:16: warning: format not a string literal and no format arguments [-Wformat-security]

      |    error (gmsgid);

      |                 ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c: In function 'void pedwarn_init(location_t, int, const char*)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c:6435:33: warning: format not a string literal and no format arguments [-Wformat-security]

      |    pedwarn (location, opt, gmsgid);

      |                                  ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c: In function 'void warning_init(int, const char*)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c:6453:23: warning: format not a string literal and no format arguments [-Wformat-security]

      |    warning (opt, gmsgid);

      |                        ^

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c: In function 'tree_node* build_binary_op(location_t, tree_code, tree, tree, int)':

      | /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/c/c-typeck.c:10113:42: warning: format not a string literal and no format arguments [-Wformat-security]

      |        error_at (location, invalid_op_diag);

      |                                           ^

      | Makefile:2111: recipe for target 's-attrtab' failed

      | make[1]: *** [s-attrtab] Killed

      | make[1]: *** Waiting for unfinished jobs....

      | /bin/bash /home/jae/edison/edison-src/out/linux64/build/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/../move-if-change tmp-automata.c insn-automata.c

      | echo timestamp > s-automata

      | rm gcc.pod

      | make[1]: Leaving directory '/home/jae/edison/edison-src/out/linux64/build/tmp/work/x86_64-poky-linux/gcc-cross-initial-i586/4.9.1-r0/gcc-4.9.1/build.x86_64-linux.i586-poky-linux/gcc'

      | Makefile:3954: recipe for target 'all-gcc' failed

      | make: *** [all-gcc] Error 2

      | ERROR: oe_runmake failed

      | WARNING: exit code 1 from a shell command.

      | ERROR: Function failed: do_compile (log file is located at /home/jae/edison/edison-src/out/linux64/build/tmp/work/x86_64-poky-linux/gcc-cross-initial-i586/4.9.1-r0/temp/log.do_compile.45117)

      ERROR: Task 210 (/home/jae/edison/edison-src/out/linux64/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.9.bb, do_compile) failed with exit code '1'

      NOTE: Tasks Summary: Attempted 223 tasks of which 0 didn't need to be rerun and 1 failed.

      Waiting for 0 running tasks to finish:

       

       

      Summary: 1 task failed:

        /home/jae/edison/edison-src/out/linux64/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.9.bb, do_compile

      Summary: There were 2 WARNING messages shown.

      Summary: There was 1 ERROR message shown, returning a non-zero exit code.