llvm / llvm/llvm-project

Migrate remaining tests using ld.gold to ld.bfd

Open
#221,674 0 comments 0 reactions 0 assignees View on GitHub
test-suite
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

After https://github.com/llvm/llvm-project/pull/130981 there are still a few tests using ld.gold due to bugs in ld.bfd:

* Common symbol handling: https://sourceware.org/bugzilla/show_bug.cgi?id=34570
* `--start-lib`/`--end-lib` support: https://sourceware.org/bugzilla/show_bug.cgi?id=34572

These have already been fixed, but not released yet. Once they are part of a release, we should migrate the remaining gold plugin tests to use ld.bfd.

Contributor guide

Open the contributing guide

Research direction

Start by locating the remaining gold plugin tests that still select ld.gold, then check whether releases containing the ld.bfd fixes for common symbols and --start-lib/--end-lib are available. Done means the remaining tests use ld.bfd and pass without relying on unreleased linker fixes.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.