Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: internal compiler error in importer when building runtime's testprogcgo in PIE #28563
What version of Go are you using (
FWIW, I cannot reproduce this on OS X (macOS Mojave, 10.14.1) - it's not obvious why the import/export data might be so different for OS X and Linux.
Furthermore, the exporter explicitly maps OCALLINTER nodes to OCALL nodes. This might be some corruption elsewhere (maybe the prior node is not properly handled).
Exporting ODCLFIELD on the other hand is not supported in the first place ("unimplemented" panic), so it's also unclear how they might show up during import.
@cherrymui Can you still reproduce this?