Missing memcpy(), memset() and strlen()

Comments

11 comments

  • Avatar
    Ed Graham

    I am also seeing this problem.  My CrossWorks version is 4.9.1.2022120900.52035.

    0
    Comment actions Permalink
  • Avatar
    Mark Butcher

    Hi All

    I have found that some old project do build but others don't but when comparing all properties there is no difference found.

    When it works I find this in the map file:

                    0x0000000000001270       0x52 C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 4.10/lib/libc_v7em_t_le_eabi.a(libc2_asm.o)
                    0x0000000000001270                __aeabi_memcpy
                    0x0000000000001270                memcpy
                    0x000000000000127c                __aeabi_memcpy8
                    0x000000000000127c                __aeabi_memcpy4

    showing that it has taken memcpy() from this library, which is at the location defined by the library standard libraries directory property.

    Project which fail have identical settings but don't look to include the library and so can't link.

    Regards

    Mark

    1
    Comment actions Permalink
  • Avatar
    Ed Graham

    Can anybody from Rowley help us out here?

    1
    Comment actions Permalink
  • Avatar
    Markus

    Hello,

    we are also using Kinetis Controller with Crossworks and haven’t faced any problems up to now.

    I think the problem is not reproducible in a small demo project?

    @Mark When you compared the settings of two projects, did you do this in the GUI or did you compare the project file?

    1
    Comment actions Permalink
  • Avatar
    Mark Butcher

    Hi

    I compared the GUI settings.

    In the meantime I have heard that the reference project works with CW4.3 but now with CW4.8 so something happens when there is a version change, although the exact version it fails is not known.

    Regards

    Mark

     

    1
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Hi Mark,

    Sorry I missed this - can you attach the project file. I'll see if I can see something.

    Regards

    Michael

    1
    Comment actions Permalink
  • Avatar
    Mark Butcher

    Hello Michael

    I have copied the project file(s) of one project that fails to link with newer CW versions. Maybe you spot the cause (the project is for a Kinetis part).

    https://www.utasker.com/temp/CW/uTaskerBoot.hzp
    https://www.utasker.com/temp/CW/uTaskerBoot.hzs

    Thanks

    Regards

    Mark


    Mark

    1
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Hi Mark,

    Looks like "Include Standard Libraries" is set to "No" in the "THUMB Release" configuration.

    Regards

    Michael

    1
    Comment actions Permalink
  • Avatar
    Mark Butcher

    Hi Michael

    Many thanks - when I did a check of these I either didn't notice the difference or the properties were being checked from a different target setting.
    It it still strange that older CW versions built with this same project but maybe a different target was selected?

    In any case the adjustment allowed all of the projects to link again so that is very positive - thanks again!

    Regards

    Mark


    1
    Comment actions Permalink
  • Avatar
    Ed Graham

    Thanks all - that solved my problem, too.  The difference between "Solution properties" and "Project properties" is subtle and the CrossWorks IDE does not make this distinction especially clear!

    1
    Comment actions Permalink
  • Avatar
    Michael Johnson

    There's a drop down in the project explorer that you can use to show the properties that are set. I use this to figure out what is set.

    0
    Comment actions Permalink

Please sign in to leave a comment.