[Bug 912] New: uboot-openmoko build error for x86 arch

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Sat Oct 6 08:30:23 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=912

           Summary: uboot-openmoko build error for x86 arch
           Product: OpenMoko
           Version: current svn head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: u-boot
        AssignedTo: laforge at openmoko.org
        ReportedBy: gnomecn at gmail.com
                CC: buglog at lists.openmoko.org


I want to build openmoko to run on my notebook, and follow the guide :
http://wiki.openmoko.org/wiki/Getting_Openmoko_working_on_host_with_Xoo

my local.conf:

> cat build/conf/local.conf 
MACHINE = "x86"
DISTRO = "openmoko"
BUILD_ARCH = "i686"
INHERIT += "rm_work"
TARGET_FPU = ""
#PARALLEL_MAKE = "-j 2"
#BB_NUMBER_THREADS = "2"
ENABLE_BINARY_LOCALE_GENERATION = "1"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 zh_CN.UTF-8"

Error:

| make[2]: Entering directory
`/opt/openmoko/build/tmp/work/i486-angstrom-linux/uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943-r1/git/examples'
| i486-angstrom-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8
-msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 
-I/opt/openmoko/build/tmp/work/i486-angstrom-linux/uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943-r1/git/include
-fno-builtin -ffreestanding -nostdinc -isystem
/opt/openmoko/build/tmp/cross/lib/gcc/i486-angstrom-linux/4.1.2/include -pipe 
-DCONFIG_ARM -D__ARM__ -march=armv4  -Wall -Wstrict-prototypes -c -o
hello_world.o hello_world.c
| hello_world.c:1: error: bad value (armv4) for -march= switch
| hello_world.c:1: error: bad value (armv4) for -mtune= switch
| make[2]: *** [hello_world.o] Error 1
| make[2]: Leaving directory
`/opt/openmoko/build/tmp/work/i486-angstrom-linux/uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943-r1/git/examples'
| make[1]: *** [examples] Error 2
| make[1]: Leaving directory
`/opt/openmoko/build/tmp/work/i486-angstrom-linux/uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943-r1/git'
| FATAL: oe_runmake failed
NOTE: Task failed:
/opt/openmoko/build/tmp/work/i486-angstrom-linux/uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943-r1/temp/log.do_compile.17195
NOTE: package
uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943-r1:
task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package
uboot-openmoko-1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943: failed
ERROR: Build of
/opt/openmoko/openembedded/packages/uboot/uboot-openmoko_1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943.bb
do_compile failed
ERROR: Task 23
(/opt/openmoko/openembedded/packages/uboot/uboot-openmoko_1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 2822 tasks of which 2822 didn't need to be rerun
and 1 failed.
ERROR:
'/opt/openmoko/openembedded/packages/uboot/uboot-openmoko_1.2.0+gitf34024d4a328e6edd906456da98d2c537155c4f7+svn2943.bb'
failed
make: *** [openmoko-devel-image] Error 1



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list