Closed NicolasFlamel1 closed 2 years ago
@NicolasFlamel1 what version of clang did you use? I tried clang 14 and got the same
ah, I haven't updated ld.lld
to point to 14. After doing that, I get messages of this sort:
ld.lld: error: obj/celo.o:(.debug_info+0x30): has non-ABS relocation R_ARM_SBREL32 against symbol 'appState'
worked with 13 :)
@kobigurk I'm using version 13.0.0.
Not sure is this related to the version upgrade, but
clang -v
now returns "Ubuntu clang version 12.0.0-3ubuntu1~20.04.5"
so this line: https://github.com/LedgerHQ/nanosplus-secure-sdk/blob/9da334cdcde521bc54d0a50172e167a09f94eec5/Makefile.rules_generic#L38
will fail because the cut -f3 -d' '
will now get "version" instead of number.
These issues should be fixed with the new version of the Docker container. It has been upgraded to LLVM 12 (#30). Let us know if the problem still persists.
@apaillier-ledger I can confirm that this issue is fixed now. Thank you.
Compiling apps for the Nano S Plus causes Clang to seg fault.
Here's steps to recreate this issue. This example uses the new Bitcoin app, but this error happens on ever app that I've tried so far.
And here's the error.
I'm able to workaround this issue by providing a
CLANGPATH
to a newer version of Clang. The version of Clang that the app builder uses may need to be updated.