pkgsrc-Bugs archive

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

Re: pkg/57708: rust problem when building firefox



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

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: he%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: pkg/57708: rust problem when building firefox
Date: Sun, 19 Nov 2023 20:52:17 +0000

 The attached program should print the regions of the program's stack
 and guard pages using various pthread(3) functions (demonstrated both
 for the main thread and for a pthread it spawns).  This might help you
 to draft the relevant code for Rust.
 
 However, it is not exactly accurate, because the kernel will
 automatically grow the stack of the main thread if its stack usage
 increases, subject to the stack soft rlimit, which the process can
 change itself (subject to the stack hard rlimit, it can't change).
 
 So the results might be stale as soon as you use them.  Which raises
 the question -- what is Rust trying to do with this information and
 why?
 


Home | Main Index | Thread Index | Old Index