Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py

Issue 411803002: Fix for building ARM/linux using clang. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py
diff --git a/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py b/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py
index b3a0e1ae627df92db526ab41c071c6da28c67c0a..03188b9677ad522c13f925014fba37aff58be40b 100644
--- a/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py
+++ b/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py
@@ -29,8 +29,12 @@ def Main(argv):
[prog, munger, infile, outfile] = argv
tmpfile = outfile + '.tmp'
shutil.copy(infile, tmpfile)
- segment_num = '2'
- subprocess.check_call([munger, tmpfile, segment_num])
+ segment_num = '3'
Mark Seaborn 2014/07/24 21:17:24 I investigated this. I was able to reproduce the
+ cmd = [munger, tmpfile, segment_num]
+ rtn = subprocess.call(cmd)
+ if rtn != 0:
+ print 'Command failed with %d: %s' % (rtn, cmd)
+ return rtn
shutil.move(tmpfile, outfile)
return 0

Powered by Google App Engine
This is Rietveld 408576698