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

llcppsymg:multiple & system dylib path search #96

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

luoliwoshang
Copy link
Owner

@luoliwoshang luoliwoshang commented Oct 15, 2024

goplus#830

  • wait os.Readdir to search /etc/ld.so.conf.d 's subdir

在linux环境和macos上都可以正常通过测试。
但是在linux的实际运行中,调用nm的部分,出现如下抛错,调查发现是由于 exec.Command 引起的,在linux上运行 _cmptest/osexec也会出现对应的问题

  • wait exec.Command not panic
root@be00d9b1c2c9:~/llgo/chore/_xtool/llcppsymg# llgo run .
parse dylib symbols from config lib:-L/lib/aarch64-linux-gnu -llua5.4
panic: todo: syscall.Faccessat

@luoliwoshang luoliwoshang changed the title llcppsymg:multiple dylib path search llcppsymg:multiple & system dylib path search Oct 16, 2024
@luoliwoshang luoliwoshang merged commit 0887e5d into llcppsymg/classname Oct 17, 2024
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

Successfully merging this pull request may close these issues.

1 participant