[yocto] problems building eglibc-locale and gcc-runtime for LabQuest on edison 6.0.1

Joe Sauer jsauer at vernier.com
Fri May 18 12:02:04 PDT 2012


I am in the process of upgrading from green 3.3.1 to edison 6.0.1 for
LabQuest, an armv7a machine.  I'm making pretty good progress so far but am
dead in the water now.  I'm woefully under-informed for these kinds of
issues, so I'm hoping someone can help me get unstuck.

These are the first errors that occur on a clean build.  Note that both
failures are in standard-issue meta recipes, not my own (meta-labquest).
Here's the sanitized log. I highlighted the actual errors for clarity.

OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "lq2"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1.1"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-labquest     = "<unknown>:<unknown>"

NOTE: Running task  270 of 4917 (ID: 775,
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/meta/recipes-devtools/gcc/
gcc-runtime_4.6.bb, do_compile)
NOTE: Running task 2207 of 4917 (ID: 477,
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/meta/recipes-core/eglibc/
eglibc-locale_2.13.bb, do_install)

ERROR: Function 'do_install' failed (see
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/work/armv7a-poky-linux-gnueabi/eglibc-locale-2.13-r16/temp/log.do_install.8928
for further information)
Log data follows:
*| cp: cannot stat
`/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/include/eglibc-locale-internal-armv7a-poky-linux-gnueabi//usr/bin/*':
No such file or directory*
NOTE: package eglibc-locale-2.13-r16: task do_install: Failed

ERROR: Function 'do_compile' failed (see
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/work/armv7a-poky-linux-gnueabi/gcc-runtime-4.6.2+svnr181430-r17/temp/log.do_compile.8858
for further information)
Log data follows:
| Making all in src
| make[2]: Entering directory
`/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/work/armv7a-poky-linux-gnueabi/gcc-runtime-4.6.2+svnr181430-r17/gcc-4_6-branch/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libstdc++-v3/src'
| /bin/sh ../libtool --tag CXX   --mode=link arm-poky-linux-gnueabi-g++
 -march=armv7-a -fno-tree-vectorize -mtune=cortex-a8
--sysroot=/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2
-nostdinc++ -nostdlib++ -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections
 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
 -fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
'-Wl,-O1' '-Wl,--hash-style=gnu' '-Wl,--as-needed' -o libstdc++.la
-version-info 6:16:0 -Wl,--version-script=libstdc++-symbols.ver -lm -rpath
/usr/lib atomic.lo bitmap_allocator.lo pool_allocator.lo mt_allocator.lo
codecvt.lo compatibility.lo compatibility-c++0x.lo
compatibility-debug_list.lo compatibility-debug_list-2.lo
compatibility-list.lo compatibility-list-2.lo complex_io.lo ctype.lo
debug.lo functexcept.lo functional.lo globals_io.lo hash_c++0x.lo
hash_tr1.lo hashtable_c++0x.lo hashtable_tr1.lo ios.lo ios_failure.lo
ios_init.lo ios_locale.lo limits.lo list.lo locale.lo locale_init.lo
locale_facets.lo localename.lo math_stubs_float.lo
math_stubs_long_double.lo stdexcept.lo strstream.lo system_error.lo tree.lo
istream.lo placeholders.lo regex.lo shared_ptr.lo streambuf.lo mutex.lo
condition_variable.lo chrono.lo thread.lo future.lo valarray.lo
atomicity.lo codecvt_members.lo collate_members.lo ctype_members.lo
messages_members.lo monetary_members.lo numeric_members.lo time_members.lo
basic_file.lo c++locale.lo allocator-inst.lo concept-inst.lo ext-inst.lo
fstream-inst.lo ios-inst.lo iostream-inst.lo istream-inst.lo locale-inst.lo
misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo
string-inst.lo wlocale-inst.lo wstring-inst.lo    ../libsupc++/libsupc++
convenience.la
| libtool: link: arm-poky-linux-gnueabi-g++  -march=armv7-a
-fno-tree-vectorize -mtune=cortex-a8
--sysroot=/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2
-nostdinc++ -nostdlib++ -shared -nostdlib
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/lib/crti.o
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/lib/arm-poky-linux-gnueabi/4.6.3/crtbeginS.o
 .libs/atomic.o .libs/bitmap_allocator.o .libs/pool_allocator.o
.libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o
.libs/compatibility-c++0x.o .libs/compatibility-debug_list.o
.libs/compatibility-debug_list-2.o .libs/compatibility-list.o
.libs/compatibility-list-2.o .libs/complex_io.o .libs/ctype.o .libs/debug.o
.libs/functexcept.o .libs/functional.o .libs/globals_io.o
.libs/hash_c++0x.o .libs/hash_tr1.o .libs/hashtable_c++0x.o
.libs/hashtable_tr1.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o
.libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o
.libs/locale_init.o .libs/locale_facets.o .libs/localename.o
.libs/math_stubs_float.o .libs/math_stubs_long_double.o .libs/stdexcept.o
.libs/strstream.o .libs/system_error.o .libs/tree.o .libs/istream.o
.libs/placeholders.o .libs/regex.o .libs/shared_ptr.o .libs/streambuf.o
.libs/mutex.o .libs/condition_variable.o .libs/chrono.o .libs/thread.o
.libs/future.o .libs/valarray.o .libs/atomicity.o .libs/codecvt_members.o
.libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o
.libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o
.libs/basic_file.o .libs/c++locale.o .libs/allocator-inst.o
.libs/concept-inst.o .libs/ext-inst.o .libs/fstream-inst.o .libs/ios-inst.o
.libs/iostream-inst.o .libs/istream-inst.o .libs/locale-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/string-inst.o .libs/wlocale-inst.o
.libs/wstring-inst.o  -Wl,--whole-archive
../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive  -lm
-L/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/x86_64-linux/usr/lib/armv7a-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3
-L/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/x86_64-linux/usr/lib/armv7a-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/../../../../../arm-poky-linux-gnueabi/lib
-L/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/lib
-L/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/lib/arm-poky-linux-gnueabi/4.6.3
-L/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/lib
-lc -lgcc_s
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/lib/arm-poky-linux-gnueabi/4.6.3/crtendS.o
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/lq2/usr/lib/crtn.o
 -march=armv7-a -mtune=cortex-a8 -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-Wl,--version-script=libstdc++-symbols.ver   -Wl,-soname -Wl,libstdc++.so.6
-o .libs/libstdc++.so.6.0.16
*|
/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/build/tmp/sysroots/x86_64-linux/usr/libexec/armv7a-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/ld:
cannot find -lm*
| collect2: ld returned 1 exit status
NOTE: package gcc-runtime-4.6.2+svnr181430-r17: task do_compile: Failed

ERROR:
'/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/meta/recipes-devtools/gcc/
gcc-runtime_4.6.bb' failed
ERROR:
'/home/jsauer/Desktop/Yocto/poky-edison-6.0.1/meta/recipes-core/eglibc/
eglibc-locale_2.13.bb' failed

--Joe Sauer
Vernier Software & Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120518/6f43ee74/attachment.html>


More information about the yocto mailing list