Why webkit compile fails on linux?
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Fri Jul 29 14:28:17 UTC 2022
I was able to compile it, thanks for the tip.
The problem seems related to number_of_cores X RAM. I think it was running
out for memory and being OOM-killed.
Just configuring the VM from 8 to 4 cores solved the problem.
-- Thiago.
Em qui., 28 de jul. de 2022 às 14:10, Kevin Rushforth <
kevin.rushforth at oracle.com> escreveu:
> I haven't had any problems building it, although I haven't tried it on
> Ubuntu 22.04 lately. I have built WebKit on other versions of Ubuntu and
> on Oracle Linux 7 using both gcc 11.2 and 10.2.
>
> Do you have enough memory / swap space on your system?
>
> -- Kevin
>
>
> On 7/28/2022 9:21 AM, Thiago Milczarek Sayão wrote:
> > Hi,
> >
> > I have tried to compile webkit on Linux (tried ubuntu 20.04 and 22.04)
> > and it always fails:
> >
> > [ 56%] Building CXX object
> >
> Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-be65d27a-15.cpp.o
> > c++: fatal error: Killed signal terminated program cc1plus
> > compilation terminated.
> > gmake[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:6487:
> >
> Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-be65d27a-7.cpp.o]
>
> > Error 1
> >
> > on 22.04 it's gcc 11.2 (I thought maybe it was a gcc bug).
> >
> > I am using the jfx17u repo.
> >
> > Any hint on what I might be missing?
> >
> > -- Thiago.
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20220729/21d0edd2/attachment.htm>
More information about the openjfx-dev
mailing list