Pavel Zholkover <paulz...@gmail.com> once said: > I'm typing from my phone so I don't have go sources in front of me, > but 0xdfffefc0 looks like the address I used for per thread G and M > structs - just bellow struct Tos. > > Andrey and I also tried running on a 32-bit 9vx with the same effect. > > Is 9vx using a different memory layout than Plan 9?
The Tos structure is bigger on 64-bit 9vx so the references to GS will need a different offset. You'll have to change both src/8l/pass.c:/^patch and the runtime. Anthony