[Webkit-unassigned] [Bug 156337] New: S390X and PPC64 architectures detection is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 04:25:30 PDT 2016


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

            Bug ID: 156337
           Summary: S390X and PPC64 architectures detection is wrong
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tpopela at redhat.com

After the https://bugs.webkit.org/show_bug.cgi?id=156015 was committed it showed that the PPC64 detection is wrong as on the CPU(PPC) path was activated even for PPC64. The thing is that GCC defines __ppc__ even on PPC64 and not just on PPC(32). The same applies for S390X.

$  gcc -dM -E - < /dev/null | grep PPC
#define _ARCH_PPCGR 1
#define __PPC64__ 1   <---
#define _ARCH_PPCSQ 1
#define _ARCH_PPC 1
#define __PPC__ 1     <---
#define _ARCH_PPC64 1

-- 
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/20160407/13b98858/attachment.html>


More information about the webkit-unassigned mailing list