Changeset 31821 in webkit


Ignore:
Timestamp:
Apr 11, 2008 2:18:05 PM (16 years ago)
Author:
mrowe@apple.com
Message:

Fix https://bugs.webkit.org/show_bug.cgi?id=18430
Bug 18430: SIGSEGV on amd64 when built with gcc 4.3

GCC 4.3 generates bad code in some instances when working with our HashTables
as some of the HashTable code violates the strict aliasing requirements. Since
GCC 4.2 this code has generated warnings when -fstrict-aliasing is enabled. Until
the code can be fixed to be safe with strict aliasing enabled, we will disable
strict aliasing.

Rubber-stamped by Anders Carlsson.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r31791 r31821  
     12008-04-11  Mark Rowe  <mrowe@apple.com>
     2
     3        Rubber-stamped by Anders Carlsson.
     4
     5        Fix https://bugs.webkit.org/show_bug.cgi?id=18430
     6        Bug 18430: SIGSEGV on amd64 when built with gcc 4.3
     7
     8        GCC 4.3 generates bad code in some instances when working with our HashTables
     9        as some of the HashTable code violates the strict aliasing requirements.  Since
     10        GCC 4.2 this code has generated warnings when -fstrict-aliasing is enabled. Until
     11        the code can be fixed to be safe with strict aliasing enabled, we will disable
     12        strict aliasing.
     13
     14        * GNUmakefile.am:
     15
    1162008-03-12  Michael Emmel  <mike.emmel@gmail.com>
    217
  • trunk/GNUmakefile.am

    r31214 r31821  
    117117        $(GLOBALDEPS_CFLAGS) \
    118118        $(UNICODE_CFLAGS) \
    119         -fstrict-aliasing
     119        -fno-strict-aliasing
    120120
    121121libJavaScriptCore_la_CFLAGS = \
     
    123123        $(GLOBALDEPS_CFLAGS) \
    124124        $(UNICODE_CFLAGS) \
    125         -fstrict-aliasing
     125        -fno-strict-aliasing
    126126
    127127libJavaScriptCore_la_CPPFLAGS = \
Note: See TracChangeset for help on using the changeset viewer.