[Webkit-unassigned] [Bug 169886] New: [Linux] determineArchitecture is not cross-compile aware

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 20 12:59:15 PDT 2017


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

            Bug ID: 169886
           Summary: [Linux] determineArchitecture is not cross-compile
                    aware
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org, guijemont at igalia.com,
                    lforschler at apple.com, ossy at webkit.org

The  determineArchitecture() subroutine determines the architecture of the build host rather than the target arch (at least on Linux).

This causes that isX86_64() return true if the host build is an amd64 machine, ignoring if the build host is cross-building.

So when using build-webkit or build-jsc the tooling may end passing options to the build that shouldn't be enabled, like enabling FTL_JIT because it defaults to true on x86_64, and the tooling confuses build_host=x86_64 with target_arch=armv7.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170320/75102d38/attachment.html>


More information about the webkit-unassigned mailing list