Wind River Support Network

HomeDefectsLIN6-9794
Fixed

LIN6-9794 : CLONE - yocto compliance issue: failed to build nspr with oe-core

Created: Apr 23, 2015    Updated: Dec 3, 2018
Resolved Date: May 4, 2015
Found In Version: 6.0
Fix Version: 6.0.0.19
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Toolchain

Description

======================
The yocto compliance criteria required "all layers build without errors against OpenEmbedded-Core ... ".
While "nspr" failed to compile with oe-core on each qemu bsps


Expected Behavior
======================
make the package successfully


Observed Behavior
======================
nonblock.c:236:13: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'PRInt32' [-Wformat]
nonblock.c:236:13: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'PRErrorCode' [-Wformat]
arm-wrs-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 --sysroot=/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/sysroots/qemuarma9 nonblock.o -Xlinker -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o nonblock
arm-wrs-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 --sysroot=/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/sysroots/qemuarma9 -o ntioto.o -c -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types -Wall -pthread -g -fno-inline -fPIC -UNDEBUG -DDEBUG_test -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -I../../dist/include/nspr -I/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/nspr-4.8.9-r4/nspr-4.8.9/mozilla/nsprpub/pr/include -I/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/nspr-4.8.9-r4/nspr-4.8.9/mozilla/nsprpub/pr/include/private ntioto.c
arm-wrs-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 --sysroot=/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/sysroots/qemuarma9 ntioto.o -Xlinker -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o ntioto
arm-wrs-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 --sysroot=/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/sysroots/qemuarma9 -o ntoh.o -c -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types -Wall -pthread -g -fno-inline -fPIC -UNDEBUG -DDEBUG_test -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -I../../dist/include/nspr -I/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/nspr-4.8.9-r4/nspr-4.8.9/mozilla/nsprpub/pr/include -I/buildarea/build/120719105533-yocto-sanity1-world/combo1-qemuarma9-standard-glibc-small/bitbake_build/tmp/work/armv7a-vfp-neon-wrs-linux-gnueabi/nspr-4.8.9-r4/nspr-4.8.9/mozilla/nsprpub/pr/include/private ntoh.c
ntoh.c: In function 'main':
ntoh.c:125:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12228
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [ntoh.o] Error 1
Misc Info
======================
Yocto compliance criteria:

https://wiki.yoctoproject.org/wiki/Working_Draft_of_Compliance_Prop#Yocto_Project_Compatible_Acceptance_Criteria

Other Downloads


Live chat
Online