openwrt / openwrt/packages

mdio-tools: no support for mold linker

Open
#30,101 3 comments 0 reactions 0 assignees View on GitHub

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.