We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/goplus/llcppg/actions/runs/12705801450/job/35417826143?pr=149 , same question in my local env
Run llgo cmptest ./_xtool/llcppsigfetch/parse/cvt_test/... # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/complex_test/forwarddecl_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/class_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/comment_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/enum_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/func_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/scope_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/struct_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/typedef_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/decl_test/union_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/preprocess_test # github.com/goplus/llcppg/_xtool/llcppsigfetch/parse/cvt_test/type_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/args_test ld.lld: error: undefined symbol: sort.init >>> referenced by fmt >>> /tmp/001b5f8365b7fbc7b536f9752847cf8011a[20](https://github.com/goplus/llcppg/actions/runs/12705801450/job/35417825902?pr=149#step:9:21)530fb70ab887f758853a211ada9-d-fb0355.o:(fmt.init) clang: error: linker command failed with exit code 1 (use -v to see invocation) # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/clangutils_test ld.lld: error: undefined symbol: sort.init >>> referenced by fmt >>> /tmp/001b5f8365b7fbc7b536f9752847cf8011a20530fb70ab887f758853a[21](https://github.com/goplus/llcppg/actions/runs/12705801450/job/35417825902?pr=149#step:9:22)1ada9-d-0a5759.o:(fmt.init) clang: error: linker command failed with exit code 1 (use -v to see invocation) # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/config_test ld.lld: error: undefined symbol: sort.Ints
install llgo
git clone https://github.com/goplus/llgo.git cd llgo/compiler go install -v ./cmd/... # set to local env,like zshrc export LLGO_ROOT=$PWD/..
git clone -b ci/lastest https://github.com/luoliwoshang/llcppg cd llcppg/_xtool/llcppsymg/_cmptest/ llgo cmptest ./...
got
_xtool/llcppsymg/_cmptest on ci/lastest ❯ llgo cmptest ./... # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/args_test ld64.lld: error: undefined symbol: sort.init >>> referenced by /var/folders/5j/sgtxqmbn1hbdqtgx5kkp6y700000gn/T/e8aba9383348a483327b1e2772f4cfa9c2b92805481bc0acdea3ae1326b99920-d-bddda2.o:(symbol fmt.init+0x2c) clang: error: linker command failed with exit code 1 (use -v to see invocation) # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/clangutils_test ld64.lld: error: undefined symbol: sort.init >>> referenced by /var/folders/5j/sgtxqmbn1hbdqtgx5kkp6y700000gn/T/e8aba9383348a483327b1e2772f4cfa9c2b92805481bc0acdea3ae1326b99920-d-32bf74.o:(symbol fmt.init+0x2c) clang: error: linker command failed with exit code 1 (use -v to see invocation) # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/config_test ld64.lld: error: undefined symbol: sort.Ints >>> referenced by /var/folders/5j/sgtxqmbn1hbdqtgx5kkp6y700000gn/T/e8aba9383348a483327b1e2772f4cfa9c2b92805481bc0acdea3ae1326b99920-d-e8c656.o:(symbol fmt.Errorf+0x198) ld64.lld: error: undefined symbol: sort.init >>> referenced by /var/folders/5j/sgtxqmbn1hbdqtgx5kkp6y700000gn/T/e8aba9383348a483327b1e2772f4cfa9c2b92805481bc0acdea3ae1326b99920-d-e8c656.o:(symbol fmt.init+0x2c) clang: error: linker command failed with exit code 1 (use -v to see invocation) # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/names_test ld64.lld: error: undefined symbol: sort.init >>> referenced by /var/folders/5j/sgtxqmbn1hbdqtgx5kkp6y700000gn/T/e8aba9383348a483327b1e2772f4cfa9c2b92805481bc0acdea3ae1326b99920-d-487d48.o:(symbol fmt.init+0x2c) clang: error: linker command failed with exit code 1 (use -v to see invocation) # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/parse_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/symbol_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/symg_test ld64.lld: error: undefined symbol: sort.init >>> referenced by /var/folders/5j/sgtxqmbn1hbdqtgx5kkp6y700000gn/T/e8aba9383348a483327b1e2772f4cfa9c2b92805481bc0acdea3ae1326b99920-d-bba9ed.o:(symbol fmt.init+0x2c) clang: error: linker command failed with exit code 1 (use -v to see invocation) (base)
but run llgo cmptest with single folder will test success without lld:error
llgo cmptest
_xtool/llcppsymg/_cmptest on ci/lastest [$?] ❯ llgo cmptest ./args_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/args_test (base) _xtool/llcppsymg/_cmptest on ci/lastest [$?] took 3s ❯ llgo cmptest ./clangutils_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/clangutils_test (base) _xtool/llcppsymg/_cmptest on ci/lastest [$?] took 3s ❯ llgo cmptest ./config_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/config_test (base) _xtool/llcppsymg/_cmptest on ci/lastest [$?] took 3s ❯ llgo cmptest ./names_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/names_test (base) _xtool/llcppsymg/_cmptest on ci/lastest [$?] took 3s ❯ parse_test (base) _xtool/llcppsymg/_cmptest on ci/lastest [$?] ❯ llgo cmptest ./parse_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/parse_test (base) _xtool/llcppsymg/_cmptest on ci/lastest [$?] took 4s ❯ llgo cmptest ./symg_test # github.com/goplus/llcppg/_xtool/llcppsymg/_cmptest/symg_test (base)
go version go1.23.4 darwin/arm64
❯ clang -v Homebrew clang version 18.1.8 Target: arm64-apple-darwin23.6.0 Thread model: posix InstalledDir: /opt/homebrew/opt/llvm@18/bin
The text was updated successfully, but these errors were encountered:
ci:compat with goplus/llgo#944
52f9cee
No branches or pull requests
https://github.com/goplus/llcppg/actions/runs/12705801450/job/35417826143?pr=149 , same question in my local env
how to reproduce in local
install llgo
got
but run
llgo cmptest
with single folder will test success without lld:errorenv
The text was updated successfully, but these errors were encountered: