[Webkit-unassigned] [Bug 136050] New: [JSC] Build error on ARM64 with gcc: signed/unsigned comparison error in JSC::GPRInfo::debugName

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 18 14:35:36 PDT 2014


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

           Summary: [JSC] Build error on ARM64 with gcc: signed/unsigned
                    comparison error in JSC::GPRInfo::debugName
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: akiss at inf.u-szeged.hu


When compilig debug version of JSC for arm64 with gcc, the following error is raised:

/home/akiss/devel/WebKit/Source/JavaScriptCore/jit/GPRInfo.h: In static member function ‘static const char* JSC::GPRInfo::debugName(JSC::GPRReg)’:
/home/akiss/devel/WebKit/Source/JavaScriptCore/jit/GPRInfo.h:35:41: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
 #define InvalidGPRReg ((::JSC::GPRReg)-1)
                                         ^
/home/akiss/devel/WebKit/Source/WTF/wtf/Assertions.h:237:8: note: in definition of macro ‘ASSERT’
     (!(assertion) ? \
        ^
/home/akiss/devel/WebKit/Source/JavaScriptCore/jit/GPRInfo.h:615:46: note: in expansion of macro ‘InvalidGPRReg’
         ASSERT(static_cast<unsigned>(reg) != InvalidGPRReg);
                                              ^

-- 
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