Subject: Re: boost-libs compilation takes *extremely* long
To: Rhialto <rhialto@falu.nl>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 09/29/2005 21:30:03
On 9/29/05, Rhialto <rhialto@falu.nl> wrote:
> I updated to the pkgsrc-2005Q3 branch, and started to rebuild stuff.
> While doing devel/boost-libs, I get to
>
> gcc-C++-action /pkg_comp/obj/pkgsrc/devel/boost-libs/default/boost_1_33_0=
/build/bin/boost/libs/wave/build/libboost_wave.a/gcc/release/threading-mult=
i/instantiate_cpp_literalgrs.o
> load: 2.32  cmd: cc1plus 24750 [runnable] 4253.66u 3.65s 97% 213308k
>
> and this is already taking over 4200 cpu seconds on my amd64 cpu.
> This is a bit ridiculous, isn't it?
> I'm using the system gcc that comes with 2.0.2 (amd64 as I said).
> The boost version from the previous branch did not have this problem.
>
> Any ideas?

How much ram/swap do you have?  Is the machine swapping?
Try building with -O0 in CFLAGS/CXXFLAGS to see if it helps.

--
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/