Summary
On macOS (darwin), llgo run can fail with linker errors for internal/reflectlite symbols.
Affected cases
cl/_testlibgo/waitgroup
TestRunFromTestgo/goexit (or direct run in cl/_testgo/goexit)
Reproduction
cd cl/_testlibgo/waitgroup
llgo run in.go
and
cd cl/_testgo/goexit
llgo run in.go
Actual
ld64.lld: error: undefined symbol: internal/reflectlite.TypeOf
>>> referenced by ... (symbol errors.init+0x83)
ld64.lld: error: undefined symbol: internal/reflectlite.init
>>> referenced by ... (symbol errors.init+0x19)
clang++: error: linker command failed with exit code 1
exit status 1
Expected
Both cases should build and run (or fail with a deterministic, expected test reason), but should not fail with undefined internal reflectlite symbols at link time.
Notes
This issue is reported from branch/environment where TestRunFromTestgo/goexit and waitgroup recheck is being done.
Summary
On macOS (darwin),
llgo runcan fail with linker errors forinternal/reflectlitesymbols.Affected cases
cl/_testlibgo/waitgroupTestRunFromTestgo/goexit(or direct run incl/_testgo/goexit)Reproduction
cd cl/_testlibgo/waitgroup llgo run in.goand
cd cl/_testgo/goexit llgo run in.goActual
Expected
Both cases should build and run (or fail with a deterministic, expected test reason), but should not fail with undefined internal
reflectlitesymbols at link time.Notes
This issue is reported from branch/environment where
TestRunFromTestgo/goexitandwaitgrouprecheck is being done.