[oe] Angstrom, compulab-pxa270, and gpe-image

Andrew Paulsen andrew.paulsen at gmail.com
Wed Nov 22 21:20:09 UTC 2006


On 11/22/06, Andrew Paulsen <andrew.paulsen at gmail.com> wrote:
> I'm trying to "bitbake gpe-image" using the Angstrom distribution and
> the computlab-pxa270 machine.
>
> The error I'm getting is:
>
> NOTE: build 200611220923: started
>
> OE Build Configuration:
> BB_VERSION     = "1.6.3"
> OE_REVISION    = "2735a1770517f8ac5497ef178efb990839a57508"
> TARGET_ARCH    = "arm"
> TARGET_OS      = "linux-gnueabi"
> MACHINE        = "compulab-pxa270"
> DISTRO         = "angstrom"
> DISTRO_VERSION = "test-20061122"
> TARGET_FPU     = "soft"
>
> <snip>
>
> | make[2]: Entering directory
> `/home/packet/OpenEmbedded/build/tmp/work/compulab-pxa270-angstrom-linux-gnueabi/compulab-pxa270-2.6.16-r2/linux-2.6.16'
> |   CC      drivers/block/rd.o
> |   CC      drivers/block/loop.o
> | make[3]: Entering directory
> `/home/packet/OpenEmbedded/build/tmp/work/compulab-pxa270-angstrom-linux-gnueabi/compulab-pxa270-2.6.16-r2/linux-2.6.16'
> |   CC      drivers/block/cl_flash/cl_nordev.o
> | drivers/block/cl_flash/cl_nordev.c:359: warning: initialization from
> incompatible pointer type
> | drivers/block/cl_flash/cl_nordev.c:29: warning: 'major' defined but not used
> | drivers/block/cl_flash/cl_nordev.c:163: warning: 'do_flash_request'
> defined but not used
> | drivers/block/cl_flash/cl_nordev.c:76: warning: 'flash_fops' defined
> but not used
> | drivers/block/cl_flash/cl_nordev.c:86: warning: 'flash_gendisk'
> defined but not used
> | drivers/block/cl_flash/cl_nordev.c:87: warning: 'flash_lock' defined
> but not used
> | drivers/block/cl_flash/cl_nordev.c:88: warning: 'flash_queue'
> defined but not used
> |   CC      drivers/block/cl_flash/cl_blkdev.o
> | drivers/block/cl_flash/cl_blkdev.c: In function 'cl_nand_ioctl':
> | drivers/block/cl_flash/cl_blkdev.c:529: warning: ISO C90 forbids
> mixed declarations and code
> |   CC      drivers/block/cl_flash/cl_nanddev_x270.o
> |   LD      drivers/block/cl_flash/fdrv.o
> | arm-angstrom-linux-gnueabi-ld: ERROR:
> drivers/block/cl_flash/CL_FlashDrv uses FPA instructions, whereas
> drivers/block/cl_flash/fdrv.o does not
> | arm-angstrom-linux-gnueabi-ld: failed to merge target specific data
> of file drivers/block/cl_flash/CL_FlashDrv
> | make[3]: *** [drivers/block/cl_flash/fdrv.o] Error 1
> | make[3]: Leaving directory
> `/home/packet/OpenEmbedded/build/tmp/work/compulab-pxa270-angstrom-linux-gnueabi/compulab-pxa270-2.6.16-r2/linux-2.6.16'
> | make[2]: *** [drivers/block/cl_flash] Error 2
> | make[2]: Leaving directory
> `/home/packet/OpenEmbedded/build/tmp/work/compulab-pxa270-angstrom-linux-gnueabi/compulab-pxa270-2.6.16-r2/linux-2.6.16'
> | make[1]: *** [drivers/block] Error 2
> | make[1]: Leaving directory
> `/home/packet/OpenEmbedded/build/tmp/work/compulab-pxa270-angstrom-linux-gnueabi/compulab-pxa270-2.6.16-r2/linux-2.6.16'
> | make: *** [drivers] Error 2
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/packet/OpenEmbedded/build/tmp/work/compulab-pxa270-angstrom-linux-gnueabi/compulab-pxa270-2.6.16-r2/temp/log.do_compile.22708
> NOTE: package compulab-pxa270-2.6.16-r2: task do_compile: failed
>

Upon further inspection, it appears that the distribution is built
with attributes [VFP float format] [software FP], while the
CL_FlashDrv binary from Compulab has attributes [FPA float format]
[software FP], thus the error.

Is there a way around this?




More information about the Openembedded-devel mailing list