Skip to content
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
@phil-opp

Description

@phil-opp

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions