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

rdm reports errors on archlinux arm64 and unable to find symbols #1417

Closed
Damenly opened this issue May 13, 2021 · 1 comment
Closed

rdm reports errors on archlinux arm64 and unable to find symbols #1417

Damenly opened this issue May 13, 2021 · 1 comment

Comments

@Damenly
Copy link

Damenly commented May 13, 2021

Describe the bug
Hey, thanks for the great project first.
Recently I moved my workspace to an arm64 kvm but rtags seems not working.
It runs fine on small project excluding the Linux kernel.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/torvalds/linux && cd linux && git checkout v5.13-rc1
  2. copy .config to linux directory
  3. bear -- make -j8
  4. rc -J .
  5. rc -F $some_symbol

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots/Backtrace
|
[ 10%] 628/6164 13:50:50 ~/linux/block/bsg.c error in 18ms. (dirty). (priority 2)
Query opened 0 files for project /root/linux/
[ 10%] 629/6164 13:50:50 ~/linux/crypto/md5.c error in 15ms. (dirty). (priority 2)
Query opened 0 files for project /root/linux/
[ 10%] 630/6164 13:50:50 ~/linux/fs/nls/nls_cp1250.c error in 12ms. (dirty). (priority 2)
Query opened 0 files for project /root/linux/
[ 10%] 631/6164 13:50:50 ~/linux/fs/autofs/dev-ioctl.c error in 20ms. (dirty). (priority 2)
Query opened 0 files for project /root/linux/
Finish output from /root/linux/block/bsg.c
CI::parse loading unit: clang "-Wp,-MMD,block/.bsg.o.d" "-nostdinc" "-mlittle-endian" "-fmacro-prefix-map=./=" "-Wall" "-Wundef" "-Werror=strict-prototypes" "-Wno-trigraph$
Failed to parse clang "-Wp,-MMD,block/.bsg.o.d" "-nostdinc" "-mlittle-endian" "-fmacro-prefix-map=./=" "-Wall" "-Wundef" "-Werror=strict-prototypes" "-Wno-trigraphs" "-fno$

Finish output from /root/linux/fs/nls/nls_cp1250.c

Environment (please complete the following information):

Additional context
.config compile_commands.json log are attached: https://drive.google.com/file/d/1MaehJd1-dFsue8ymSucegCayBH8iHowG/view?usp=sharing

@Damenly
Copy link
Author

Damenly commented May 13, 2021

Reminder: call bear -- make CC=clang -j8 to compile linux then rtags works.

@Damenly Damenly closed this as completed May 13, 2021
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