2019-05-02 03:33 AM
Hello,
I tried to port an TouchGFX-Application from ARM5-Compiler (ARMCC) to ARM6 (ARMCLANG). Both compilers are from KEIL (µVision).
Well it does compile, but it doesn't link:
Warning: L6869W: abstractpainter.o requested the Rogue Wave Standard C++ Library which has been removed from the product. This might cause link errors because libc++ is used instead.
Error: L6242E: Cannot link object abstractshape.o as its attributes are incompatible with the image attributes.
(There are a lot more linker errors)
I do believe the provided TouchGFX-Library is not compatible with ARMCLANG (and there is no other library supplied in ...\TouchGFX\4.10.0\touchgfx\lib\core\cortex_m7\Keil)
Is that the case, or did I miss something else?
Solved! Go to Solution.
2019-05-03 03:50 AM
Hi @PBull,
You're correct - We do not provide an ARMCLANG compatible library.
Edit: I created one anyway here, for Cortex-M7.
Edit 11/06/2020: ARMCLANG support will be out for 4.14.0 which we're working on now. This release will also see an ARMCLANG lib for Cortex-M33.
Best regards,
Martin
2019-05-03 03:50 AM
Hi @PBull,
You're correct - We do not provide an ARMCLANG compatible library.
Edit: I created one anyway here, for Cortex-M7.
Edit 11/06/2020: ARMCLANG support will be out for 4.14.0 which we're working on now. This release will also see an ARMCLANG lib for Cortex-M33.
Best regards,
Martin
2020-01-27 11:59 PM
Hi @Martin KJELDSEN
Any news on this?
2020-01-28 01:15 AM
No news. As in, it's not a priority at the moment.
2020-01-30 12:57 PM
Adding my two cents:
ARMCC is no longer being actively developed by Keil.
It contains many features of C++11, but the STL is still C++03 (so no std::array etc ...).
ARMCLANG supports newer C++ standards.
If your project depends on the middleware from Keil, you are stucked to ARMCC, because of TouchGFX (Lib).
I would like to see it on the roadmap.
Best regards,
Peter
2020-01-30 11:41 PM
My words exactly.
And we would like to develop a new product, but not with an old compiler...
So, I also would like to see it on the roadmap.
Regards, jimmii
2020-01-31 01:26 AM
I agree. You're not alone. It takes about 1 minute to produce such a lib for me (in theory) - I will check to see if i can release it as a "patch".
2020-01-31 02:39 AM
That would be super great and much appreciated.:folded_hands:
2020-01-31 02:59 AM
2020-01-31 03:15 AM
thanks, unfortunately following linker errors occur:
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object abstractpartition.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object lcd16bpp.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object application.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object bitmap.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object constfont.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object dma.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object font.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object fontmanager.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object hal.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object lcd.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object screen.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object textprovider.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object typedtext.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object unicode.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object utils.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object container.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object displaytransformation.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object drawable.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object gestures.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object stm32_crc_lock.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object texturemaptypes.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.
TestCompiler\TestCompiler.axf: Error: L6242E: Cannot link object touchcalibration.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
... packed-enum clashes with enum_is_int.