[BUG] the CMake toolchain file's linker flags don't play well with other languages
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cmake
- Domain
- build-system
Research direction
Start by locating the NDK CMake toolchain file and the linker flag additions that use -Wl,; the issue does not name a file or test. Read the linked CMake and Swift reports to understand the non-C/C++ compiler regression, then check how the toolchain handles LINKER:. Done means the linker flags work with other languages across the affected NDK versions.
Written by the indexing model from the issue text.
Description
Description
There was a regression with CMake 3.30 in how linker flags were passed to non-C/C++ and Windows compilers that broke their builds, which we've been working around for awhile now. It would be good to fix the NDK toolchain file instead to replace -Wl, additions with LINKER:, as detailed by @etcwilde here.
I am using a supported NDK
- I have checked and the NDK I'm using is currently supported
Affected versions
r27, r28, r29, r30
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from android/ndk
-
[BUG] simpleperf associates wrong header file for lambdaPossibly taken @Jake-The-Human claimed this 24 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 40/100
-
[BUG] error: PCH file was compiled for the target 'aarch64-unknown-linux-android21' but the current translation unit is being compiled for target 'aarch64-none-linux-android21'Possibly taken @Sharjeel-Khan claimed this 24 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 47/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
bluesky-social/social-app#12545 ·
Maintainers usually reply within 1 day
-
refactor topic-architecture topic-ui
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
XCSoar/XCSoar#3547 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
manjaro-sway/manjaro-sway#1079 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
linux-test-project/lcov#579 ·
Maintainers usually reply within 1 day
-
compiler: the island_chunks_not_emitted report gives a count but not which islands were skippedOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100