Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: run test in -linkshared mode failed #26582
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Bug reason: The Shlib record of the pkg "expvar" should be cleaned once the expvar pkg being rebuilt. Otherwise, the "packageshlib" key word in importcfg.link file will render the "packagefile" ineffective, in which the "packagefile" indicate the path of _pkg_.a( or cached _pkg_.a) and the "packageshlib" indicate the path of it's shlib( antiquated path: pkg/linux_amd64_dynlink/libstd.so ).
referenced this issue
Jul 25, 2018
I tested this issue now again. It still can be reproduced with the golang1.11.5, and I don't know how to fix it.