From mboxrd@z Thu Jan 1 00:00:00 1970 From: ummeegge To: development@lists.ipfire.org Subject: Re: Core 142 build error with dnsdist Date: Sat, 11 Apr 2020 14:03:49 +0200 Message-ID: <83df67daa4134e430d88b5a847a78a10398bcc26.camel@ipfire.org> In-Reply-To: <2C7B78D3-C486-4479-A5B8-3EAEDADF923A@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7478872143251356111==" List-Id: --===============7478872143251356111== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Samstag, den 11.04.2020, 12:01 +0100 schrieb Michael Tremer: > Hmm, the make file already has 2GB per process set up. >=20 >=20 https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dblob;f=3Dlfs/dnsdist;h=3D9f204= 0f16583e033f624e24415953396a4d9e526;hb=3DHEAD#l40 >=20 > So it will launch one compiler process per 2GB of memory. Obviously > less than one isn=E2=80=99t possible. >=20 > You can try filtering out =E2=80=9C-pipe=E2=80=9D from the CFLAGS and CXXFL= AGS, so > that the assembler will be stared after the compiler is done and not > in parallel. That will also save a couple of megabytes, but probably > not a massive lot. OK, will give it may a try. >=20 > In general I can recommend to add more memory to your build system. > 4GB seems to be a bit of a sweet spot. More than that normally does > not make any difference. Yeah, will need a new machine for this since my good old JNC9C eats 3GB max :-| . But may some day the Weihnachtsmann comes via wormhole a little earlier and funds some new hardware ;-) . >=20 > Best, > -Michael Thanks. Best, Erik >=20 > > On 4 Apr 2020, at 16:03, ummeegge wrote: > >=20 > > Hi Michael, > > that=C2=B4s my old build syste, with 2GB RAM > >=20 https://fireinfo.ipfire.org/profile/72d11e77621ec66ea75d39e3c9b10025e746e5af > >=20 > >=20 > > Am Samstag, den 04.04.2020, 14:51 +0100 schrieb Michael Tremer: > > > How much memory does your build system have? > > >=20 > > > > On 4 Apr 2020, at 08:04, ummeegge wrote: > > > >=20 > > > > Hi all, > > > > the current build delivers an error with dnsdist: > > > >=20 > > > > dnsdist > > > > (1.4.0) =20 > > > > =20 > > > > [ 17 > > > > ][ > > > > FAIL ] > > > >=20 > > > > -j [N], --jobs[=3DN] Allow N jobs at once; infinite > > > > jobs > > > > with no arg. > > > > -k, --keep-going Keep going when some targets > > > > can't > > > > be made. > > > > -l [N], --load-average[=3DN], --max-load[=3DN] > > > > Don't start multiple jobs unless load is below N. > > > > -L, --check-symlink-times Use the latest mtime between > > > > symlinks and target. > > > > -n, --just-print, --dry-run, --recon > > > > . . . > > > > Consider FILE to be infinitely new. > > > > --warn-undefined-variables Warn when an undefined variable > > > > is > > > > referenced. > > > >=20 > > > > This program built for x86_64-pc-linux-gnu > > > > Report bugs to > > > > make: *** [dnsdist:84: /usr/src/log/dnsdist-1.4.0] Error 2 > > > >=20 > > > > ERROR: Building > > > > dnsdist =20 > > > > =20 > > > > [ FAIL > > > > ] > > > >=20 > > > > By commenting '$(MAKETUNING)' the build went through. Should it > > > > prepare > > > > a patch for this or is there may another solution ? > > > >=20 > > > > Best, > > > >=20 > > > > Erik > > > >=20 > > >=20 > > >=20 >=20 >=20 --===============7478872143251356111==--