[Webkit-unassigned] [Bug 254506] New: [WPE] [2.40.0] Fails to build in mipsel: invalid use of incomplete type 'class JSC::GenericTypedArrayView<JSC::Float32Adaptor>'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 27 02:20:33 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254506

            Bug ID: 254506
           Summary: [WPE] [2.40.0] Fails to build in mipsel: invalid use
                    of incomplete type 'class
                    JSC::GenericTypedArrayView<JSC::Float32Adaptor>'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: berto at igalia.com
                CC: bugs-noreply at webkitgtk.org

WebKitGTK 2.40.0 works fine however, this is only a problem with WPE WebKit.

The full build log is here (note: 16MB): https://buildd.debian.org/status/fetch.php?pkg=wpewebkit&arch=mipsel&ver=2.40.0-1&stamp=1679502401&raw=0

This is the error itself:

                                      ---------------------------------------------------------
In file included from wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/HashFunctions.h:26,
                 from wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/CompactPtr.h:32,
                 from wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/text/StringImpl.h:29,
                 from wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/text/WTFString.h:28,
                 from wpewebkit-2.40.0/Source/WebCore/dom/Exception.h:30,
                 from wpewebkit-2.40.0/Source/WebCore/dom/ExceptionOr.h:29,
                 from wpewebkit-2.40.0/Source/WebCore/Modules/webaudio/AudioBuffer.h:33,
                 from wpewebkit-2.40.0/Source/WebCore/Modules/webaudio/AudioBufferSourceOptions.h:29,
                 from wpewebkit-2.40.0/obj-mipsel-linux-gnu/WebCore/DerivedSources/JSAudioBufferSourceOptions.h:25,
                 from wpewebkit-2.40.0/obj-mipsel-linux-gnu/WebCore/DerivedSources/JSAudioBufferSourceOptions.cpp:25:
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/RefPtr.h: In instantiation of 'static void WTF::DefaultRefDerefTraits< <template-parameter-1-1> >::derefIfNotNull(T*) [with T = JSC::GenericTypedArrayView<JSC::Float32Adaptor>]':
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/RefPtr.h:74:61:   required from 'WTF::RefPtr<T, <template-parameter-1-2>, <template-parameter-1-3> >::~RefPtr() [with T = JSC::GenericTypedArrayView<JSC::Float32Adaptor>; _PtrTraits = WTF::RawPtrTraits<JSC::GenericTypedArrayView<JSC::Float32Adaptor> >; _RefDerefTraits = WTF::DefaultRefDerefTraits<JSC::GenericTypedArrayView<JSC::Float32Adaptor> >]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/Vector.h:69:20:   required from 'static void WTF::VectorDestructor<true, T>::destruct(T*, T*) [with T = WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> >]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/Vector.h:252:81:   required from 'static void WTF::VectorTypeOperations<T>::destruct(T*, T*) [with T = WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> >]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/TrailingArray.h:84:42:   required from 'WTF::TrailingArray<Derived, T>::~TrailingArray() [with Derived = WTF::EmbeddedFixedVector<WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> > >; T = WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> >]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/EmbeddedFixedVector.h:38:7:   required from 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = WTF::EmbeddedFixedVector<WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> > >]'
/usr/include/c++/12/bits/unique_ptr.h:396:17:   required from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = WTF::EmbeddedFixedVector<WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> > >; _Dp = std::default_delete<WTF::EmbeddedFixedVector<WTF::RefPtr<JSC::GenericTypedArrayView<JSC::Float32Adaptor> > > >]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/FixedVector.h:33:7:   required from 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = WebCore::AudioBuffer]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/RefCounted.h:190:22:   required from 'void WTF::RefCounted<T, Deleter>::deref() const [with T = WebCore::AudioBuffer; Deleter = std::default_delete<WebCore::AudioBuffer>]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/Ref.h:61:23:   required from 'WTF::Ref<T, <template-parameter-1-2> >::~Ref() [with T = WebCore::AudioBuffer; Traits = WTF::RawPtrTraits<WebCore::AudioBuffer>]'
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WebCore/DerivedSources/JSAudioBuffer.h:93:228:   required from here
wpewebkit-2.40.0/obj-mipsel-linux-gnu/WTF/Headers/wtf/RefPtr.h:42:18: error: invalid use of incomplete type 'class JSC::GenericTypedArrayView<JSC::Float32Adaptor>'
   42 |             ptr->deref();
      |             ~~~~~^~~~~
In file included from wpewebkit-2.40.0/obj-mipsel-linux-gnu/JavaScriptCore/PrivateHeaders/JavaScriptCore/Forward.h:29,
                 from wpewebkit-2.40.0/Source/WebCore/Modules/webaudio/AudioBuffer.h:35:
wpewebkit-2.40.0/obj-mipsel-linux-gnu/JavaScriptCore/PrivateHeaders/JavaScriptCore/TypedArrayAdaptersForwardDeclarations.h:42:34: note: declaration of 'class JSC::GenericTypedArrayView<JSC::Float32Adaptor>'
   42 | template<typename Adaptor> class GenericTypedArrayView;
      |                                  ^~~~~~~~~~~~~~~~~~~~~
                                      ---------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230327/ed98919f/attachment.htm>


More information about the webkit-unassigned mailing list