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

mozjs, gpm and libatasmart failing on SECURITY_CFLAGS

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Dab
    • None
    • Boards: rpi3, vayu, beagle
      master as of 2017-05-12

      More than 2 boards fail over these packages.
      For now I added these to the poky-agl.conf distro-wide.

      SECURITY_CFLAGS_pn-mozjs = ""
      SECURITY_LDFLAGS_pn-mozjs = ""
      SECURITY_CFLAGS_pn-gpm = ""
      SECURITY_LDFLAGS_pn-gpm = ""
      SECURITY_CFLAGS_pn-libatasmart = ""
      SECURITY_LDFLAGS_pn-libatasmart = ""

      Todo: investigate reason or upstream fix and enable SECURITY_*FLAGS again.

      Fixes:

      | checking whether the host c compiler (gcc  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/scratch/AGL/repobuild-local/build-rpi3/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/mozjs/17.0.0-r0=/usr/src/debug/mozjs/17.0.0-r0 -fdebug-prefix-map=/home/scratch/AGL/repobuild-local/build-rpi3/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/scratch/AGL/repobuild-local/build-rpi3/tmp/sysroots/raspberrypi3=  -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now) works... configure: error: installation or configuration problem: host compiler gcc cannot create executables.
      | WARNING: /home/scratch/AGL/repobuild-local/build-rpi3/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/mozjs/17.0.0-r0/temp/run.do_configure.17373:1 exit 1 from '/home/scratch/AGL/repobuild-local/build-rpi3/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/mozjs/17.0.0-r0/mozjs17.0.0/js/src/configure --target=arm-agl-linux-gnueabi --host=x86_64-linux --build=x86_64-linux --prefix=/usr --libdir=/usr/lib --with-nspr-libs='-lplds4 -lplc4 -lnspr4' --enable-threadsafe --disable-static --disable-static --without-x'
      | ERROR: Function failed: do_configure (log file is located at /home/scratch/AGL/repobuild-local/build-rpi3/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/mozjs/17.0.0-r0/temp/log.do_configure.17373)
      

      scottm : added you for now - feel free to reassign.

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

            scottm Scott Murray
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: