RFC: verify Linx qemu-user dynamic glibc printf path#129
RFC: verify Linx qemu-user dynamic glibc printf path#129touzicongbupianren wants to merge 7 commits into
Conversation
|
This is an RFC/demo PR for a working Linx qemu-user dynamic glibc printf path. Validated:
Related PR branches:
Note: cc @zhoubot @LinxISA/maintainers |
There was a problem hiding this comment.
Code Review
This pull request updates submodule references and adds several test cases for Linx glibc and QEMU user-mode emulation. The feedback highlights critical issues: changing submodule URLs to personal SSH-based forks in .gitmodules will break cloning for other developers and CI/CD pipelines; the inline assembly in lihan_qemu_user_hello.c contains compiler hazards and undefined behavior that should be resolved using local register variables; and the test script lihan_cat_glibc_autolink.sh should use a unique temporary directory instead of a hardcoded path in /tmp to prevent conflicts.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This branch demonstrates a working Linx qemu-user dynamic glibc printf path.
Validated:
Hello from Linx glibc printf: value=42 status=ok
Related branches:
Note:
This PR depends on the related LLVM/QEMU/glibc submodule PRs being accepted first.
After those are merged into LinxISA/*, this PR can be refreshed as a normal submodule bump.
LinxISA/llvm-project@main...touzicongbupianren:llvm-project:lihan-lld-hi-lo-fix
LinxISA/qemu@qemu-my-patch-v7.0.0...touzicongbupianren:qemu:lihan-qemu-user-glibc-pr
LinxISA/glibc@master...touzicongbupianren:glibc:lihan-glibc-user-bringup-pr
cc @zhoubot @LinxISA/maintainers