• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » TI C/C++ Compiler » TI C/C++ Compiler - Forum » VFP Coprocessor Support issue when linking against RealView DS-5 object files
Share
TI C/C++ Compiler
  • Forum
Options
  • Subscribe via RSS

Forums

VFP Coprocessor Support issue when linking against RealView DS-5 object files

This question is answered
Ryan Byrne
Posted by Ryan Byrne
on Apr 23 2012 15:43 PM
Prodigy40 points

Hello,

I am trying to link a library compiled by RealView DS-5 in Code Composer Studio 5.1 for the LM4F232H5QD with M4 floating point support (--float_support=FPv4SPD16), and I am getting the error:

"fatal error #16016: file "../../xxx.lib<yyy.o>" was built without VFP
   coprocessor support while a previously seen file was; combining incompatible
   files"

The library that I am linking against has no floating point operations, and I have tried compiling the lib with every FPU type supported by the DS-5 compiler, including "FPv4-SP" (the Cortex-M4F cpu default). I have also tried every fpmode available. The DS-5 compiler is version 5.01 Build 64, and the TI toolchain version is 4.9.1. I've tried TI toolchain version 4.9.3 as well on CCS4 with the same results.

I have seen other threads with the same issue on different platforms with different toolchains. Is this an issue with the TI linker?

VFP Coprocessor FPv4-SP Realview DS-5 linking object
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • George Mock
    Posted by George Mock
    on Apr 23 2012 16:35 PM
    Guru51565 points

    Please see if this Wiki article helps.  -George


    TI C/C++ Compiler Forum Moderator
    Please click Verify Answer on the best reply to your question.
    The Compiler Wiki answers most common questions.
    Track an issue with SDOWP. Enter your bug id in the "Find Record ID" box.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Byrne
    Posted by Ryan Byrne
    on Apr 24 2012 07:57 AM
    Prodigy40 points

    George,

    Thanks for the response. Unfortunately, It didn't resolve the issue for me.

    Also, I have tried enabling eabi support with the DS-5 compiler, and it does not fix the issue.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Archaeologist
    Posted by Archaeologist
    on Apr 24 2012 08:54 AM
    Mastermind40900 points

    I presume xxx.lib is the library compiled by DS-5.  Please use the command-line utility ofd470 to dump xxx.lib and post the result here.  If you would rather excise the names of symbols and whatnot, you can cut it down to just the file compatibility information for yyy.o.  Search through the dump for the section corresponding to yyy.o and copy the "Object File Information" and "Build Attributes" sections.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Byrne
    Posted by Ryan Byrne
    on Apr 24 2012 09:23 AM
    Prodigy40 points

    Yes, xxx.lib is the library compiled by DS-5. I've attached the ofd dump here:

    1067.ofd_output.txt

    The command line options I used with the DS-5 are as follows:

    --cpu=Cortex-M4.fp --fpu=FPv4-SP --library_interface=aeabi_clib --thumb -Ospace

    Thank you for looking into this issue.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • codya
    Posted by codya
    on Apr 24 2012 10:27 AM
    Verified Answer
    Verified by Ryan Byrne
    Expert3040 points

    Ryan,

    This is a known bug, SDSCM00033221. The issue is that the TI linker will always treat files from other vendors as not being built with VFP support, regardless of the options used. The bug has been fixed and will be available in the 5.0 release which will be available this summer.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Byrne
    Posted by Ryan Byrne
    on Apr 24 2012 10:37 AM
    Prodigy40 points

    codya,

    Thanks for clearing this up for me. I will be looking forward to the next release.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use