OE build fails while building glibc ...
Yuvraj Agarwal
yuvraj at ucsd.edu
Fri May 16 18:58:56 UTC 2008
Hi All,
I have been using the gumstix and the OE distribution in that context but am
a newbie to using Open-Embedded directly.. For a project I need to have a
very minimal x86 image that uses very less memory (either 32MB or 64MB at
the most) and has a small filesystem image. There was a link on the OE wiki
on building a minimal image (http://oe.linuxtogo.org/wiki/MinimalX86 ) but
that is empty. Anyone have any links to projects with similar goals
(minimum x86 linux image?)
I have thus started t build from scratch, following the instructions posted
on : http://oe.linuxtogo.org/wiki/GettingStarted
I am using a Ubuntu 7.10 build host and am finally building for a
"i586-generic" target architecture.
Unfortunately I am having issues when I do a "bitbake nano" as mentioned in
the instructions .. The build fails on the glib package build.I tried both
the "stable" and the "dev" trees with no success.
Any help is appreciated.
--Yuvraj
****************************************************************************
*********************
.
.
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os: In function `__fork':
| (.text+0x5f574): undefined reference to `__sync_bool_compare_and_swap_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os: In function `nscd_getpw_r':
| nscd_getpw_r.c:(.text+0xada76): undefined reference to
`__sync_fetch_and_add_4'
| nscd_getpw_r.c:(.text+0xadab9): undefined reference to
`__sync_fetch_and_add_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os: In function `nscd_getgr_r':
| nscd_getgr_r.c:(.text+0xae041): undefined reference to
`__sync_fetch_and_add_4'
| nscd_getgr_r.c:(.text+0xae079): undefined reference to
`__sync_fetch_and_add_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os: In function `nscd_gethst_r':
| nscd_gethst_r.c:(.text+0xae6f5): undefined reference to
`__sync_fetch_and_add_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os:nscd_gethst_r.c:(.text+0xae72d): more undefined references to
`__sync_fetch_and_add_4' follow
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os: In function `__nscd_get_map_ref':
| (.text+0xafced): undefined reference to `__sync_val_compare_and_swap_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i586-angstrom-linux
/libc_pic.os: In function `__GI___libc_freeres':
| (__libc_freeres_fn+0x5e8): undefined reference to
`__sync_bool_compare_and_swap_4'
| collect2: ld returned 1 exit status
| make[1]: ***
[/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc
-intermediate-2.6.1-r2/build-i586-
angstrom-linux/libc.so] Error 1
| make[1]: Leaving directory
`/home/user/develop-new/oe/stuff/angstrom-tmp/work/i586-angstrom-linux/glibc
-intermediate-2.6.1-
r2/glibc-2.6.1'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/user/develop-new/oe/stuff/angstrom-tmp//work/i586-angstrom-linux/glibc
-intermediate-2.6.1-r2/temp/lo
g.do_compile.18647
NOTE: package glibc-intermediate-2.6.1-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-intermediate-2.6.1: failed
ERROR: Build of
/home/user/develop-new/oe/stuff/org.openembedded.stable/packages/glibc/glibc
-intermediate_2.6.1.bb do_compile
failed
ERROR: Task 662
(/home/user/develop-new/oe/stuff/org.openembedded.stable/packages/glibc/glib
c-intermediate_2.6.1.bb, do_compi
le) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:
/home/user/develop-new/oe/stuff/org.openembedded.stable/packages/db/db-nativ
e_4.3.29.bb, do_compile (3950)
NOTE: package db-native-4.3.29-r10: task do_compile: completed
NOTE: package db-native-4.3.29: completed
NOTE: Tasks Summary: Attempted 276 tasks of which 0 didn't need to be rerun
and 1 failed.
ERROR:
'/home/user/develop-new/oe/stuff/org.openembedded.stable/packages/glibc/glib
c-intermediate_2.6.1.bb' failed
user at lp:~/develop-new/oe/stuff/org.openembedded.stable$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20080516/46495f01/attachment-0002.html>
More information about the Openembedded-users
mailing list