Subject: Re: ld segfaults when linking netbsd on sparc -current
To: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
From: Curt Sampson <cjs@cynic.net>
List: port-sparc
Date: 12/30/1998 07:10:56
On Wed, 30 Dec 1998, Juergen Hannken-Illjes wrote:

> My limit was stacksize=512k. After an `unlimit stack' (stacksize=262144k)
> it worked. There is a section `#ifdef RLIMIT_STACK ... #endif' in ld.c.
> Looks like this section should be enabled ...

This was disabled, probably inadvertently, in a cleanup done by pk
on Dec. 17th. He removed the #include <sys/resource.h> statement.
I've put it back and verified that this fixes the problem.

Thanks for the clue.

cjs
--
Curt Sampson  <cjs@cynic.net>   604 801 5335   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org