" Conflicting architecture profiles A/M" at link time (building for ARM)

Home Forums Forum " Conflicting architecture profiles A/M" at link time (building for ARM)

This topic contains 1 reply, has 2 voices, and was last updated by  rich 8 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30193

    Andy Tai

    Hi, I am using ellcc (the latest build available from this site)

    ecc 0.1.27 based on clang version 3.8.0 (trunk) (based on LLVM 3.8.0svn)
    Target: x86_64-ellcc-linux
    Thread model: posix

    to build a C++ based program for ARM cortex-a9 (32-bit ARM) using this target: arm-ellcc-linux-eabi.

    Everything compiles fine, but during the final link stage I am getting a series of such error messages:

    /share/software/ellcc/ellcc/bin/ecc-ld: failed to merge target specific data of file ../../../lib/libframework.a(thread.cpp.o)
    /share/software/ellcc/ellcc/bin/ecc-ld: error: ../../../lib/libframework.a(timers.cpp.o): Conflicting architecture profiles A/M

    Teh build machine is x86-64 running Ubuntu 15.04.

    Any solutions for resolving this? Thanks for any info.

    #30259

    rich
    Keymaster

    Hi Andy,

    I’ll make a few guesses and observations.

    • You’re building something called libframework as part of your project.
    • It looks like that library is being build with cmake.
    • I think that your main sources should be compiled with arm-linux-engeabi, not arm-ellcc-linux-eabi.
    • Is it possible that libframework is being built with a different -target option?

    -Rich

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.