[meta-freescale] do_package (arm-poky-linux-gnueabi-objcopy) fails

Luke Schwoebel lukeschwoebel at gmail.com
Tue Nov 19 09:37:55 PST 2013


Good Morning,

on trying to compile a custom make-file-based package ("libxbee"), I
get an error while the do_package routine is running. My board is iMX6
wandboard-quad and I am using the dora-branch.


ERROR: objcopy failed with exit code 256 (cmd was
'arm-poky-linux-gnueabi-objcopy'
--add-gnu-debuglink='/..../build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libxbee/3-r2/package/usr/lib/.debug/libxbee.so.3.0.10'
'/..../build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libxbee/3-r2/package/usr/lib/libxbee.so.3.0.10'):

arm-poky-linux-gnueabi-objcopy:/..../build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libxbee/3-r2/package/usr/lib/stB6ee1m:
cannot create debug link section
`/..../build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libxbee/3-r2/package/usr/lib/.debug/libxbee.so.3.0.10':
Invalid operation

ERROR: Function failed: split_and_strip_files

ERROR: Logfile of failure stored in:
/..../build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/libxbee/3-r2/temp/log.do_package.3126

ERROR: Task 516
(/..../sources/meta-wvsnp-pkgs/recipes-libxbee/libxbee/libxbee_3.bb,
do_package) failed with exit code '1'



I had some troubles to get it compiling, but these steps are running
through smoothly now. But I cannot figure out what exactly fails
during the packaging-process.
First, is there any way how I can disable the split_and_strip_files
method in do_package?



If you need it, here is my recipe file for it:


DESCRIPTION = "A C/C++ library to aid the use of Digi XBee radios in API mode."
SECTION = "base"
HOMEPAGE = "http://code.google.com/p/libxbee/"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

SRC_URI = "git://github.com/attie/libxbee3.git;protocol=git"
SRCREV = "aad1fce3864eccc80a003b3b93010e6f56bb87dd"

S = "${WORKDIR}/git/"

PR = "r1"


do_configure() {
  oe_runmake configure
}
do_compile() {
  oe_runmake all
}
do_install () {
    mkdir -p ${D}/usr/share/man/man3
    oe_runmake install SYS_ROOT=${D}
}


Does anyone have an idea?

Thanks,

Lukas.


More information about the meta-freescale mailing list