[poky] Error in pulling nspr package
Mark Hatle
mark.hatle at windriver.com
Tue May 3 21:51:52 PDT 2011
On 5/3/11 11:19 PM, chinmaya hoshing wrote:
> Hi,
>
> I am trying to port Poky to the "sandybridge platform" and using the branch
> "bernard" for "sugarbay" machine.
> I am running Ubuntu 10.10 on 64 bit machine.
> I am getting error for nspr package following is the error log:
> NOTE: package nss-3.12.9-r2: task do_patch: Succeeded
> | x86_64-poky-linux-gcc -m64
> --sysroot=/home/sct/logi_sandybridge/poky/build/tmp/sysroots/sugarbay -m32 -o
> now.o -c -fexpensive-optimizations -fomit-frame-pointer -frename-registers
> -O2 -ggdb -feliminate-unused-debug-types -Wall -g -fno-inline -fPIC -UNDEBUG
> -DDEBUG_sct -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 -Di386=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
> -D_REENTRANT=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM now.c
> fatal error: gnu/stubs-32.h: No such file or directory
Something is wrong in the above. Both -m64 and -m32 are specified. The later
takes priority. This is causing the compiler to attempt a 32-bit compile,
automatically including "gnu/stubs-32.h", which doesn't exist because you are
building for a 64-bit target.
So it appears there is a bug in the nspr integration.
--Mark
>
>
> Can you help me to find the solution
>
> Chinmaya
>
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list