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

Issue 1804293003: Add support for new pnacl native toolchain driver (Closed)

Created:
4 years, 9 months ago by Ankur Mittal
Modified:
4 years, 7 months ago
CC:
native-client-reviews_googlegroups.com, Sam Clegg, Kevin Cernekee
Base URL:
https://chromium.googlesource.com/webports.git@master
Target Ref:
refs/heads/master
Project:
webports
Visibility:
Public.

Description

Add support for new pnacl native toolchain driver Added new NACL_ARCH=le32 to build with new driver, added support for clang exceptions, patched ports to build with this new driver. BUG=https://bugs.chromium.org/p/webports/issues/detail?id=249 Committed: https://chromium.googlesource.com/webports/+/c41b9360d4feb347893d7ed3753561a01f80f355

Patch Set 1 #

Patch Set 2 : Removing debug info #

Patch Set 3 : Passing pnacl_le32/include libraries to native pnacl clang compile options to fix undeclared variab… #

Patch Set 4 : Adding Exception support and disabling STRIP for vm for new driver #

Patch Set 5 : fixing clapack, ffmpeg, leveldb, matplotlib, mesa, sdlquake #

Patch Set 6 : Adding exception supports to some ports #

Patch Set 7 : Fixing libraries sdl-tests, sdl2-tests and scummvm #

Patch Set 8 : Fixing some more packages #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : Fixing devenv-latest #

Patch Set 13 : fixing port pnacl #

Patch Set 14 : Breaking cl into multiple Cls #

Patch Set 15 : Add new driver to try bot #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : Fix multiple pexe errors when old and new drivers are built in succession #

Patch Set 19 : #

Patch Set 20 : #

Patch Set 21 : rebasing to master #

Patch Set 22 : Rebasing to master and fixing stoken and gnutils #

Patch Set 23 : Fix pnacl and libvpx #

Patch Set 24 : disabling pnacl arch tests #

Patch Set 25 : for trybot #

Patch Set 26 : Rename exception flag #

Total comments: 6

Patch Set 27 : Fix according to Brad's comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -101 lines) Patch
M build_tools/buildbot_common.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -2 lines 0 comments Download
M build_tools/common.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 9 chunks +22 lines, -13 lines 0 comments Download
M build_tools/webports-env.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +12 lines, -6 lines 0 comments Download
M docs/port_list.md View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 12 chunks +14 lines, -12 lines 0 comments Download
M lib/webports/util.py View 1 chunk +1 line, -0 lines 0 comments Download
M make_all.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -1 line 1 comment Download
M ports/binutils/pkg_info View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ports/blis/pkg_info View 1 chunk +1 line, -1 line 0 comments Download
M ports/boost/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M ports/bullet/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M ports/clapack/nacl.patch View 1 2 3 4 3 chunks +10 lines, -6 lines 0 comments Download
M ports/clipper/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ports/devenv-latest/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/devenv/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +14 lines, -9 lines 0 comments Download
M ports/devenv/tests/devenv_small_test.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +2 lines, -1 line 0 comments Download
M ports/devil/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ports/dosbox/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ports/ffmpeg/build.sh View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M ports/ffmpeg/nacl.patch View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M ports/freeimage/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M ports/gnutls/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M ports/id3lib/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ports/imagemagick/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
A ports/imagemagick/nacl.patch View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download
M ports/jsoncpp/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ports/libatomic-ops/pkg_info View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ports/libebml/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
A + ports/libmatroska/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -2 lines 0 comments Download
A ports/libvpx/nacl.patch View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +24 lines, -0 lines 0 comments Download
M ports/libyuv/build.sh View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ports/mp4v2/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M ports/opencv/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M ports/openjpeg/build.sh View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ports/perl/build.sh View 1 2 3 4 5 6 7 4 chunks +5 lines, -4 lines 0 comments Download
M ports/pkg/nacl.patch View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M ports/pnacl/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +8 lines, -5 lines 0 comments Download
M ports/pnacl/pkg_info View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M ports/python_modules/matplotlib/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M ports/quakespasm/nacl.patch View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M ports/regal/nacl.patch View 1 2 3 4 5 6 7 8 9 10 7 chunks +54 lines, -4 lines 0 comments Download
M ports/scummvm/build.sh View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M ports/sdl-tests/build.sh View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ports/sdl-tests/nacl.patch View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ports/sdl2-tests/build.sh View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ports/sdl2-tests/nacl.patch View 1 2 3 4 5 6 1 chunk +40 lines, -2 lines 0 comments Download
M ports/sdlquake/Makefile View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ports/stoken/build.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M ports/texlive/pkg_info View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ports/toybox/nacl.patch View 1 2 3 4 1 chunk +9 lines, -2 lines 0 comments Download
M ports/vim/nacl.patch View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M ports/x264/nacl.patch View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M ports/zlib/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/zlib/nacl.patch View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +14 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
Ankur Mittal
PTAL
4 years, 8 months ago (2016-04-04 20:26:47 UTC) #4
Ankur Mittal
PTAL
4 years, 7 months ago (2016-05-02 17:28:21 UTC) #7
bradnelson
https://codereview.chromium.org/1804293003/diff/490001/ports/devenv/build.sh File ports/devenv/build.sh (right): https://codereview.chromium.org/1804293003/diff/490001/ports/devenv/build.sh#newcode196 ports/devenv/build.sh:196: #if [[ -n ${BUILDBOT_BUILDERNAME:-} ]]; then Can you instead ...
4 years, 7 months ago (2016-05-02 17:38:59 UTC) #9
Ankur Mittal
https://codereview.chromium.org/1804293003/diff/490001/ports/devenv/build.sh File ports/devenv/build.sh (right): https://codereview.chromium.org/1804293003/diff/490001/ports/devenv/build.sh#newcode196 ports/devenv/build.sh:196: #if [[ -n ${BUILDBOT_BUILDERNAME:-} ]]; then On 2016/05/02 17:38:58, ...
4 years, 7 months ago (2016-05-02 20:22:15 UTC) #10
Ankur Mittal
PTAL
4 years, 7 months ago (2016-05-04 21:50:57 UTC) #11
bradnelson
lgtm This change is extremely large. Chopping it up might have been nice, but I ...
4 years, 7 months ago (2016-05-05 05:56:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804293003/510001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804293003/510001
4 years, 7 months ago (2016-05-05 05:57:00 UTC) #14
commit-bot: I haz the power
Committed patchset #27 (id:510001) as https://chromium.googlesource.com/webports/+/c41b9360d4feb347893d7ed3753561a01f80f355
4 years, 7 months ago (2016-05-05 10:41:30 UTC) #16
Kevin Cernekee
4 years, 7 months ago (2016-05-07 23:19:44 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/1804293003/diff/510001/make_all.sh
File make_all.sh (right):

https://codereview.chromium.org/1804293003/diff/510001/make_all.sh#newcode32
make_all.sh:32: NACL_ARCH=le32      TOOLCHAIN=pnacl        make ${TARGETS}
Looks like the latest pepper_canary toolchain (r380642) is still missing the
le32 compiler, so this change causes make_all.sh to fail:

pepper_canary/toolchain/linux_pnacl/bin/le32-nacl-clang: No such file or
directory

Also, a nit: the spacing doesn't line up with the other entries.

Powered by Google App Engine
This is Rietveld 408576698