OE build fails while building glibc ...

Yuvraj Agarwal yuvraj at ucsd.edu
Fri May 16 20:03:31 UTC 2008


It failed again :(  this time I tried your suggestions using:

MACHINE = "x86"
DISTRO = "angstrom-2008.1"

It seems to have failed at the same package? "glibc-intermediate_2.6.1.bb"  
I am also pasting the relevant environment variables, in case they are
causing the issue. 

BBPATH="/home/user/develop-new/oe/:/home/user/develop-new/oe/stuff/build/:/h
ome/user/develop-new/oe/stuff/org.openembedded.stable/"
LANG="C"
LD_LIBRARY_PATH=""
PATH="/home/user/develop-new/oe/stuff/bitbake/bin:/usr/local/sbin:/usr/local
/bin:/usr/sbin:/usr/bin:/sbin:/bin:/us
r/games:/usr/local/arm/3.4.1/bin/"

Any ideas? Is anyone else observing the same issue? 

Thanks
--User
*********************************************************************

om-linux/glibc-intermediate-2.6.1-r2/build-i486-angstrom-linux/elf/interp.os
/home/user/develop-new/oe/stuff/angstrom-tmp/wor
k/i486-angstrom-linux/glibc-intermediate-2.6.1-r2/build-i486-angstrom-linux/
elf/ld.so -lgcc
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-angstrom-linux
/libc_pic.os: In function `__fork':
| (.text+0x5e684): undefined reference to `__sync_bool_compare_and_swap_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-angstrom-linux
/libc_pic.os: In function `nscd_getpw_r':
| nscd_getpw_r.c:(.text+0xab0aa): undefined reference to
`__sync_fetch_and_add_4'
| nscd_getpw_r.c:(.text+0xab0ed): undefined reference to
`__sync_fetch_and_add_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-angstrom-linux
/libc_pic.os: In function `nscd_getgr_r':
| nscd_getgr_r.c:(.text+0xab675): undefined reference to
`__sync_fetch_and_add_4'
| nscd_getgr_r.c:(.text+0xab6ad): undefined reference to
`__sync_fetch_and_add_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-angstrom-linux
/libc_pic.os: In function `nscd_gethst_r':
| nscd_gethst_r.c:(.text+0xabd29): undefined reference to
`__sync_fetch_and_add_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-angstrom-linux
/libc_pic.os:nscd_gethst_r.c:(.text+0xabd61): more undefined references to
`__sync_fetch_and_add_4' follow
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-angstrom-linux
/libc_pic.os: In function `__nscd_get_map_ref':
| (.text+0xad321): undefined reference to `__sync_val_compare_and_swap_4'
|
/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-angstrom-linux/glibc-
intermediate-2.6.1-r2/build-i486-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/i486-angstrom-linux/glibc
-intermediate-2.6.1-r2/build-i486-
angstrom-linux/libc.so] Error 1
| make[1]: Leaving directory
`/home/user/develop-new/oe/stuff/angstrom-tmp/work/i486-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/i486-angstrom-linux/glibc
-intermediate-2.6.1-r2/temp/lo
g.do_compile.14014
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 280
(/home/user/develop-new/oe/stuff/org.openembedded.stable/packages/glibc/glib
c-intermediate_2.6.1.bb, do_compi
le) failed
NOTE: Tasks Summary: Attempted 452 tasks of which 178 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$

-----Original Message-----
From: openembedded-users-bounces at lists.openembedded.org
[mailto:openembedded-users-bounces at lists.openembedded.org] On Behalf Of
Cliff Brake
Sent: Friday, May 16, 2008 12:06 PM
To: Using OE
Subject: Re: OE build fails while building glibc ...

On Fri, May 16, 2008 at 2:58 PM, User Agarwal <user at ucsd.edu> wrote:
> 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?)

Try dev with the following setting

MACHINE = "x86"
DISTRO = "angstrom-2008.1"

and then bitbake "minimal-image".  That should work -- I'll run a
build here just to make sure everything is still working.

Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com

_______________________________________________
Openembedded-users mailing list
Openembedded-users at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users





More information about the Openembedded-users mailing list