[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

cannot create debug link section
Invalid operation

ERROR: Function failed: split_and_strip_files

ERROR: Logfile of failure stored in:

ERROR: Task 516
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/"
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?



More information about the meta-freescale mailing list