Bug 4088 - Linaro binary toolchain Can't compiled nfs-utils-1.2.7, configure libvpx-0.9.5 failured and python-2.7.3 QA Issue.
Summary: Linaro binary toolchain Can't compiled nfs-utils-1.2.7, configure libvpx-0.9....
Status: RESOLVED INVALID
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: linaro (show other bugs)
Version: 1.4
Hardware: x86 arm
: Undecided major
Target Milestone: ---
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-03-23 15:01 UTC by scanli
Modified: 2013-03-24 21:42 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scanli 2013-03-23 15:01:19 UTC
my local.conf:
TCMODE = "external-linaro"
EXTERNAL_TOOLCHAIN = "/home/ljc/gcc-linaro-arm-linux-gnueabihf-2012.08-20120827_linux"
IMAGE_LINGUAS = ""
LIMIT_BUILT_LOCALES = "POSIX"
DEFAULTTUNE_qemuarmv7a = "armv7athf-neon"        
LICENSE_FLAGS_WHITELIST = "commercial"
INSANE_SKIP_${PN} += "ldflags"

Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarmv7a"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130323"
TUNE_FEATURES     = "armv7a vfp"
TARGET_FPU        = "vfp"
meta              
meta-yocto        
meta-yocto-bsp    
meta-hob          = "master:6211a2bdd32f7b2c8de7a5d75353c0522c8d4230"
toolchain-layer   = "master:d4051ea47c3842f7acb1ba1d8eb688d275ace11f"
meta-linaro-toolchain 
meta-linaro       = "master:9ba698baa24d78b9400292c7738ad34edaf63e05"
meta-baryon       = "master:ba4283dd3c7199270d332e0fa69cdccf06fb3fef"
meta-oe           = "master:d4051ea47c3842f7acb1ba1d8eb688d275ace11f"
......

ERROR: QA Issue: No GNU_HASH in the elf binary: '/media/9916233e-cc4d-4e15-9b67-a7d6c0d73f3e/poky/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/python/2.7.3-r0.3/packages-split/python-audio/usr/lib/python2.7/lib-dynload/ossaudiodev.so'
.......

compile nfs-utils-1.2.7 Errors:
/nfs-utils/1.2.7-r1/temp/log.do_compile.23256:
/usr/bin/ld: fatal error: /home/ljc/gcc-linaro-arm-linux-gnueabihf-2012.08-20120827_linux/arm-linux-gnueabihf/lib/libgcc_s.so.1: unsupported ELF machine number 40
collect2: ld returned 1 exit status
......

configure libvpx-0.9.5 failured:
/poky/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/libvpx/0.9.5-r3.0/temp/log.do_configure.10631
Configuring selected codecs
  enabling vp8_encoder
  enabling vp8_decoder
Configuring for target 'armv7-linux-gcc'
  enabling armv7
  enabling armv6
  enabling armv5te
  enabling fast_unaligned
Toolchain is unable to link executables

Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.err) to determine what
configure was trying to do when it died.
ERROR: Function failed: do_configure
Comment 1 Richard Purdie 2013-03-24 10:20:50 UTC
This is an issue that needs to be taken up with the Linaro developers and maintainer of the external toolchain, its not something the Yocto Project is responsible for. Please report it using whatever mechanism they use for tracking bugs.
Comment 2 Marcin Juszkiewicz 2013-03-24 21:42:53 UTC
Few notes:

1. Using Linaro toolchain older then 1-2 months is asking for problems. You will have to check newest one anyway.

2. report bugs in Linaro bugtracker: https://bugs.launchpad.net/linaro-toolchain-binaries

3. nfs-utils 1.2.7 built fine with 2013.03 cross from Linaro.