-
Notifications
You must be signed in to change notification settings - Fork 18k
go/internal/gcimporter: index out of range panic importing runtime #16879
New issue
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
Comments
@josharian You probably have package files that were built with a prior version of the compiler. That said, I think I need to be more cautious with internal format changes even during development. I will refine the internal version numbering so I can evolve the format w/o constantly breaking importers. I think if you rebuild everything, the issue should go away. If it doesn't please update this issue. Thanks. |
I ran make.bash; that should rebuild everything, no? If not, what should I run? |
Oh never mind. I ran make.bash, but I needed to also run Can we make gcimporter detect old versions, request a re-install, and then bail? This problem comes up over and over again on the issue tracker, and even trips up old hands like me. :) I'll file a separate issue for that. Closing this one as user error. |
Yes, I added version handling in the export data just recently, but I didn't bump the number because I assumed that people working off tip rebuild everything when they update. It's also a bit more complicated than just bumping the number because we have x/tools/gcimporter15 which is used to handle legacy installed packages but must also handle newer ones. Looking into it. |
Using commit e71e1fe:
Result (after a bunch of vet complaints):
@griesemer @mdempsky
The text was updated successfully, but these errors were encountered: