mdio-tools: no support for mold linker
Open
Nobody has claimed this yet.
bug
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
mdio-tools
Maintainer
@dmascord
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
Error while building package using mold linker.
Actual Behaviour
mold: fatal: ./cmds.ld:1: SECTIONS
^ unknown linker script token
collect2: error: ld returned 1 exit status
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor 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.
Research direction
Locate the mdio-tools package and its cmds.ld linker script, then reproduce the build with mold for the mediatek/filogic target. Start with the SECTIONS token reported in the error; done means the package builds successfully with mold without this linker-script failure.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100