Re: [go-nuts] support stack size on go linker for musl

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

Re: [go-nuts] support stack size on go linker for musl

2022-03-01 Thread 'Olaf Flebbe' via golang-nuts
Hi, Thanks for the hint! I was able (for instance) to run go test -ldflags "-linkmode=external '-extldflags=-z stack-size=0x80'" ./... I am asking myself if there might be negative impacts of -linkmode=external . Best Olaf Ian Lance Taylor schrieb am Montag, 28. Februar 2022 um 20:

Re: [go-nuts] support stack size on go linker for musl

2022-02-28 Thread Ian Lance Taylor
On Mon, Feb 28, 2022 at 11:11 AM 'Olaf Flebbe' via golang-nuts wrote: > > I need to call automagically generated C code (matlab models) with cgo on > the musl platform. > > Issue at hand is the code needs quite a bit stack space to run sucessfully. > > It is well known that the default Stack si

[go-nuts] support stack size on go linker for musl

2022-02-28 Thread 'Olaf Flebbe' via golang-nuts
Hi, I need to call automagically generated C code (matlab models) with cgo on the musl platform. Issue at hand is the code needs quite a bit stack space to run sucessfully. It is well known that the default Stack size for threads is quite low for the Musl pplatform (i.e. the alpine distribut