Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld error on the latest macOS version 12.6 #225

Closed
Peefy opened this issue Sep 30, 2022 · 3 comments · Fixed by #233
Closed

ld error on the latest macOS version 12.6 #225

Peefy opened this issue Sep 30, 2022 · 3 comments · Fixed by #233
Assignees
Labels

Comments

@Peefy
Copy link
Contributor

Peefy commented Sep 30, 2022

Bug Report

KCLVM runs with the error stderr: ld: warning: -undefined dynamic_lookup may not work with chained fixups on the latest macOS version 12.6 (including m1 and non-m1).

KCLVM version: v0.4.3

@Peefy Peefy added the linker label Sep 30, 2022
@Peefy Peefy added this to the v0.4.4 Release milestone Sep 30, 2022
@Peefy Peefy assigned chai2010, Peefy and zong-zhe and unassigned chai2010 and Peefy Sep 30, 2022
@CsBigDataHub
Copy link

FYI.. https://issues.guix.gnu.org/issue/57849

Looks like using -Wl,-w will help.

@zong-zhe
Copy link
Contributor

zong-zhe commented Oct 8, 2022

https://issues.guix.gnu.org/issue/57849
@CsBigDataHub
Thanks for your advice, it's helpful for us.

@zong-zhe
Copy link
Contributor

zong-zhe commented Oct 10, 2022

Fixed in #233

@Peefy Peefy linked a pull request Oct 13, 2022 that will close this issue
16 tasks
ldxdl pushed a commit that referenced this issue Oct 13, 2022
* Fix(kclvm-runner): fix linker bug.

add "-Wl, -w" to clang arguments.

issue #225

* fix fmt check

* macos11 > macos12 in ci

* stop clang warning to stdout and stderr

* remove stdout/stderr inherit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants