All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Perez de Castro <aperez@igalia.com>
To: Michael Nosthoff <buildroot@heine.tech>
Cc: buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.2
Date: Wed, 1 Jun 2022 10:39:05 +0300	[thread overview]
Message-ID: <20220601103905.GB863200@momiji> (raw)
In-Reply-To: <54-6295dc80-3-54e5e980@111886211>


[-- Attachment #1.1: Type: text/plain, Size: 4271 bytes --]

Hello Michael,

On Tue, 31 May 2022 11:14:57 +0200 Michael Nosthoff via buildroot <buildroot@buildroot.org> wrote:
 
> On Tuesday, May 31, 2022 00:18 CEST, Adrian Perez de Castro <aperez@igalia.com> wrote:
> 
> > Hello Michael,
> > 
> > On Tue, 24 May 2022 12:25:51 +0200 Michael Nosthoff via buildroot <buildroot@buildroot.org> wrote:
> >  
> > > 
> > > I just tested the 2022.05-rc1 + this patch with my config.
> > > 
> > > The patch solved the X11 headers build error but I'm getting two other errors.
> > > 
> > > (This applies to 2.36.1 as well as 2.36.2, both patched)
> > > 
> > > The first one "disappears" when I issue "make wpewebkit" a second time, so I guess this
> > > is a concurrency issue in the build setup:
> > > 
> > > [ 39%] Built target JavaScriptCore_CopyPrivateHeaders
> > > Scanning dependencies of target jsc
> > > make[4]: *** No rule to make target 'Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o', needed by 'bin/jsc'.  Stop.
> > > make[4]: *** Waiting for unfinished jobs....
> > > [ 39%] Building CXX object Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/__/jsc.cpp.o
> > > make[3]: *** [CMakeFiles/Makefile2:794: Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/all] Error 2
> > > make[3]: *** Waiting for unfinished jobs....
> > > Scanning dependencies of target LowLevelInterpreterLib
> > > [ 39%] Building CXX object Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.o
> > > [ 39%] Built target LowLevelInterpreterLib
> > > [ 39%] Built target WebInspectorUI
> > > make[2]: *** [Makefile:171: all] Error 2
> > > 
> > > and the build ultimately then later fails with this error:
> > > 
> > > [ 48%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-cbdfe323-42.cpp.o
> > > In file included from platform/graphics/filters/FESpecularLighting.h:25,
> > >                  from svg/SVGFESpecularLightingElement.h:25,
> > >                  from ../../WebCore/DerivedSources/JSSVGFESpecularLightingElement.h:26,
> > >                  from ../../WebCore/DerivedSources/JSSVGFESpecularLightingElement.cpp:22,
> > >                  from ../../WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-119.cpp:5:
> > > platform/graphics/filters/FELighting.h:72:41: error: ‘LightingData’ does not name a type
> > >    72 |     inline void platformApplyNeon(const LightingData&, const LightSource::PaintingData&);
> > >       |                                         ^~~~~~~~~~~~
> > > make[4]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:5152: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-119.cpp.o] Error 1
> > > 
> > > I tried to find it in the webkit bugtracker but was not successful. 
> > 
> > We have had a few bugs related to the filters code in the past when
> > targeting 32-bit ARM, specially the NEON fast-paths which do not get
> > regularly built by buildbots on each WebKit commit.
> > 
> > > My WPE defconfig is 
> > > 
> > > BR2_PACKAGE_WPEWEBKIT=y
> > > BR2_PACKAGE_WPEWEBKIT_SANDBOX=y
> > > 
> > > with the arm gcc 10.3 toolchain.
> > 
> > Can you confirm that you are targeting some 32-bit ARM processor? If
> > yes, does it have NEON support? Alternatively, if you can share a
> > .config, or use “make savedefconfig” and share the output, that will
> > make it much easier for me to reproduce the issue and find a suitable
> > fix.
> > 
> > > do you have any idea if this might be fixed in the upcoming 2.36.3?
> > 
> > Most likely not. It might be fixed by chance due to shifting in the
> > sources which get included in each unified-source compilation unit,
> > tho -- but once I have a way to reproduce, I am confident it can be
> > solved.
> 
> I tried with the latest master branch (with 2.36.3) and extended the raspberrypi4_defconfig with graphics driver.
> 
> This is the defconfig:
>
> [...]

Thanks a lot for sharing your config, that was most helpful! I have been
able to reproduce the build issue and I am already working on a fix,
which will make it into the 2.36.4 release in some weeks. In the
meantime I will submit a fix to have the patch in Buildroot.

Cheers,
—Adrián

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-06-01  7:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 14:19 [Buildroot] [PATCH 1/1] package/wpewebkit: bump to version 2.36.2 Adrian Perez de Castro
2022-05-19 16:31 ` François Perrad
2022-05-19 17:12   ` Adrian Perez de Castro
2022-05-24 10:25     ` Michael Nosthoff via buildroot
2022-05-30 22:18       ` Adrian Perez de Castro
2022-05-31  9:14         ` Michael Nosthoff via buildroot
2022-06-01  7:39           ` Adrian Perez de Castro [this message]
2022-06-01 14:18             ` Adrian Perez de Castro
2022-06-11  0:06               ` Adrian Perez de Castro
2022-06-11  9:14                 ` André Zwing
2022-05-30 22:06     ` Adrian Perez de Castro
2022-06-12 18:17 Michael Nosthoff via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220601103905.GB863200@momiji \
    --to=aperez@igalia.com \
    --cc=buildroot@buildroot.org \
    --cc=buildroot@heine.tech \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.