[Webkit-unassigned] [Bug 30526] New: Supporting multiple OS X versions in one binary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 19 12:27:16 PDT 2009


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

           Summary: Supporting multiple OS X versions in one binary
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Wx
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kevino at theolliviers.com


While playing around with adding the ability to specify the SDK to build
against to wxWebKit, I discovered something interesting. With one simple change
to Platform.h, I was able to get a working wxWebKit Mac binary that worked on
both 10.5 and 10.6. (Basically just disabling some 10.6 specific code when
using an older SDK to build on SnowLeopard.) Of course, while compilation works
for 10.4 as well, it does not work with memory allocation errors. Still, even
10.5 + 10.6 support in one binary would be a huge gain for us developers that
aren't able to bundle our software with the OS. :)

I'm enclosing the patch of the change I made for discussion. I'm not sure it's
really the 'right' fix, though I'm so far unable to crash it on either OS even
after loading JS heavy pages. I'd like to start a discussion of what else might
need to be done for 10.5 + 10.6 support to really be solid, and also start to
look at 10.4 compat issues. Is compiling 10.4 code going to actually break
support for 10.5+ (e.g. by changing BUILDING_ON_TIGER to return MIN_REQUIRED
rather than MAX_ALLOWED, or perhaps to introduce a BUILDING_TIGER_COMPAT
define), or will there just be a degradation of features as we fallback to 10.4
compatible approaches? Also, what are the specific areas of the code I should
be paying particular attention to when working out a compatibility solution?

Thanks,

Kevin

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list