Details
-
Improvement
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
Dab
-
None
-
None
-
Boards: rpi3, vayu, beagle
master as of 2017-05-12
Description
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.
Attachments
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
9379,2 | Fix build of mozjs, gpm and libatasmart due to SECURITY_%FLAGS | master | AGL/meta-agl | Status: MERGED | +2 | +1 |