Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2020.1
2020.2
Issue ID
1275741
Regression
No
[Android][IL2CPP] Build fails when using linker-flag "--long-plt" in ProjectSettings
Repro steps:
1. Open attached project
2. Make sure IL2CPP is set as the Scripting Backend
3. Attempt to build the project
Actual: Build fails with "clang++: error: unsupported option '--long-plt'"
Reproducible with: 2018.4.27f1, 2019.4.9f1, 2020.1.5f1, 2020.2.0b2
Notes:
- Doesn't fail on Windows/iOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- One Camera is not being rendered correctly when the Upscaling Filter is set to Automatic or Bilinear
- Terrain Layer is used for Painting Texture and will be added to the Terrain Layer List after being replaced by another Terrain Layer
- The “+” and “-“ buttons in the Cells list do nothing when pressed but are not deactivated in the Tile Palette window
- "No Overlays" tooltip is cut off, and the "Overlay" word is inconsistent in the tooltip when hovering the mouse cursor over the "No Overlays" text in the Tile Palette window
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
Resolution Note:
The linker used by Unity depends on NDK version (Unity version, since any Unity version only can use a particular version of NDK) and ARMv7 vs. ARM64.
In this particular case the bfd linker is used, which does not have --long-plt option.