golang test try to load different shared library name from CgoLDFLAGS
#69605
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Go version
1.22
Output of
go env
in your module/workspace:What did you do?
Try to link different shared libraries depends on the build arch.
What did you see happen?
When we rebuild the shared library for testing, golang try to find shared library
libmovevm.so
notlibmovevm.x86_64.so
.full logs
We defined shared linking in
api/link_linux_glibc_x86_64.go
. and ourCgoLDFLAGS
is properly showinglinking definition
If we remove this line, it is properly working.
Here is success log without
make build-rust
.What did you expect to see?
Load
libmovevm.x86_64.so
notlibmovevm.so
The text was updated successfully, but these errors were encountered: