Maciej W. Rozycki <macro@xxxxxxxxxxx> 于2021年3月18日周四 上午7:30写道: > > On Thu, 4 Mar 2021, yunqiang.su@xxxxxxxxxxxxx wrote: > > > > How many is that though? Two? Ten? A thousand? > > > > syq@m530-2:~$ cat > > /var/lib/apt/lists/mirrors.aliyun.com_debian_dists_sid_main_source_Sources | > > grep 'Build-Depends' | grep golang | wc > > 2039 21384 344099 > > Ack, that's quite a lot indeed. > > > > I'd say the chosen policy of any distribution is said distribution's > > problem, not > > > the upstream kernel's. You can have a local patch for the kernel too if > > you > > > consider a kernel solution the only one that works for you. From the > > > discussion so far it looks to me like the least involving solution which > > will > > > make everyone happy. > > > > > > > It is not only about one distribution, instead of all distribution, since > > this is caused by the bug of Golang distribution. > > I think every distribution is free to handle the problem their own way. > You have asked on behalf of Debian, so we're discussing what Debian can > do. Other distributions may or may not follow. > > > > Also I'll repeat myself: is there a Golang standard library that every > > Golang > > > program uses? > > > > > > > Yes. It even effect /usr/bin/go itself, and all of binaries its generate may > > be effected. > > Sigh, you did not answer my question again, but I have lost my patience > and figured it out myself, as noted with v7 (libgo.so.17 is the Golang > standard library as at GCC 11). The obvious userland solution goes along > with it. You don't even have to do anything really. > I am sorry for not clear enough. Here, Golang means the Google's Go, aka https://golang.org/. It is 2 different software with Go in gcc, which we call it gccgo. Golang (golang.org, not gccgo) has no runtime normally, since it seems prefer static linking. So, Lots of Go programs produced by golang (golang.org, not gccgo) are static linked. Especially for Linux distributions `stable' branch. > NB please keep the subject proper of the cover letter the same with every > iteration of a patch series, as in that case mail user agents (at least > the sane ones) will group all iterations together in the thread sorting > mode. With the subject changed every time the link is lost and > submissions are scattered all over the mail folder. > I will keep it as the last one. Thank your. > Maciej -- YunQiang Su