Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Stack Overflow check breaks build #11

Closed
ypopovych opened this issue May 5, 2022 · 2 comments
Closed

Stack Overflow check breaks build #11

ypopovych opened this issue May 5, 2022 · 2 comments

Comments

@ypopovych
Copy link

ypopovych commented May 5, 2022

Hello.

Seem as a stack canary breaks build on Nano X and Nano S+ SDKs.
Build fails on linking stage with ld.lld: error: SBREL relocation to _stack without static base.

The same code works for Nano S SDK.

How can this be fixed?

@Ericson2314
Copy link

RWPI causes this: any symbol with a value that is not an address contained in the right sort of section (even though the symbol may be absolute_ causes issue.

I tried getting rid of rwpi everywhere I could find it and things still worked in Speculos, but I have yet to try on a Nano S+. (Nano X does not support side loading and I am not a ledger Hq employee so I cannot test that at all.)

@xchapron-ledger
Copy link
Contributor

If this is still an issue for you, can you please create an issue in the new sdk https://github.com/LedgerHQ/ledger-secure-sdk/ ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants