Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2010 18:23:39 +0300
From:      Anonymous <swell.k@gmail.com>
To:        Da Rock <freebsd-ports@herveybayaustralia.com.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libxul build hit the roof!
Message-ID:  <86fwtgob5w.fsf@gmail.com>
References:  <4D1B044F.6050903@herveybayaustralia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Da Rock <freebsd-ports@herveybayaustralia.com.au> writes:

> I was doing an update of my system, and I hit these errors and skipped
> builds all over the place; so I've been eliminating them one by one
> and making the skipped list smaller.
>
> In the process of these investigations I noticed that my system
> practically froze several times and I spotted multiple pfaults through
> top.

Try building with -Wl,--no-keep-memory in CFLAGS/LDFLAGS. My guess is
that you don't have enough memory to keep linking process from being
swapped out.

> I also ran a lone run of just libxul as it was one in the list
> with an error: new compiler error.
>
> I then basically shut every app I was running down and ran it again
> with just top showing. I found that at least one part hit the roof of
> my system, with nsCharacter... something or rather running at 1430M+
> in swap, and 520M+ resident when compiling.
>
> Does anyone else think it might be wise to put a warning during build
> saying that this could take over 2G+ of memory to compile, and rebuild
> with no apps running if it fails?

No need to kill (inactive) apps, they'd be swapped out during build.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fwtgob5w.fsf>