This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: AM437x SDK build error

Tool/software: Linux

ERROR: external-linaro-toolchain-2013.03-r0.arago36 do_package: objcopy failed with exit code 1 (cmd was 'arm-linux-gnueabihf-objcopy' --add-gnu-debuglink='/home/jack/openembedded/tisdk-am437x-v4.03/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2013.03-r0.arago36/package/lib/.debug/libpthread-2.15.so' '/home/jack/openembedded/tisdk-am437x-v4.03/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2013.03-r0.arago36/package/lib/libpthread-2.15.so'):
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
arm-linux-gnueabihf-objcopy:/home/jack/openembedded/tisdk-am437x-v4.03/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2013.03-r0.arago36/package/lib/stqdYtfO: cannot create debug link section `/home/jack/openembedded/tisdk-am437x-v4.03/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2013.03-r0.arago36/package/lib/.debug/libpthread-2.15.so': Invalid operation
ERROR: external-linaro-toolchain-2013.03-r0.arago36 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /home/jack/openembedded/tisdk-am437x-v4.03/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2013.03-r0.arago36/temp/log.do_package.35951
ERROR: Task (/home/jack/openembedded/tisdk-am437x-v4.03/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 359 tasks of which 358 didn't need to be rerun and 1 failed