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.lld: error: version script assignment of 'global' to symbol 'rtapi_app_exit' failed: symbol not defined #3191

Open
1 of 3 tasks
NTULINUX opened this issue Nov 26, 2024 · 0 comments

Comments

@NTULINUX
Copy link
Contributor

NTULINUX commented Nov 26, 2024

Here are the steps I follow to reproduce the issue:

  1. Build with Clang/LLD 19
  2. Wait

This is what I expected to happen:

A successful compilation.

This is what happened instead:

ld.lld: error: version script assignment of 'global' to symbol 'rtapi_app_exit' failed: symbol not defined

It worked properly before this:

LLD recently changed their behavior to: --no-undefined-version by default:

https://reviews.llvm.org/D135402

Passing:

LDFLAGS="-Wl,--undefined-version" make works around the problem, however there should be a more proper fix.

Information about my hardware and software:

  • I am using this Linux distribution and version (often, shown by lsb_release -a):
  • I am using this kernel version (shown by uname -a): Linux ntu-gentoo 6.12.1-BUILD SMP Fri Nov 22 18:35:05 CST 2024 x86_64 AMD Ryzen 7 2700X Eight-Core Processor AuthenticAMD GNU/Linux
  • I am running ...
    • A binary version from linuxcnc.org (including buildbot.linuxcnc.org)
    • A binary I built myself
    • A binary version from some other source besides linuxcnc.org
  • I am using this LinuxCNC version (shown in package manager or, for git versions, scripts/get-version-from-git): Latest 2.9 or master checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant