<?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>17816</bug_id>
          
          <creation_ts>2008-03-12 20:56:05 -0700</creation_ts>
          <short_desc>libWebCoreSQLite3.a is 2-architecture Universal Binary (not 4-architecture)</short_desc>
          <delta_ts>2008-03-19 13:29:01 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</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="Mark Rowe (bdash)">mrowe</assigned_to>
          <cc>arahn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73541</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2008-03-12 20:56:05 -0700</bug_when>
    <thetext>When attempting to build a 64-bit WebKit, I discovered that the copy of libWebCoreSQLite3.a installed with &apos;update-webkit&apos; is missing 64-bit architectures:

    cd /Users/brent/Projects/WebKit/WebCore
    /Developer/usr/bin/g++-4.0 -arch x86_64 -dynamiclib -L/Users/brent/Projects/WebKit/WebKitBuild/Release -F/Users/brent/Projects/WebKit/WebKitBuild/Release -F/System/Library/Frameworks/Carbon.framework/Frameworks -F/System/Library/Frameworks/ApplicationServices.framework/Frameworks -filelist /Users/brent/Projects/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/WebCore.LinkFileList -Wl,--no-demangle -exported_symbols_list /Users/brent/Projects/WebKit/WebKitBuild/Release/DerivedSources/WebCore/WebCore.LP64.exp -install_name /Users/brent/Projects/WebKit/WebKitBuild/Release/WebCore.framework/Versions/A/WebCore -mmacosx-version-min=10.5 -Wl,-dead_strip -lWebCoreSQLite3 -lobjc -sub_library libobjc -umbrella WebKit -framework ApplicationServices -framework Carbon -framework Cocoa -framework JavaScriptCore -framework QuartzCore -licucore -lobjc -lxml2 -Wl,-single_module -compatibility_version 1 -current_version 526.1 -o /Users/brent/Projects/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/WebCore
ld warning: in /Users/brent/Projects/WebKit/WebKitBuild/Release/libWebCoreSQLite3.a, missing required architecture x86_64 in file

This can be easily verified with the &apos;file&apos; command:

Link:WebKitLibraries brent$ file libWebCoreSQLite3.a 
libWebCoreSQLite3.a: Mach-O universal binary with 2 architectures
libWebCoreSQLite3.a (for architecture ppc):	current ar archive random library
libWebCoreSQLite3.a (for architecture i386):	current ar archive random library
Link:WebKitLibraries brent$ 

Request that link library be updated with full four-way universal binary to allow 64-bit builds on all architectures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74450</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-03-19 10:09:28 -0700</bug_when>
    <thetext>*** Bug 17951 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74466</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-03-19 13:29:01 -0700</bug_when>
    <thetext>Fixed in r31158.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>