[oe] [Bug 1380] New: HEAD uClibc build fails on uClibc install
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Sat Sep 2 13:47:37 UTC 2006
http://bugs.openembedded.org/show_bug.cgi?id=1380
Summary: HEAD uClibc build fails on uClibc install
Product: Openembedded
Version: unspecified
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Build
AssignedTo: openembedded-devel at lists.openembedded.org
ReportedBy: jonesml at fastmail.to
QAContact: tinderbox-oe at gmx.net
Whilst building HEAD Ucslugc (from NSLU2-Linux makefile), the 'install' phase
of the build fails with the following log:
NOTE: make OPTIMIZATION=
CPU_CFLAGS=-isystem/home/slug/compile/ucslugc/tmp/staging/armeb-linux-uclibc/include
-Os -fomit-frame-pointer -frename-registers -fno-unroll-loops
-fno-inline-functions -fweb -funit-at-a-time STRIPTOOL=true
LD=armeb-linux-uclibc-ld LOCALE_DATA_FILENAME=uClibc-locale-030818.tgz
CC=ccache armeb-linux-uclibc-gcc -march=armv5te -mtune=xscale -mthumb-interwork
-mthumb PREFIX=/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image
DEVEL_PREFIX=/usr/ RUNTIME_PREFIX=/ install_dev install_runtime install_utils
make[2]: Entering directory
`/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/uClibc-0.9.28'
install -d /home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/lib
install -d
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/include
install -m 644 lib/*.[ao]
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/lib/
if [ ""/home/slug/compile/ucslugc/tmp/cross/armeb-linux-uclibc"" == "/usr/" ] ;
then \
extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
else \
extra_exclude="" ; \
fi ; \
tar -chf - include --exclude .svn --exclude CVS $extra_exclude \
| tar -xf - -C
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/
tar: include/asm-generic: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
# Remove iconv header since locale support is disabled.
rm -f
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/include/iconv.h
# Remove xlocale header since extended locale support is disabled.
rm -f
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/include/xlocale.h
# Remove libintl header since gettext support is disabled.
rm -f
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/include/libintl.h
find /home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/ -name .svn
| xargs rm -f -r;
chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$/\1:\2/'`
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/
for i in `find lib/ -type l -name 'lib[a-zA-Z]*.so' | \
sed -e 's/lib\///'` ; do \
ln -sf ../../lib/$i.0 \
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/lib/$i;
\
done;
ln -sf ../../lib/libthread_db.so.1 \
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/lib/libthread_db.so
for i in `find lib/ -type f -name '*.a' | sed -e 's/lib\///'` ; do \
ln -sf $i
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/lib/`echo $i \
| sed -e 's/\.a$/_pic.a/'`; \
done;
# Ugh!!! Remember that libdl.a and libdl_pic.a are different. Since
# libdl is pretty small, and not likely to benefit from mklibs.py and
# similar, lets just remove libdl_pic.a and avoid the issue
rm -f
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/usr/lib/libdl_pic.a
install -d /home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/lib
install -m 644 lib/lib*-0.9.28.so \
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/lib
cp -dRf lib/*.so.*
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/lib
+ install -m 755 lib/ld-uClibc-0.9.28.so
/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/image/lib
make CROSS="armeb-linux-uclibc-" CC="ccache armeb-linux-uclibc-gcc
-march=armv5te -mtune=xscale -mthumb-interwork -mthumb" -C utils
make[3]: Entering directory
`/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/uClibc-0.9.28/utils'
ccache armeb-linux-uclibc-gcc -march=armv5te -mtune=xscale -mthumb-interwork
-mthumb -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-isystem/home/slug/compile/ucslugc/tmp/staging/armeb-linux-uclibc/include -Os
-fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions
-fweb -funit-at-a-time -fno-builtin -nostdinc -D_LIBC -I../include -I.
-isystem
/home/slug/compile/ucslugc/tmp/cross/lib/gcc/armeb-linux-uclibc/3.4.4/include
-DNDEBUG -fPIC \
-DUCLIBC_RUNTIME_PREFIX=\"/\" \
-DUCLIBC_LDSO=ld-uClibc.so.0 -I. -I../ldso/include \
ldd.c -o ldd
/home/slug/compile/ucslugc/tmp/cross/lib/gcc/armeb-linux-uclibc/3.4.4/../../../../armeb-linux-uclibc/bin/ld:
crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [ldd] Error 1
make[3]: Leaving directory
`/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/uClibc-0.9.28/utils'
make[2]: *** [utils] Error 2
make[2]: Leaving directory
`/home/slug/compile/ucslugc/tmp/work/uclibc-0.9.28-r6/uClibc-0.9.28'
FATAL: oe_runmake failed
Unfortunately, fixing this is beyond my technical expertise, and all I can say
is that a build from HEAD on 19th August compiled without errors and a build
from HEAD today does not.
This bug occurs from a completely clean build.
Please reply if you'd like any further details on this,
Michael-Luke
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-devel
mailing list