PennyLaneAI / PennyLaneAI/catalyst

Redundant linker flag warning

Open
#2,702 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CI/Build housecleaning
Dominant language
Python
Stars
234
Forks
84
Avg merge
2d 15h
Merged PRs (30d)
66

Description

When building Catalyst's mlir component (make dialects) the following warning is raised several times:

ld: warning: -U option is redundant when using -undefined dynamic_lookup

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

Run make dialects to reproduce the repeated linker warning in Catalyst's mlir component. Inspect the build and linker configuration used by that target for -U together with -undefined dynamic_lookup; it is done when the redundant warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, compilers
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.