[oe-issues] [Bug 2953] New: gstreamer_0.10.14.bb do_configure fails for x86_64

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sat Sep 8 16:44:56 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2953

           Summary: gstreamer_0.10.14.bb do_configure fails for x86_64
           Product: Openembedded
           Version: Angstrom
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: mdevico at qualcomm.com


I'm trying to build the angstrom-2007.1 distro for x86_64 and I'm getting the
following during gstreamer do_configure:

| checking if unaligned memory access works correctly... configure: error:
cannot run test program while cross compiling
| See `config.log' for more details.
| FATAL: oe_runconf failed
NOTE: Task failed:
/opt/data/OpenEmbedded_x86_64/tmp/work/x86_64-angstrom-linux/gstreamer-0.10.14-r0/temp/log.do_configure.8164
NOTE: package gstreamer-0.10.14-r0: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gstreamer-0.10.14: failed
ERROR: Build of
/opt/data/OpenEmbedded_x86_64/org.openembedded.dev/packages/gstreamer/gstreamer_0.10.14.bb
do_configure failed
ERROR: Task 830
(/opt/data/OpenEmbedded_x86_64/org.openembedded.dev/packages/gstreamer/gstreamer_0.10.14.bb,
do_configure) failed
NOTE: Tasks Summary: Attempted 1016 tasks of which 1016 didn't need to be rerun
and 1 failed.
ERROR:
'/opt/data/OpenEmbedded_x86_64/org.openembedded.dev/packages/gstreamer/gstreamer_0.10.14.bb'
failed

Here is what my x86_64 machine file looks like:

TARGET_ARCH = "x86_64"
PACKAGE_EXTRA_ARCHS = "x86 i386 i486 i586"

PREFERRED_PROVIDER_virtual/kernel = "linux-x86-64"
PREFERRED_VERSION_linux-x86-64   ?= "2.6.20"

KERNEL_IMAGETYPE = "bzImage"

GLIBC_ADDONS = "nptl"
GLIBC_EXTRA_OECONF = "--with-tls"

IMAGE_FSTYPES = "ext3.gz"

MACHINE_FEATURES = "kernel26 screen keyboard pci ushbost acpi ext3" 
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
MACHINE_TASK_PROVIDER = "task-base"

Here is what my linux-x86-64_2.6.20.bb file looks like:

require linux.inc

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2"

S = "${WORKDIR}/linux-${PV}"

KERNEL_IMAGETYPE ?= "bzImage"

inherit kernel

COMPATIBLE_HOST = "x86_64.*-linux"

do_stage_append () {
#need x86_64 platforms includes + friends in order for external kernel modules
to compile as headers a$

       install -d ${STAGING_KERNEL_DIR}/arch/
       cp -a arch/x86_64 ${STAGING_KERNEL_DIR}/arch/

       install -d ${STAGING_KERNEL_DIR}/include/asm
       cp -a include/asm-x86_64 ${STAGING_KERNEL_DIR}/include/
}

do_deploy() {
        install -d ${DEPLOY_DIR_IMAGE}
        install -m 0644 arch/x86_64/boot/${KERNEL_IMAGETYPE} 
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME} 
}   

do_deploy[dirs] = "${S}"

addtask deploy before do_populate_staging after do_compile

If I build using the i686-generic MACHINE type, it works fine. My host build
machine is running Fedora FC7 and the processor is an Intel 6300.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list