<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>115335</bug_id>
          
          <creation_ts>2013-04-28 15:34:37 -0700</creation_ts>
          <short_desc>[Windows] Building with ENABLE_GLOBAL_FASTMALLOC_NEW causes QuickTime link failure</short_desc>
          <delta_ts>2013-05-03 14:28:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>oliver</cc>
    
    <cc>roger_fong</cc>
    
    <cc>zoltan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>882420</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-28 15:34:37 -0700</bug_when>
    <thetext>If you #define ENABLE_GLOBAL_FASTMALLOC_NEW to zero on an Apple Windows build (to prevent globally switching from the system allocator to fastMalloc), you will get a build (link) failure due to QuickTime.

Switching ENABLE_GLOBAL_FASTMALLOC_NEW back on allows the build to complete successfully.

Linker errors follow:
13&gt;  QTTrack.cpp
13&gt;     Creating library C:\Projects\WebKit\WebKitBuild\Debug\lib\QTMovieWin.lib and object C:\Projects\WebKit\WebKitBuild\Debug\lib\QTMovieWin.exp
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : warning LNK4217: locally defined symbol _CFRelease imported in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : warning LNK4049: locally defined symbol _CFRelease imported
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : warning LNK4049: locally defined symbol _CFRelease imported
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : warning LNK4217: locally defined symbol _CFGetTypeID imported in function &quot;void __cdecl drawImageOrLayer(struct CGContext *,struct CGRect,void const *)&quot; (?drawImageOrLayer@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : warning LNK4217: locally defined symbol _CFDataCreateWithBytesNoCopy imported in function &quot;struct CGLayer * __cdecl createMediaPDFClosedCaptionsImage(void)&quot; (?createMediaPDFClosedCaptionsImage@@YAPAUCGLayer@@XZ)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : warning LNK4049: locally defined symbol _CFDataCreateWithBytesNoCopy imported
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGColorCreateGenericGray referenced in function &quot;struct CGColor * __cdecl fiftyPercentTransparentWhite(void)&quot; (?fiftyPercentTransparentWhite@@YAPAUCGColor@@XZ)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextDrawPDFPage referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextConcatCTM referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGAffineTransformRotate referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGAffineTransformMakeTranslation referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGLayerGetContext referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGLayerGetContext
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGLayerCreateWithContext referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGLayerCreateWithContext
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectApplyAffineTransform referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGAffineTransformMakeRotation referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPDFPageGetRotationAngle referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectIntersection referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPDFPageGetBoxRect referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPDFDocumentGetPage referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPDFDocumentCreateWithProvider referenced in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextTranslateCTM referenced in function &quot;struct CGLayer * __cdecl createCompatibleLayerInRect(struct CGContext *,struct CGRect,struct __CFDictionary const *)&quot; (?createCompatibleLayerInRect@@YAPAUCGLayer@@PAUCGContext@@UCGRect@@PBU__CFDictionary@@@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextTranslateCTM
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextTranslateCTM
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextScaleCTM referenced in function &quot;struct CGLayer * __cdecl createCompatibleLayerInRect(struct CGContext *,struct CGRect,struct __CFDictionary const *)&quot; (?createCompatibleLayerInRect@@YAPAUCGLayer@@PAUCGContext@@UCGRect@@PBU__CFDictionary@@@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextScaleCTM
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextScaleCTM
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGLayerGetSize referenced in function &quot;struct CGLayer * __cdecl createCompatibleLayerInRect(struct CGContext *,struct CGRect,struct __CFDictionary const *)&quot; (?createCompatibleLayerInRect@@YAPAUCGLayer@@PAUCGContext@@UCGRect@@PBU__CFDictionary@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextConvertSizeToDeviceSpace referenced in function &quot;struct CGLayer * __cdecl createCompatibleLayerInRect(struct CGContext *,struct CGRect,struct __CFDictionary const *)&quot; (?createCompatibleLayerInRect@@YAPAUCGLayer@@PAUCGContext@@UCGRect@@PBU__CFDictionary@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextDrawLayerInRect referenced in function &quot;void __cdecl drawImageOrLayer(struct CGContext *,struct CGRect,void const *)&quot; (?drawImageOrLayer@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextDrawLayerInRect
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGLayerGetTypeID referenced in function &quot;void __cdecl drawImageOrLayer(struct CGContext *,struct CGRect,void const *)&quot; (?drawImageOrLayer@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextDrawImage referenced in function &quot;void __cdecl drawImageOrLayer(struct CGContext *,struct CGRect,void const *)&quot; (?drawImageOrLayer@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextDrawImage
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGImageGetTypeID referenced in function &quot;void __cdecl drawImageOrLayer(struct CGContext *,struct CGRect,void const *)&quot; (?drawImageOrLayer@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGAffineTransformConcat referenced in function &quot;void __cdecl shadowDetailsInBaseSpace(struct CGContext *,float &amp;,struct CGSize &amp;)&quot; (?shadowDetailsInBaseSpace@@YAXPAUCGContext@@AAMAAUCGSize@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextGetCTM referenced in function &quot;void __cdecl shadowDetailsInBaseSpace(struct CGContext *,float &amp;,struct CGSize &amp;)&quot; (?shadowDetailsInBaseSpace@@YAXPAUCGContext@@AAMAAUCGSize@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextGetCTM
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGAffineTransformInvert referenced in function &quot;void __cdecl shadowDetailsInBaseSpace(struct CGContext *,float &amp;,struct CGSize &amp;)&quot; (?shadowDetailsInBaseSpace@@YAXPAUCGContext@@AAMAAUCGSize@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextGetBaseCTM referenced in function &quot;void __cdecl shadowDetailsInBaseSpace(struct CGContext *,float &amp;,struct CGSize &amp;)&quot; (?shadowDetailsInBaseSpace@@YAXPAUCGContext@@AAMAAUCGSize@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextRestoreGState referenced in function &quot;void __cdecl drawShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextRestoreGState
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextRestoreGState
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetShadowWithColor referenced in function &quot;void __cdecl drawShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextClipToRect referenced in function &quot;void __cdecl drawShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextClipToRect
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSaveGState referenced in function &quot;void __cdecl drawShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextSaveGState
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGContextSaveGState
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGGradientCreateWithColorComponents referenced in function &quot;struct CGGradient * __cdecl createGenericGrayGradient(float const * const,float const * const,unsigned int)&quot; (?createGenericGrayGradient@@YAPAUCGGradient@@QBM0I@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGColorSpaceCreateWithName referenced in function &quot;struct CGGradient * __cdecl createGenericGrayGradient(float const * const,float const * const,unsigned int)&quot; (?createGenericGrayGradient@@YAPAUCGGradient@@QBM0I@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCGColorSpaceGenericGray
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextEndTransparencyLayer referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGColorGetConstantColor referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCGColorWhite
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextFillRect referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectInfinite
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetFillColorWithColor referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetBlendMode referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextBeginTransparencyLayerWithRect referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextConvertRectToUserSpace referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectIntegral referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextConvertRectToDeviceSpace referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectUnion referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectIntersectsRect referenced in function &quot;void __cdecl drawInnerShadow(struct CGContext *,struct CGRect,void const *,struct CGSize,float,struct CGColor *)&quot; (?drawInnerShadow@@YAXPAUCGContext@@UCGRect@@PBXUCGSize@@MPAUCGColor@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetStyle referenced in function &quot;void __cdecl drawFocusRing(struct CGContext *,struct CGRect,void const *)&quot; (?drawFocusRing@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGStyleCreateFocusRing referenced in function &quot;void __cdecl drawFocusRing(struct CGContext *,struct CGRect,void const *)&quot; (?drawFocusRing@@YAXPAUCGContext@@UCGRect@@PBX@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectZero
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextDrawLinearGradient referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetMidX referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGGradientGetTypeID referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetMinX referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGColorGetTypeID referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetShouldAntialias referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetMaxY referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectGetMaxY
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetMinY referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectGetMinY
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextRotateCTM referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetWidth referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectGetWidth
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetHeight referenced in function &quot;void __cdecl draw3PartBannerInRectRelativeToEdge(struct CGContext *,struct CGRect,enum CGRectEdge,float,void const *,struct CGColor *,void const *)&quot; (?draw3PartBannerInRectRelativeToEdge@@YAXPAUCGContext@@UCGRect@@W4CGRectEdge@@MPBXPAUCGColor@@3@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectGetHeight
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPathRelease referenced in function &quot;void __cdecl addRoundedRectToContext(struct CGContext *,struct CGRect,float)&quot; (?addRoundedRectToContext@@YAXPAUCGContext@@UCGRect@@M@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextAddPath referenced in function &quot;void __cdecl addRoundedRectToContext(struct CGContext *,struct CGRect,float)&quot; (?addRoundedRectToContext@@YAXPAUCGContext@@UCGRect@@M@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPathCloseSubpath referenced in function &quot;void __cdecl addRoundedRectToContext(struct CGContext *,struct CGRect,float)&quot; (?addRoundedRectToContext@@YAXPAUCGContext@@UCGRect@@M@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPathAddArc referenced in function &quot;void __cdecl addRoundedRectToContext(struct CGContext *,struct CGRect,float)&quot; (?addRoundedRectToContext@@YAXPAUCGContext@@UCGRect@@M@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPathMoveToPoint referenced in function &quot;void __cdecl addRoundedRectToContext(struct CGContext *,struct CGRect,float)&quot; (?addRoundedRectToContext@@YAXPAUCGContext@@UCGRect@@M@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGPathCreateMutable referenced in function &quot;void __cdecl addRoundedRectToContext(struct CGContext *,struct CGRect,float)&quot; (?addRoundedRectToContext@@YAXPAUCGContext@@UCGRect@@M@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetAlpha referenced in function &quot;public: virtual void __thiscall MediaSharedUIImageElement::paint(struct CGContext *,struct CGRect)&quot; (?paint@MediaSharedUIImageElement@@UAEXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetMidY referenced in function &quot;public: virtual bool __thiscall MediaSharedUITimelineSliderThumbElement::hitTest(struct CGRect,struct CGPoint)const &quot; (?hitTest@MediaSharedUITimelineSliderThumbElement@@UBE_NUCGRect@@UCGPoint@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGLayerRelease referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUITimelineSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUITimelineSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGLayerRelease
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextClip referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUITimelineSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUITimelineSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextClosePath referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUITimelineSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUITimelineSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextAddLineToPoint referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUITimelineSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUITimelineSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextMoveToPoint referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUITimelineSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUITimelineSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextBeginPath referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUITimelineSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUITimelineSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextGetClipBoundingBox referenced in function &quot;public: virtual void __thiscall MediaSharedUITimelineSliderThumbElement::paint(struct CGContext *,struct CGRect)&quot; (?paint@MediaSharedUITimelineSliderThumbElement@@UAEXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectGetMaxX referenced in function &quot;private: void __thiscall MediaSharedUITimelineSlider::highlightUnloadedRange(struct CGContext *,struct CGRect)const &quot; (?highlightUnloadedRange@MediaSharedUITimelineSlider@@ABEXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextConvertSizeToUserSpace referenced in function &quot;private: void __thiscall MediaSharedUITimelineSlider::highlightUnloadedRange(struct CGContext *,struct CGRect)const &quot; (?highlightUnloadedRange@MediaSharedUITimelineSlider@@ABEXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextStrokePath referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUIVolumeSlider::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUIVolumeSlider@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetLineWidth referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUIVolumeSlider::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUIVolumeSlider@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextSetGrayStrokeColor referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUIVolumeSlider::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUIVolumeSlider@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectInset referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUIVolumeSlider::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUIVolumeSlider@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextAddEllipseInRect referenced in function &quot;private: struct CGLayer * __thiscall MediaSharedUIVolumeSliderThumbElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUIVolumeSliderThumbElement@@AAEPAUCGLayer@@PAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGRectContainsPoint referenced in function &quot;public: virtual bool __thiscall MediaUIElement::hitTest(struct CGRect,struct CGPoint)const &quot; (?hitTest@MediaUIElement@@UBE_NUCGRect@@UCGPoint@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGRectContainsPoint
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGSizeZero
13&gt;WebKitSystemInterface.lib(MediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGSizeZero
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGSizeZero
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGDataProviderCreateWithCFData referenced in function &quot;struct CGLayer * __cdecl createMediaPDFClosedCaptionsImage(void)&quot; (?createMediaPDFClosedCaptionsImage@@YAPAUCGLayer@@XZ)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__CGDataProviderCreateWithCFData
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorDefault
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorDefault
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorNull
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorNull
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextBeginTransparencyLayer referenced in function &quot;protected: virtual void const * __thiscall MediaSharedUICCImageElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUICCImageElement@@MAEPBXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGColorCreateGenericRGB referenced in function &quot;protected: virtual void const * __thiscall MediaSharedUICCImageElement::layerWithContents(struct CGContext *,struct CGRect)&quot; (?layerWithContents@MediaSharedUICCImageElement@@MAEPBXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGImageCreateWithPNGDataProvider referenced in function &quot;struct CGImage * __cdecl mediaPNGFullscreenImage(void)&quot; (?mediaPNGFullscreenImage@@YAPAUCGImage@@XZ)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGContextDrawTiledImage referenced in function &quot;public: virtual void __thiscall MediaLegacyUITimelineSlider::paint(struct CGContext *,struct CGRect)&quot; (?paint@MediaLegacyUITimelineSlider@@UAEXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGImageGetHeight referenced in function &quot;public: virtual void __thiscall MediaLegacyUITimelineSlider::paint(struct CGContext *,struct CGRect)&quot; (?paint@MediaLegacyUITimelineSlider@@UAEXPAUCGContext@@UCGRect@@@Z)
13&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2019: unresolved external symbol __imp__CGImageGetWidth referenced in function &quot;public: virtual void __thiscall MediaLegacyUITimelineSlider::paint(struct CGContext *,struct CGRect)&quot; (?paint@MediaLegacyUITimelineSlider@@UAEXPAUCGContext@@UCGRect@@@Z)
13&gt;C:\Projects\WebKit\WebKitBuild\Debug\bin\QTMovieWin.dll : fatal error LNK1120: 93 unresolved externals</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882454</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-28 21:19:47 -0700</bug_when>
    <thetext>Stubbing out the fastMalloc calls with ::malloc and ::free gives a clean, working build.  It also prevents the create-lots-of-workers crash:


Index: WTF/wtf/FastMalloc.h
===================================================================
--- WTF/wtf/FastMalloc.h	(revision 148591)
+++ WTF/wtf/FastMalloc.h	(working copy)
@@ -264,14 +264,14 @@
 #pragma warning(push)
 #pragma warning(disable: 4290) // Disable the C++ exception specification ignored warning.
 #endif
-WTF_PRIVATE_INLINE void* operator new(size_t size) throw (std::bad_alloc) { return fastMalloc(size); }
-WTF_PRIVATE_INLINE void* operator new(size_t size, const std::nothrow_t&amp;) throw() { return fastMalloc(size); }
-WTF_PRIVATE_INLINE void operator delete(void* p) throw() { fastFree(p); }
-WTF_PRIVATE_INLINE void operator delete(void* p, const std::nothrow_t&amp;) throw() { fastFree(p); }
-WTF_PRIVATE_INLINE void* operator new[](size_t size) throw (std::bad_alloc) { return fastMalloc(size); }
-WTF_PRIVATE_INLINE void* operator new[](size_t size, const std::nothrow_t&amp;) throw() { return fastMalloc(size); }
-WTF_PRIVATE_INLINE void operator delete[](void* p) throw() { fastFree(p); }
-WTF_PRIVATE_INLINE void operator delete[](void* p, const std::nothrow_t&amp;) throw() { fastFree(p); }
+WTF_PRIVATE_INLINE void* operator new(size_t size) throw (std::bad_alloc) { return ::malloc(size); /*fastMalloc(size);*/ }
+WTF_PRIVATE_INLINE void* operator new(size_t size, const std::nothrow_t&amp;) throw() { return ::malloc(size); /*fastMalloc(size);*/ }
+WTF_PRIVATE_INLINE void operator delete(void* p) throw() { ::free(p); /*fastFree(p);*/ }
+WTF_PRIVATE_INLINE void operator delete(void* p, const std::nothrow_t&amp;) throw() { ::free(p); /*fastFree(p);*/ }
+WTF_PRIVATE_INLINE void* operator new[](size_t size) throw (std::bad_alloc) { return ::malloc(size); /*fastMalloc(size);*/ }
+WTF_PRIVATE_INLINE void* operator new[](size_t size, const std::nothrow_t&amp;) throw() { return ::malloc(size); /*fastMalloc(size);*/ }
+WTF_PRIVATE_INLINE void operator delete[](void* p) throw() { ::free(p); /*fastFree(p);*/ }
+WTF_PRIVATE_INLINE void operator delete[](void* p, const std::nothrow_t&amp;) throw() { ::free(p); /*fastFree(p);*/ }
 #if COMPILER(MSVC)
 #pragma warning(pop)
 #endif</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882455</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-28 21:23:30 -0700</bug_when>
    <thetext>Note this was found while investigating Bug 115130.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>882456</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-28 21:28:32 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Note this was found while investigating Bug 115130.

Bug 102895 discusses changes in link order to avoid a runtime crash in KURL tests under Linux. These were caused by an allocator mismatch (using libc&apos;s new and fastMalloc delete). This is very similar to MSVC&apos;s crashing due to msvcrt new and fastMalloc delete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>883113</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-30 09:31:48 -0700</bug_when>
    <thetext>Roger Fong built this locally and did not experience a problem.  This may be something to do with the Open Source build environment, or perhaps the CFLite headers are getting picked up somehow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>883238</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-04-30 15:00:49 -0700</bug_when>
    <thetext>If I add CoreGraphics.lib to the linker inputs for QTMovieWin, the linker errors drop to the following (effectively just a missing __imp__kCFAllocatorDefault and __imp__kCFAllocatorNull):

1&gt;------ Build started: Project: QTMovieWin, Configuration: Release Win32 ------
1&gt;  XXQTMovieWinXX 
1&gt;  /usr/bin/which: no bash in (/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (February 2010)/Utilities/Bin/x86:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/SDK/v2.0/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/tools:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/ide:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0:/cygdrive/c/Windows/SysWow64:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/WinMerge:/cygdrive/c/Program Files (x86)/Vim/vim72:/cygdrive/c/Program Files (x86)/Vim/vim72:/cygdrive/c/Program Files (x86)/Vim/vim73:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files (x86)/CMake 2.8/bin)
1&gt;     Creating library E:\Projects\WebKit\WebKitBuild\Release\lib32\QTMovieWin.lib and object E:\Projects\WebKit\WebKitBuild\Release\lib32\QTMovieWin.exp
1&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : warning LNK4217: locally defined symbol _CFRelease imported in function &quot;struct CGLayer * __cdecl createCGLayerFromPDFDataProvider(struct CGDataProvider *)&quot; (?createCGLayerFromPDFDataProvider@@YAPAUCGLayer@@PAUCGDataProvider@@@Z)
1&gt;WebKitSystemInterface.lib(MediaUI.obj) : warning LNK4049: locally defined symbol _CFRelease imported
1&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : warning LNK4049: locally defined symbol _CFRelease imported
1&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : warning LNK4217: locally defined symbol _CFGetTypeID imported in function &quot;void __cdecl drawImageOrLayer(struct CGContext *,struct CGRect,void const *)&quot; (?drawImageOrLayer@@YAXPAUCGContext@@UCGRect@@PBX@Z)
1&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : warning LNK4217: locally defined symbol _CFDataCreateWithBytesNoCopy imported in function &quot;struct CGLayer * __cdecl createMediaPDFClosedCaptionsImage(void)&quot; (?createMediaPDFClosedCaptionsImage@@YAPAUCGLayer@@XZ)
1&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : warning LNK4049: locally defined symbol _CFDataCreateWithBytesNoCopy imported
1&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorDefault
1&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorDefault
1&gt;WebKitSystemInterface.lib(SharedMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorNull
1&gt;WebKitSystemInterface.lib(LegacyMediaUI.obj) : error LNK2001: unresolved external symbol __imp__kCFAllocatorNull
1&gt;E:\Projects\WebKit\WebKitBuild\Release\bin32\QTMovieWin.dll : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>883433</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-01 09:32:20 -0700</bug_when>
    <thetext>This linker error was confirmed on the build bots when Bug 115130 was landed (and subsequently rolled out).  Roger Fong is investigating whether this is a problem with how WebKitSystemInterface is built (since it might use fastAlloc internally).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884005</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-02 16:20:00 -0700</bug_when>
    <thetext>Roger can fix the build by updating WebKitSystemInterface.  We should probably do so and re-land this fix, though I would like to get Oliver&apos;s blessing first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884007</commentid>
    <comment_count>8</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2013-05-02 16:21:13 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Roger can fix the build by updating WebKitSystemInterface.  We should probably do so and re-land this fix, though I would like to get Oliver&apos;s blessing first.

Yeah, that should be done, and would make me happy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884332</commentid>
    <comment_count>9</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-05-03 14:28:31 -0700</bug_when>
    <thetext>Roger fixed this in http://trac.webkit.org/changeset/149511.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>