summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 15:33:17 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 15:33:17 +0000
commit162407f17390cdd987779f4cdc808addaa7800a4 (patch)
tree749c921845f5e62aac3a814266142fe48fc3bcab /breakpad
parenta8f2115c89679dea905482d9c189c1df78cfd26f (diff)
downloadchromium_src-162407f17390cdd987779f4cdc808addaa7800a4.zip
chromium_src-162407f17390cdd987779f4cdc808addaa7800a4.tar.gz
chromium_src-162407f17390cdd987779f4cdc808addaa7800a4.tar.bz2
Disable PIE for dump_syms. The framework is too big to reliably be able to
mmap it in a 32-bit process with PIE on. There may not be a big enough gap in the address space to mmap it. BUG=none TEST=none Review URL: http://codereview.chromium.org/7840040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/breakpad.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index 98d36e5..d9832a1 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -104,6 +104,12 @@
{
'target_name': 'dump_syms',
'type': 'executable',
+ 'variables': {
+ # Turn off PIE because it may interfere with dump_syms' ability to
+ # allocate a contiguous region in memory large enough to mmap the
+ # entire unstripped framework in a 32-bit dump_syms process.
+ 'mac_pie': 0,
+ },
'include_dirs++': [
# ++ ensures this comes before src brought in from target_defaults.
'pending/src',