* Error in pulling nspr package
@ 2011-05-04 4:19 chinmaya hoshing
2011-05-04 4:51 ` Mark Hatle
0 siblings, 1 reply; 3+ messages in thread
From: chinmaya hoshing @ 2011-05-04 4:19 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 2361 bytes --]
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
ERROR: Function 'do_compile' failed (see
/home/sandybridge/poky/build/tmp/work/snb-poky-linux/nspr-4.8.7-r0/temp/log.do_compile.2326
for further information)
ERROR: Logfile of failure stored in:
/home/sandybridge/poky/build/tmp/work/snb-poky-linux/nspr-4.8.7-r0/temp/log.do_compile.2326
Log data follows:
| NOTE: make -j 4
| make -C config export
| make[1]: Entering directory
`/home/sandybridge/poky/build/tmp/work/snb-poky-linux/nspr-4.8.7-r0/nspr-4.8.7/mozilla/nsprpub/config'
| 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
| In file included from
/home/sandybridge/poky/build/tmp/sysroots/sugarbay/usr/include/features.h:387:0,
| from
/home/sandybridge/poky/build/tmp/sysroots/sugarbay/usr/include/stdio.h:28,
| from now.c:38:
|
/home/sandybridge/poky/build/tmp/sysroots/sugarbay/usr/include/gnu/stubs.h:7:27:
fatal error: gnu/stubs-32.h: No such file or directory
| compilation terminated.
| make[1]: *** [now.o] Error 1
| make[1]: Leaving directory
`/home/sandybridge/poky/build/tmp/work/snb-poky-linux/nspr-4.8.7-r0/nspr-4.8.7/mozilla/nsprpub/config'
| make: *** [export] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see
/home/sandybridge/poky/build/tmp/work/snb-poky-linux/nspr-4.8.7-r0/temp/log.do_compile.2326
for further information)
NOTE: package nspr-4.8.7-r0: task do_compile: Failed
ERROR: Task 3144 (/home/sandybridge/poky/meta/recipes-connectivity/mozilla/
nspr_4.8.7.bb, do_compile) failed with exit code '1'
Can you help me to find the solution
Chinmaya
[-- Attachment #2: Type: text/html, Size: 3202 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error in pulling nspr package
2011-05-04 4:19 Error in pulling nspr package chinmaya hoshing
@ 2011-05-04 4:51 ` Mark Hatle
2011-05-04 6:16 ` chinmaya hoshing
0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2011-05-04 4:51 UTC (permalink / raw)
To: poky
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error in pulling nspr package
2011-05-04 4:51 ` Mark Hatle
@ 2011-05-04 6:16 ` chinmaya hoshing
0 siblings, 0 replies; 3+ messages in thread
From: chinmaya hoshing @ 2011-05-04 6:16 UTC (permalink / raw)
To: Mark Hatle; +Cc: poky
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
Hi,
I want nspr to be compile on 64 bit host,
In sugarbay.conf I have specified
TARGET_CC_ARCH = "-m64"
but still how it is taking -m32 ,if you have any idea plz let me know.
Other than this where I need to mention it for -m64 ,in nspr bb file can I
write in do configure how to set -m64 by mentioning CXX / CC = "<gcc> *-m64*"
something like this
Chinmaya
[-- Attachment #2: Type: text/html, Size: 553 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-04 6:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 4:19 Error in pulling nspr package chinmaya hoshing
2011-05-04 4:51 ` Mark Hatle
2011-05-04 6:16 ` chinmaya hoshing
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.