Changeset 112282 in webkit


Ignore:
Timestamp:
Mar 27, 2012 10:47:39 AM (12 years ago)
Author:
Csaba Osztrogonác
Message:

[Qt] Make debug build work on 32 bit
https://bugs.webkit.org/show_bug.cgi?id=82331

Use --no-keep-memory option of ld not to cache the symbol tables of input files in
memory to avoid memory exhaustion during the linking phase for x86-debug builds.

Reviewed by Tor Arne Vestbø.

  • qmake/mkspecs/features/unix/default_post.prf:
  • qmake/mkspecs/features/unix/default_pre.prf:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r112270 r112282  
     12012-03-27  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        [Qt] Make debug build work on 32 bit
     4        https://bugs.webkit.org/show_bug.cgi?id=82331
     5
     6        Use --no-keep-memory option of ld not to cache the symbol tables of input files in
     7        memory to avoid memory exhaustion during the linking phase for x86-debug builds.
     8
     9        Reviewed by Tor Arne Vestbø.
     10
     11        * qmake/mkspecs/features/unix/default_post.prf:
     12        * qmake/mkspecs/features/unix/default_pre.prf:
     13
    1142012-03-23  Balazs Ankes  <bank@inf.u-szeged.hu>
    215
  • trunk/Tools/qmake/mkspecs/features/unix/default_post.prf

    r111375 r112282  
    3131contains(TEMPLATE, app): CONFIG += rpath
    3232
     33isEqual(QT_ARCH,i386):CONFIG(debug, debug|release) {
     34  # Make ld don't cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
     35  # We have to use ld, because --no-keep-memory isn't supported by ld.gold.
     36  QMAKE_LFLAGS += -Wl,--no-keep-memory
     37} else {
     38  # Use gold if available
     39  !scratchbox:!mac:exists(/usr/bin/ld.gold): QMAKE_LFLAGS += -fuse-ld=gold
     40}
     41
    3342load(default_post)
  • trunk/Tools/qmake/mkspecs/features/unix/default_pre.prf

    r109904 r112282  
    1313!isEmpty(SBOX_CHECK): CONFIG += scratchbox
    1414
    15 # Use gold if available
    16 !scratchbox:!mac:exists(/usr/bin/ld.gold): QMAKE_LFLAGS += -fuse-ld=gold
    17 
    1815# If Qt is configured with embedded or QPA we set a convenience config
    1916# flag that can be used to test for either of these situations.
Note: See TracChangeset for help on using the changeset viewer.