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

Issue 616813002: Non-SFI Mode: Enable compiling exception_test for x86-32. (Closed)

Created:
6 years, 2 months ago by Junichi Uekawa
Modified:
6 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Project:
nacl
Visibility:
Public.

Description

Non-SFI Mode: Enable compiling exception_test for x86-32. Add --target to enable inline assembly with memory constraints, and remove naclret from assembly for non-SFI target. Fix support for Non-SFI mode in AddBiasForPNaCl to set correct pnacl-bias. TESTED= ./scons -j20 --mode=dbg-host,nacl bitcode=1 nonsfi_nacl=1 \ pnacl_generate_pexe=0 platform=arm run_exception_test # compiles and crashes with SIGSEGV TESTED= ./scons -j20 --mode=dbg-host,nacl bitcode=1 nonsfi_nacl=1 \ pnacl_generate_pexe=0 platform=x86-32 run_exception_test # compiles and crashes with SIGSEGV BUG= https://code.google.com/p/chromium/issues/detail?id=408879 Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=13824

Patch Set 1 #

Patch Set 2 : fix arm #

Patch Set 3 : rebase #

Patch Set 4 : make change more local #

Patch Set 5 : workaround part 2 #

Total comments: 7

Patch Set 6 : move to allowinlineassembly #

Patch Set 7 : prepare for submit. #

Patch Set 8 : space #

Total comments: 3

Patch Set 9 : fix pnacl-bias for nonsfi-nacl #

Patch Set 10 : if defined() instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M SConstruct View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M site_scons/site_tools/naclsdk.py View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -8 lines 0 comments Download
M tests/exception_test/direction_flag_x86.S View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
Junichi Uekawa
Hi, Now it seems to be possible to compile exception_test. I tried adding -target for ...
6 years, 2 months ago (2014-09-30 13:30:38 UTC) #2
Junichi Uekawa
On 2014/09/30 13:30:38, Junichi Uekawa wrote: > Hi, > > Now it seems to be ...
6 years, 2 months ago (2014-09-30 13:43:40 UTC) #3
Mark Seaborn
https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py File site_scons/site_tools/naclsdk.py (right): https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py#newcode361 site_scons/site_tools/naclsdk.py:361: '--target=i686-unknown-nacl'], This is fine to do, but if we're ...
6 years, 2 months ago (2014-09-30 20:32:30 UTC) #4
Junichi Uekawa
https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py File site_scons/site_tools/naclsdk.py (right): https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py#newcode361 site_scons/site_tools/naclsdk.py:361: '--target=i686-unknown-nacl'], On 2014/09/30 20:32:29, Mark Seaborn wrote: > This ...
6 years, 2 months ago (2014-10-01 04:17:13 UTC) #5
Junichi Uekawa
On 2014/10/01 04:17:13, Junichi Uekawa wrote: > https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py > File site_scons/site_tools/naclsdk.py (right): > > https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py#newcode361 ...
6 years, 2 months ago (2014-10-01 06:37:21 UTC) #6
Junichi Uekawa
https://codereview.chromium.org/616813002/diff/120001/SConstruct File SConstruct (right): https://codereview.chromium.org/616813002/diff/120001/SConstruct#newcode3044 SConstruct:3044: '-mfloat-abi=hard']) hmm.. It seems to be affecting existing ARM ...
6 years, 2 months ago (2014-10-01 07:56:03 UTC) #7
Junichi Uekawa
On 2014/10/01 07:56:03, Junichi Uekawa wrote: > https://codereview.chromium.org/616813002/diff/120001/SConstruct > File SConstruct (right): > > https://codereview.chromium.org/616813002/diff/120001/SConstruct#newcode3044 ...
6 years, 2 months ago (2014-10-01 07:58:58 UTC) #8
Mark Seaborn
On 2014/10/01 07:58:58, Junichi Uekawa wrote: > On 2014/10/01 07:56:03, Junichi Uekawa wrote: > > ...
6 years, 2 months ago (2014-10-01 16:49:47 UTC) #9
Mark Seaborn
https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py File site_scons/site_tools/naclsdk.py (right): https://codereview.chromium.org/616813002/diff/60002/site_scons/site_tools/naclsdk.py#newcode361 site_scons/site_tools/naclsdk.py:361: '--target=i686-unknown-nacl'], On 2014/10/01 04:17:13, Junichi Uekawa wrote: > On ...
6 years, 2 months ago (2014-10-01 17:02:30 UTC) #10
Mark Seaborn
LGTM https://codereview.chromium.org/616813002/diff/120001/tests/exception_test/nacl.scons File tests/exception_test/nacl.scons (right): https://codereview.chromium.org/616813002/diff/120001/tests/exception_test/nacl.scons#newcode11 tests/exception_test/nacl.scons:11: env.Append(CPPDEFINES=[['NONSFI_MODE', Maybe add a comment: We #define NONSFI_MODE ...
6 years, 2 months ago (2014-10-01 17:04:00 UTC) #11
Junichi Uekawa
https://codereview.chromium.org/616813002/diff/120001/tests/exception_test/nacl.scons File tests/exception_test/nacl.scons (right): https://codereview.chromium.org/616813002/diff/120001/tests/exception_test/nacl.scons#newcode11 tests/exception_test/nacl.scons:11: env.Append(CPPDEFINES=[['NONSFI_MODE', On 2014/10/01 17:04:00, Mark Seaborn wrote: > Maybe ...
6 years, 2 months ago (2014-10-02 02:33:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/616813002/160001
6 years, 2 months ago (2014-10-02 04:35:31 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 16:25:02 UTC) #15
Message was sent while issue was closed.
Committed patchset #10 (id:160001) as 13824

Powered by Google App Engine
This is Rietveld 408576698