pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: chromium build issue w/new LLVM?



> Do you have any changes in www/chromium or wip/chromium?

Nope.

> Chromium uses internal libcxx, see in Makefile: GN_ARGS+=
> use_custom_libcxx=true

OK.

>> trying to build chromium with an older set of LLVM tools (22.1.8
>> out of main pkgsrc-current on NetBSD/amd64 10.2) also meets with
>> failure, ref.:

What I ended up doing in this case was upgrade the base OS to
11.0, and left the packages otherwise "as was" (i.e. left the
packages installed from the 10.2 era).

It is evident that the C++ compiler ends up using

   /usr/include/g++/expected

which it probobaly should not for "build hygiene" reasons.

As it turns out, this build (from scratch after upgrade to 11.0)
succeeded, and I'm looking forward to testing the result
tomorrow.  I'm using tcsh as my shell, and have the habit of
putting "time" as the last command in a build, and it produced in
this case:

===> Installing binary package of chromium-158.0.8127.36
=> Dropping ``root'' privileges.
594157.415u 36506.764s 5:07:09.12 3422.1%   1+0k 109655+4251384io 122650pf+0w

This is on a 20-physical-cores Xeon-E5-2640 v4, 40 logical cores
w/HT, and MAKE_JOBS set to 40 and memory to match (128GB).  Just
to set expectations for anyone else embarking on this...

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index