Changeset 269251 in webkit


Ignore:
Timestamp:
Nov 2, 2020 10:11:13 AM (4 years ago)
Author:
ddkilzer@apple.com
Message:

Fix link error with WebKit.framework

Undefined symbols for architecture x86_64:

"JSC::GenericTypedArrayView<JSC::Uint8Adaptor>::create(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&&, unsigned int, unsigned int)", referenced from:

WebKit::convertToUint8Array(IPC::SharedBufferCopy&&) in UnifiedSource7.o

ld: symbol(s) not found for architecture x86_64

  • GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp:
  • Include <JavaScriptCore/GenericTypedArrayViewInlines.h> to fix linker error with some builds of WebKit.
  • See also WebProcess/GPU/media/RemoteLegacyCDMSession.cpp.
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r269244 r269251  
     12020-11-02  David Kilzer  <ddkilzer@apple.com>
     2
     3        Fix link error with WebKit.framework
     4
     5            Undefined symbols for architecture x86_64:
     6              "JSC::GenericTypedArrayView<JSC::Uint8Adaptor>::create(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&&, unsigned int, unsigned int)", referenced from:
     7                  WebKit::convertToUint8Array(IPC::SharedBufferCopy&&) in UnifiedSource7.o
     8            ld: symbol(s) not found for architecture x86_64
     9
     10        * GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp:
     11        - Include <JavaScriptCore/GenericTypedArrayViewInlines.h> to fix
     12          linker error with some builds of WebKit.
     13        - See also WebProcess/GPU/media/RemoteLegacyCDMSession.cpp.
     14
    1152020-11-02  Youenn Fablet  <youenn@apple.com>
    216
  • trunk/Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp

    r266003 r269251  
    3333#include "RemoteLegacyCDMSessionMessages.h"
    3434#include "SharedBufferCopy.h"
     35#include <JavaScriptCore/GenericTypedArrayViewInlines.h>
    3536#include <WebCore/SharedBuffer.h>
    3637
Note: See TracChangeset for help on using the changeset viewer.