You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go build -buildmode=pie ~/hello.go
go tool objdump -s 'main.main' hello
Observe that the file/line information is shown as just :0. If you do the same commands but omit -buildmode=pie the correct file/line information is shown.
I have a partial fix for this, but a full fix requires applying the dynamic relocations to the pclntab data. The RELATIVE dynamic relocations can be ignored, but there are some non-relative relocations to symbols defined in runtime/cgo.