Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-773

protobuf (in oem-extra-libs) build fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • On master branch.
       (chinook was OK, so this maybe due to BSP versino difference)

       

      We need the following?
      SECURITY_CFLAGS_pn-protobuf = "${SECURITY_NO_PIE_CFLAGS}"

      | /mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/sysroots/imx6qsabreauto/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
      | /usr/src/debug/glibc/2.24-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_end'
      | /usr/src/debug/glibc/2.24-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_start'
      | /mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/sysroots/x86_64-linux/usr/bin/arm-agl-linux-gnueabi/../../libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/6.2.0/ld: .libs/libprotobuf.so.9.0.1: hidden symbol `__init_array_end' isn't defined
      | /mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/sysroots/x86_64-linux/usr/bin/arm-agl-linux-gnueabi/../../libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/6.2.0/ld: final link failed: Bad value
      | collect2: error: ld returned 1 exit status
      | Makefile:1406: recipe for target 'libprotobuf.la' failed
      | make[3]: *** [libprotobuf.la] Error 1
      | make[3]: Leaving directory '/mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/work/cortexa9hf-neon-agl-linux-gnueabi/protobuf/2.6.1+gitAUTOINC+bba83652e1-r0/build/src'
      | Makefile:1222: recipe for target 'all' failed
      | make[2]: *** [all] Error 2
      | make[2]: Leaving directory '/mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/work/cortexa9hf-neon-agl-linux-gnueabi/protobuf/2.6.1+gitAUTOINC+bba83652e1-r0/build/src'
      | Makefile:705: recipe for target 'all-recursive' failed
      | make[1]: *** [all-recursive] Error 1
      | make[1]: Leaving directory '/mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/work/cortexa9hf-neon-agl-linux-gnueabi/protobuf/2.6.1+gitAUTOINC+bba83652e1-r0/build'
      | Makefile:612: recipe for target 'all' failed
      | make: *** [all] Error 2
      | WARNING: exit code 1 from a shell command.
      | ERROR: Function failed: do_compile (log file is located at /mnt/xvdb/yocto/tmp/kk-agl-standard/AGL_MACHINE_imx6qsabreauto/work/cortexa9hf-neon-agl-linux-gnueabi/protobuf/2.6.1+gitAUTOINC+bba83652e1-r0/temp/log.do_compile.32356)
      NOTE: recipe protobuf-2.6.1+gitAUTOINC+bba83652e1-r0: task do_compile: Failed
      ERROR: Task (/var/lib/jenkins/workspace/kk-agl-standard/AGL_MACHINE/imx6qsabreauto/top/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb:do_compile) failed with exit code '1'

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            tmatsuzawa Takashi Matsuzawa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: