Skip to content

[AArch64] Explicitly turn PIE off in the event that GCC has it on#8213

Open
dave-estes-QCOM wants to merge 1 commit intofacebook:masterfrom
dave-estes-QCOM:0042-aarch64-fno-pie
Open

[AArch64] Explicitly turn PIE off in the event that GCC has it on#8213
dave-estes-QCOM wants to merge 1 commit intofacebook:masterfrom
dave-estes-QCOM:0042-aarch64-fno-pie

Conversation

@dave-estes-QCOM
Copy link
Contributor

Some GCC toolchains are being built with PIE defaulted to on.
PIE breaks the ability to use sbrk() to reserve low memory. This
patch ensures that PIE is off regardless of how it was configured.

…efaults to on.

PIE breaks the ability to use sbrk() to reserve low memory.
@dave-estes-QCOM
Copy link
Contributor Author

@swalk-cavium, this is the change that I had to make to get around the issue when building on a Debian.
Ping @mxw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants