This repository was archived by the owner on Jan 24, 2022. It is now read-only.
This repository was archived by the owner on Jan 24, 2022. It is now read-only.
Linker error: "no memory region specified for section '.ARM.extab'" #157
Closed
Description
I'm working with generators and async/await. I tried to move some more complex function into a generator, but I got the following linker error when compiling in debug mode:
rust-lld: error: no memory region specified for section '.ARM.extab'
I looked for other mentions of .ARM.extab
on GitHub and found this PR from 2014: hackndev/zinc#238. It seems like this section is used for unwinding and can be discarded. When I compile in release mode with LTO the error disappears, so it really seems like the section isn't needed.
I think we could fix this problem by either discarding or including .ARM.extab
in link.x.in.
My rust version is: rustc 1.32.0-nightly (edaac35d6 2018-11-24)
.
Metadata
Metadata
Assignees
Labels
No labels