Open ryanbarry opened 4 years ago
Sorry, I have no spare time at the moment to investigate this issue, but it reminds me an old issue I logged against clang nearly 3 years ago: https://bugs.llvm.org/show_bug.cgi?id=34578, and that got magically "fixed" somewhere in the 9.x branch - see the last comment.
Maybe there has been a regression introduced with 10.0, I haven't got time to test 10.0 with the default libs - I'm using custom link scripts.
Try to create a symbolic link from the awkward lib name to the real one, it may help if you're stalled. I'll try to reproduce this when I get some spare time.
quick response! and i hear ya, no rush. i have gotten by using the symlink trick for now (also, actually found -nostdlib
which is great for me for the moment since i want to learn from scratch).
i'll try to take a look at that issue you logged, maybe play with link scripts too... i've got a lot to learn 😄
Hi,
You may want to have a look at the https://github.com/eblot/tde-base repos, you may find some info about the linker & stuff (there are two sub repos for Cortex-M4, STM32L4 & nRF52).
BR.
hi there, first off thanks for putting this tap together, it's exactly what i needed! secondly, i think i'm probably doing something wrong but i don't think i'm doing anything odd and i'm new to this so i'll try to give all the info i can and hopefully it will be clear if there's a bug or it's my mistake.
i have installed
armv7em-cortex-m4f
(which installedarm-none-eabi-llvm
for me)my build is failing with the following error:
the command i'm running is:
and the full output, including the "bad" lld command is:
i don't understand what i'm doing/have done that would make it add the
-lclang_rt.builtins-armv7em.a
argument to lld... seems like i just need it to not add the suffix on there?