[meta-intel] [master][PATCH 0/2] Fix build for GNU_HASH QA issue

Tom Zanussi tom.zanussi at linux.intel.com
Wed Jul 27 08:06:13 PDT 2016


Hi Rahul,

I'm getting errors and warnings for both of these - see below:

On 07/27/2016 12:58 AM, Rahul Kumar Gupta wrote:
> Dear Maintainer(s),
> 
> These changes will fix do_package_qa errors in qat16 v2.6.0-65 and zlib-qat
> v0.4.7-002 by adding LDFLAGS to TARGET_CC_ARCH.
> 
> LDFLAGS is not used by the each Makefile so instead of adding this in 
> Makefiles, passed LDFLAGS with TARGET_CC_ARCH. To ensure that the LDFLAGS
> variable is being passed to the linker command.
> 
> These QA errors are due to the default linker hash style is set to sysv
> in gcc-cross.inc in poky now. So We need to explicitly set the hash style 
> to gnu in our LDFLAGS.
> 
> The image have been tested on Grantley-Broadwell using intel-corei7-64 BSP.
> 
> Please merge in master if these looks ok.
> 
> Thanks
> 
> Rahul Kumar Gupta (2):
>   meta-isg: qat16: fix for GNU_HASH QA issue
>   meta-isg: zlib-qat: fix for GNU_HASH QA error
> 
>  meta-isg/common/recipes-extended/qat/qat16.inc                  | 1 +
>  meta-isg/common/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb | 1 +
>  2 files changed, 2 insertions(+)
> 

For qat16, I get QA warnings:

Build Configuration:
BB_VERSION        = "1.31.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1+snapshot-20160727"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "master8:039f47ad197a9a53109c9f3deadd9c35e62c056d"
meta-intel
meta-isg          = "master11:f8944487ab5db4618664b818173947ad08b1e9ce"

Initialising tasks: 100%
|#######################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-dc-stateless-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/dc_stateless_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-cipher-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/cipher_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-gcm-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/gcm_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-ssl-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/ssl_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-prime-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/prime_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/qat16-app/usr/bin/cpa_sample_code is owned by uid 1000, which is the
same as the user running bitbake. This may be due to host contamination
[host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-sym-dp-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/sym_dp_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-drbg-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/drbg_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-ipsec-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/ipsec_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-nrbg-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/nrbg_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-dh-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/dh_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-algchaining-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/algchaining_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-ccm-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/ccm_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-hash-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/hash_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-icp-qa-al/lib/modules/4.4.15-yocto-standard/kernel/drivers/icp_qa_al.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/qat16-staticdev/usr/lib/libadf_proxy.a is owned by uid 1000, which is
the same as the user running bitbake. This may be due to host contamination
qat16: /qat16-staticdev/usr/lib/libicp_qa_al.a is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host
contamination
qat16: /qat16-staticdev/usr/lib/fips_sample.a is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host
contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/qat16/lib/firmware/calgary32 is owned by uid 1000, which is the same as
the user running bitbake. This may be due to host contamination
qat16: /qat16/lib/firmware/canterbury is owned by uid 1000, which is the
same as the user running bitbake. This may be due to host contamination
qat16: /qat16/lib/firmware/calgary is owned by uid 1000, which is the
same as the user running bitbake. This may be due to host contamination
[host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-dc-stateless-multi-op-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/dc_stateless_multi_op_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
WARNING: qat16-2.6.0-65-r0 do_package_qa: QA Issue: qat16:
/kernel-module-fips-sample/lib/modules/4.4.15-yocto-standard/kernel/drivers/fips_sample.ko
is owned by uid 1000, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]
NOTE: Tasks Summary: Attempted 764 tasks of which 752 didn't need to be
rerun and all succeeded.

Summary: There were 19 WARNING messages shown.



For zlib-qat, I get these build errors:



Build Configuration:
BB_VERSION        = "1.31.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1+snapshot-20160727"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "master8:039f47ad197a9a53109c9f3deadd9c35e62c056d"
meta-intel
meta-isg          = "master11:f8944487ab5db4618664b818173947ad08b1e9ce"

Initialising tasks: 100%
|#######################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: zlib-qat-0.4.7-002-r0 do_unpack2: Function failed: do_unpack2
(log file is located at
/usr/local/dev/yocto/master-cur/build/tmp/work/intel_corei7_64-poky-linux/zlib-qat/0.4.7-002-r0/temp/log.do_unpack2.3007)
ERROR: Logfile of failure stored in:
/usr/local/dev/yocto/master-cur/build/tmp/work/intel_corei7_64-poky-linux/zlib-qat/0.4.7-002-r0/temp/log.do_unpack2.3007
Log data follows:
| DEBUG: Executing shell function do_unpack2
| Archive:  %s
| replace %s? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
| (EOF or read error, treating as "[N]one" ...)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_unpack2 (log file is located at
/usr/local/dev/yocto/master-cur/build/tmp/work/intel_corei7_64-poky-linux/zlib-qat/0.4.7-002-r0/temp/log.do_unpack2.3007)
ERROR: Task
/usr/local/dev/yocto/master-cur/meta-intel/meta-isg/common/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb:do_unpack2
(/usr/local/dev/yocto/master-cur/meta-intel/meta-isg/common/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb:do_unpack2)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 1360 tasks of which 1359 didn't need to
be rerun and 1 failed.

Summary: 1 task failed:

/usr/local/dev/yocto/master-cur/meta-intel/meta-isg/common/recipes-extended/zlib-qat/zlib-qat_0.4.7-002.bb:do_unpack2
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


This is using poky/master as of:

commit 039f47ad197a9a53109c9f3deadd9c35e62c056d
Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Jul 19 20:44:17 2016 +0100

    uclibc: remove meta-yocto-bsp append


Tom




More information about the meta-intel mailing list