[Webkit-unassigned] [Bug 183617] New: [ARM] Build fails due to invalid cast on 32-bit targets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 13 15:47:23 PDT 2018


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

            Bug ID: 183617
           Summary: [ARM] Build fails due to invalid cast on 32-bit
                    targets
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: bmalloc
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: ggaren at apple.com

While trying to update the WebKitGTK+ packaging in Buildroot to the
recent 2.20.0 release I've found that the following prevents from
building for 32-bit ARM (more precisely, this was targeting ARMv7):

  In file included from ../../bmalloc/bmalloc/HeapKind.h:30:0,
                   from ../../bmalloc/bmalloc/ObjectType.h:30,
                   from ../../bmalloc/bmalloc/BumpAllocator.h:31,
                   from ../../bmalloc/bmalloc/Allocator.h:30,
                   from ../../bmalloc/bmalloc/Cache.h:29,
                   from ../../bmalloc/bmalloc/bmalloc.h:29,
                   from FastMalloc.cpp:246:
  ../../bmalloc/bmalloc/Gigacage.h: In function ‘Gigacage::BasePtrs& Gigacage::basePtrs()’:
  ../../bmalloc/bmalloc/Gigacage.h:136:59: warning: cast from ‘char*’ to ‘Gigacage::BasePtrs*’ increases required alignment of target type [-Wcast-align]
       return *reinterpret_cast<BasePtrs*>(g_gigacageBasePtrs);
                                                             ^

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180313/0b3997fc/attachment.html>


More information about the webkit-unassigned mailing list