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

Re: -fstack-check



On Thu, Sep 07, 2000 at 12:03:48PM +0500, Vlad Harchev wrote:
> On Thu, 7 Sep 2000, Alexander Kotelnikov wrote:
> 
>  По-моему, этот ключ актуален только для дос. Под линухом стек растет по-мере
> запроса со стороны проги.
>  А падает - да наверно просто кривая реализация (или вообще этой опции не
> должно быть для линукса, а ее по-ошибке оставили). Короче, не надо этим ключем
> пользоваться. Отошлите bugreport им.

вот что говорит info gcc:

`-fstack-check'
     Generate code to verify that you do not go beyond the boundary of
     the stack.  You should specify this flag if you are running in an
     environment with multiple threads, but only rarely need to specify
     it in a single-threaded environment since stack overflow is
     automatically detected on nearly all systems if there is only one
     stack.

все начилось-то с "multiple threads"


-- 
Alexander Kotelnikov
Saint-Petersburg, Russia



Reply to: