pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58830



The following reply was made to PR pkg/58830; it has been noted by GNATS.

From: Benny Siegert <bsiegert%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/58830
Date: Fri, 11 Sep 2026 07:28:20 +0000 (UTC)

 I analyzed this more, with the go127 binary.
 
 There is indeed one mention of the workdir in .rodata, I don't know why it 
 is there.
 
 But other than that, all the mantions of the work directory are in the 
 .gopclntab section, which is mandatory and cannot be removed. The purpose 
 of the file names recorded there is to be used in stack traces. If you 
 make the go tool panic, it will give you a file name and line number, 
 including the original work dir. IMHO, that's totally harmless.
 
 Any other binary built from the Go toolchain will also include the full 
 path of every source file.
 
 I am inclined to close this as "working as intended".
 
 -- 
 Benny
 



Home | Main Index | Thread Index | Old Index