libxul build hit the roof!

Anonymous swell.k at gmail.com
Wed Dec 29 15:54:27 UTC 2010


Da Rock <freebsd-ports at 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.


More information about the freebsd-ports mailing list