LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 04-15-2009, 05:25 AM   #1
naveen_chandran
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Unable to build bootstrap image on OpenEmbedded


I tried building the bootstrap-image using OpenEmbedded for the i.MX31ADS target board.

The configuration is as below:

OE Build Configuration:
BB_VERSION = "1.8.12"
METADATA_BRANCH = "<unknown>"
METADATA_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-uclibc"
MACHINE = "mx31ads"
DISTRO = "minimal-uclibc"
DISTRO_VERSION = "2009.X-test-20090420"
TARGET_FPU = "soft"

The build went on fine for some time after which it hit back with the following VFP errors:

/home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_udivsi3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_udivsi3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_divsi3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_divsi3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_umodsi3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_umodsi3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_modsi3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_modsi3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_dvmd_lnx.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_dvmd_lnx.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_addsubdf3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_addsubdf3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_muldivdf3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_muldivdf3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_cmpdf2.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_cmpdf2.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_fixunsdfsi.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_fixunsdfsi.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_truncdfsf2.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_truncdfsf2.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_divdi3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_divdi3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_moddi3.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_moddi3.o)
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: ERROR: /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_clz.o) uses VFP instructions, whereas lib/libuClibc-0.9.30.so does not
| /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /home/avdcodec/stuff/build/tmp/cross/armv6/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_clz.o)
| collect2: ld returned 1 exit status
| make: *** [lib/libc.so] Error 1
NOTE: Task failed: /home/avdcodec/stuff/build/tmp/work/mx31ads-linux-uclibc/uclibc-initial-0.9.30-r5/temp/log.do_stage.19216
NOTE: package uclibc-initial-0.9.30-r5: task do_populate_staging: failed
ERROR: TaskFailed event exception, aborting
NOTE: package uclibc-initial-0.9.30: failed
ERROR: Build of /home/avdcodec/stuff/openembedded/packages/uclibc/uclibc-initial_0.9.30.bb do_populate_staging failed
ERROR: Task 360 (/home/avdcodec/stuff/openembedded/packages/uclibc/uclibc-initial_0.9.30.bb, do_populate_staging) failed
NOTE: Tasks Summary: Attempted 153 tasks of which 153 didn't need to be rerun and 1 failed.
ERROR: '/home/avdcodec/stuff/openembedded/packages/uclibc/uclibc-initial_0.9.30.bb' failed
NOTE: build 200904131445: completed

Any pointers on how to overcome these VFP errors is greatly appreciated.

Thanks.
Naveen

Last edited by naveen_chandran; 04-21-2009 at 12:30 AM.
 
  


Reply

Tags
errors


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC Build error Bootstrap comparison failure! R03L Linux From Scratch 4 07-22-2009 01:55 PM
OpenEmbedded or BuildRoot ? i_PingGuo Linux - Embedded & Single-board computer 0 01-06-2009 02:13 AM
Unable to build the NVIDIA kernel module(linux-image-2.6.21-2-686) Mathsniper Debian 5 08-04-2007 03:53 AM
Build Error During Gentoo Bootstrap jrtayloriv Linux - Newbie 2 12-31-2004 12:40 PM
GCC first build for LFS, bootstrap error Blibblob Linux From Scratch 8 01-07-2004 06:50 PM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration