AnsweredAssumed Answered

Getting Error "archive.lo' is not a valid libtool object" QorIQ-SDK-V1.3.2-20130325-yocto on Ubuntu-12.04.2 LTS

Question asked by Ravi Rao on Apr 8, 2013
Latest reply on Apr 10, 2013 by Roy Bieda

Hi All,

   I am trying to build a fsl-image-minimal using 1.3.2 SDK for p2020rdb target on a Ubuntu 12.04.2 LTS running on 32 bit linux. I am getting the following error "powerpc-fsl-linux-gnuspe-libtool: link: `archive.lo' is not a valid libtool object"

 

Looks like only archive64.lo is getting built even on a 32bit host  Any idea how to fix this ??

 

bitbake fsl-image-minimal

WARNING: Host distribution "Ubuntu 12.04.2 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Loading cache: 100% |###################################################################################| ETA:  00:00:00

Loaded 1587 entries from dependency cache.

Parsing recipes: 100% |#################################################################################| Time: 00:00:01

Parsing of 1239 .bb files complete (1238 cached, 1 parsed). 1587 targets, 47 skipped, 0 masked, 0 errors.

 

OE Build Configuration:

BB_VERSION        = "1.15.2"

TARGET_ARCH       = "powerpc"

TARGET_OS         = "linux-gnuspe"

MACHINE           = "p2020rdb"

DISTRO            = "fsl"

DISTRO_VERSION    = "1.2"

TUNE_FEATURES     = "m32 spe ppce500v2"

TARGET_FPU        = "ppc-efd"

meta             

meta-yocto        = "master:8021de728fb4280cc87287aac000fe0a455add4d"

meta-fsl-ppc      = "master:b33c85735a8057fc80bd5c2bd75e811ecb23e8a1"

meta-fsl-ppc-private = "denzil:58acef396b469cc07cea83d5836975a96e4029d2"

meta-oe          

meta-webserver    = "master:b74564e74d51cc36cb292cd174ce9944fb2c7450"

 

NOTE: Resolving any missing task queue dependencies

NOTE: Preparing runqueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

NOTE: Running task 644 of 1294 (ID: 853, /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/meta-fsl-ppc/recipes-devtools/binutils/binutils_2.21.1a.bb, do_compile)

NOTE: Running task 665 of 1294 (ID: 1050, /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/meta-fsl-ppc/recipes-connectivity/openssl/openssl_1.0.1c.bb, do_configure)

NOTE: package binutils-2.21.1a-r0: task do_compile: Started

NOTE: package openssl-1.0.1c-r15.0: task do_configure: Started

ERROR: Function failed: do_compile (see /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/temp/log.do_compile.8126 for further information)

ERROR: Logfile of failure stored in: /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/temp/log.do_compile.8126

Log data follows:

| DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc32-linux', 'powerpc-linux-gnuspe', 'common']

| NOTE: make -j 2

| make[1]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe'

| make[1]: Nothing to be done for `all-target'.

| make[2]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/libiberty'

| make[2]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/intl'

| make[2]: Nothing to be done for `all'.

| make[2]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/intl'

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/libiberty/testsuite'

| make[3]: Nothing to be done for `all'.

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/libiberty/testsuite'

| make[2]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/libiberty'

| make[2]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb

_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/etc'

| for f in standards.info configure.info; do \

|       if test -f /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \

|         if make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \

|           true; \

|         else \

|           exit 1; \

|         fi; \

|       fi; \

|     done

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/etc'

| make[3]: `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/etc/standards.info' is up to date.

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/etc'

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/etc'

| make[3]: `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/etc/configure.info' is up to date.

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/etc'

| make[2]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/etc'

| make[2]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd'

| Making info in doc

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/doc'

| make[3]: Nothing to be done for `info'.

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/doc'

| Making info in po

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/po'

| make[3]: Nothing to be done for `info'.

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/po'

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd'

| make[3]: Nothing to be done for `info-am'.

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd'

| make  all-recursive

| make[3]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd'

| Making all in doc

| make[4]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/doc'

| make[4]: Nothing to be done for `all'.

| make[4]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/doc'

| Making all in po

| make[4]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/po'

| make[4]: Nothing to be done for `all'.

| make[4]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/po'

| make[4]: Entering directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd'

| /bin/bash ./powerpc-fsl-linux-gnuspe-libtool --tag=CC   --mode=link powerpc-fsl-linux-gnuspe-gcc  -m32   -mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double --sysroot=/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/sysroots/p2020rdb -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -O2 -pipe -g -feliminate-unused-debug-types  -release `cat libtool-soversion`  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o libbfd.la -rpath /usr/lib archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo verilog.lo `cat ofiles` /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd/../libiberty/pic/libiberty.a -Wl,-lc,--as-neeERROR: Function failed: do_compile (see /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/temp/log.do_compile.8126 for further information)

| ded,-lm,--no-as-needed  -lz

| powerpc-fsl-linux-gnuspe-libtool: link: `archive.lo' is not a valid libtool object

| make[4]: *** [libbfd.la] Error 1

| make[4]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/ppce500v2-fsl-linux-gnuspe/binutils-2.21.1a-r0/binutils-2.21.1/build.powerpc-fsl-linux-gnuspe.powerpc-fsl-linux-gnuspe/bfd'

| make[3]: *** [all-recursive] Error 1

| make[3]: Leaving directory `/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release/tmp/work/

NOTE: package binutils-2.21.1a-r0: task do_compile: Failed

ERROR: Task 853 (/home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/meta-fsl-ppc/recipes-devtools/binutils/binutils_2.21.1a.bb, do_compile) failed with exit code '1'

Waiting for 1 running tasks to finish:

0: openssl-1.0.1c-r15.0 do_configure (pid 8127)

NOTE: package openssl-1.0.1c-r15.0: task do_configure: Succeeded

NOTE: Tasks Summary: Attempted 665 tasks of which 663 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /home/rrao/QorIQ-SDK-V1.3.2-20130325-yocto/meta-fsl-ppc/recipes-devtools/binutils/binutils_2.21.1a.bb, do_compile

Summary: There was 1 WARNING message shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

rrao@ubuntu:~/QorIQ-SDK-V1.3.2-20130325-yocto/build_p2020rdb_release$

 

Thanks & Regards,

Ravi

Outcomes