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

Issue 25499003: PNaCl: Allow translator to produce an unsandboxed, native executable (Closed)

Created:
7 years, 2 months ago by Mark Seaborn
Modified:
7 years, 2 months ago
Reviewers:
eliben, Derek Schuff
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

PNaCl: Allow translator to produce an unsandboxed, native executable This only works for targeting x86-32 Linux in this initial version. This allows pnacl-translate to be invoked with "-arch linux-x86-32". I'll extend this to work on x86-64 and Mac in later changes. * Add a minimal IRT implementation that's just enough to run hello_world.pexe. It implements TLS, mmap(), write(), exit(), etc. I'll implement more IRT interfaces in a later change. * For testing, add a Buildbot step to test this, and add the "pnacl_unsandboxed" option to Scons. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3699 TEST=run_hello_world_test_irt bitcode=1 pnacl_unsandboxed=1 --mode=nacl_irt_test Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=12218

Patch Set 1 #

Patch Set 2 : Fix -I path #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -10 lines) Patch
M SConstruct View 2 chunks +7 lines, -0 lines 0 comments Download
M buildbot/buildbot_pnacl.sh View 1 chunk +6 lines, -0 lines 1 comment Download
M pnacl/build.sh View 1 2 chunks +13 lines, -0 lines 0 comments Download
M pnacl/driver/driver_log.py View 1 chunk +2 lines, -0 lines 0 comments Download
M pnacl/driver/pnacl-translate.py View 7 chunks +27 lines, -10 lines 0 comments Download
A pnacl/support/unsandboxed_irt.c View 1 chunk +196 lines, -0 lines 0 comments Download
M site_scons/site_tools/naclsdk.py View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mark Seaborn
7 years, 2 months ago (2013-10-07 15:43:50 UTC) #1
Derek Schuff
On 2013/10/07 15:43:50, Mark Seaborn wrote: It seems weird to pack the OS/ABI into pnacl-translate's ...
7 years, 2 months ago (2013-10-07 20:30:30 UTC) #2
Derek Schuff
https://codereview.chromium.org/25499003/diff/6001/buildbot/buildbot_pnacl.sh File buildbot/buildbot_pnacl.sh (right): https://codereview.chromium.org/25499003/diff/6001/buildbot/buildbot_pnacl.sh#newcode611 buildbot/buildbot_pnacl.sh:611: ./scons run_hello_world_test_irt bitcode=1 pnacl_unsandboxed=1 \ would it make more ...
7 years, 2 months ago (2013-10-07 20:30:35 UTC) #3
Derek Schuff
lgtm
7 years, 2 months ago (2013-10-07 21:03:31 UTC) #4
eliben_google.com
On Mon, Oct 7, 2013 at 8:43 AM, <mseaborn@chromium.org> wrote: > Reviewers: Derek Schuff, > ...
7 years, 2 months ago (2013-10-07 21:08:03 UTC) #5
Mark Seaborn
On 7 October 2013 14:07, Eli Bendersky <eliben@google.com> wrote: > On Mon, Oct 7, 2013 ...
7 years, 2 months ago (2013-10-07 21:08:53 UTC) #6
Mark Seaborn
On 7 October 2013 13:30, <dschuff@chromium.org> wrote: > https://codereview.chromium.**org/25499003/diff/6001/** > buildbot/buildbot_pnacl.sh<https://codereview.chromium.org/25499003/diff/6001/buildbot/buildbot_pnacl.sh> > File buildbot/buildbot_pnacl.sh (right): ...
7 years, 2 months ago (2013-10-08 18:23:52 UTC) #7
Mark Seaborn
7 years, 2 months ago (2013-10-08 18:27:26 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r12218 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698