On Tue, Mar 1, 2022 at 12:30 AM 'Olaf Flebbe' via golang-nuts
<golang-nuts@googlegroups.com> wrote:
>
> Thanks for the hint! I was able (for instance) to run
>
> go test -ldflags "-linkmode=external '-extldflags=-z stack-size=0x800000'" 
> ./...
>
> I am asking myself if there might be negative impacts of -linkmode=external .

I don't know of any negative impacts.

It's harder to get a fully statically linked binary with -linkmode=external.

If you don't use -linkmode=external, the program shouldn't call
pthread_create and the default thread stack size shouldn't much
matter.  At least, I can't think of a reason why it would matter;
perhaps I'm missing something.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXGQA%2BkjtrRtCEgVSRiVM7rf8OXKHS1st226_EwFywt%3Dw%40mail.gmail.com.

Reply via email to