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

Issue 411803002: Fix for building ARM/linux using clang. (Closed)

Created:
6 years, 5 months ago by Sam Clegg
Modified:
6 years, 4 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Fix for building ARM/linux using clang. This fix removes the use of 'vfpcc' which as an unknown register in clang, and instead uses __builtin_arm_set_fpscr. BUG= https://code.google.com/p/chromium/issues/detail?id=395832 R=jfb@chromium.org, mseaborn@chromium.org Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=13556

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : use __builtin_arm_set_fpscr on clang. #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M src/trusted/service_runtime/nacl_syscall_common.c View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Sam Clegg
regarding the munger, its seems that clang has a different order/number of segments. Is this ...
6 years, 5 months ago (2014-07-23 00:41:01 UTC) #1
Mark Seaborn
What steps did you do to build with Clang? I'd like to try this myself ...
6 years, 5 months ago (2014-07-23 19:13:41 UTC) #2
Sam Clegg
Added a link to the chrome side changes needed to build with clang. https://codereview.chromium.org/411803002/diff/1/src/include/concurrency_ops.h File ...
6 years, 5 months ago (2014-07-23 19:21:52 UTC) #3
Mark Seaborn
https://codereview.chromium.org/411803002/diff/1/src/include/concurrency_ops.h File src/include/concurrency_ops.h (right): https://codereview.chromium.org/411803002/diff/1/src/include/concurrency_ops.h#newcode91 src/include/concurrency_ops.h:91: __builtin___clear_cache((char*)writable_addr, (char*)writable_addr + size); On 2014/07/23 19:21:52, Sam Clegg ...
6 years, 5 months ago (2014-07-24 18:45:35 UTC) #4
Mark Seaborn
https://codereview.chromium.org/411803002/diff/1/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py File src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py (right): https://codereview.chromium.org/411803002/diff/1/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py#newcode32 src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py:32: segment_num = '3' I investigated this. I was able ...
6 years, 5 months ago (2014-07-24 21:17:24 UTC) #5
JF
https://codereview.chromium.org/411803002/diff/40001/src/trusted/service_runtime/nacl_syscall_common.c File src/trusted/service_runtime/nacl_syscall_common.c (right): https://codereview.chromium.org/411803002/diff/40001/src/trusted/service_runtime/nacl_syscall_common.c#newcode897 src/trusted/service_runtime/nacl_syscall_common.c:897: /*__asm__ volatile("fmxr fpscr, %0" :: "r" (0xdeadbeef) : "vfpcc");*/ ...
6 years, 5 months ago (2014-07-25 21:40:16 UTC) #6
Sam Clegg
OK, I think the remaining two changes are good to submit. PTAL.
6 years, 5 months ago (2014-07-25 22:22:18 UTC) #7
JF
ARM change lgtm
6 years, 5 months ago (2014-07-25 23:50:26 UTC) #8
Sam Clegg
ping. This is needed so we can have a working arm bot once again.
6 years, 4 months ago (2014-07-28 19:01:20 UTC) #9
Roland McGrath
https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp File src/trusted/service_runtime/linux/nacl_bootstrap.gyp (right): https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp#newcode165 src/trusted/service_runtime/linux/nacl_bootstrap.gyp:165: 'compiler': '<!(echo ${CXX:=arm-linux-gnueabi-g++})', I don't really understand what's going ...
6 years, 4 months ago (2014-07-28 19:20:51 UTC) #10
Mark Seaborn
https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp File src/trusted/service_runtime/linux/nacl_bootstrap.gyp (right): https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp#newcode162 src/trusted/service_runtime/linux/nacl_bootstrap.gyp:162: # this case $CC and $CXX are not set ...
6 years, 4 months ago (2014-07-28 19:23:20 UTC) #11
Sam Clegg
On 2014/07/28 19:23:20, Mark Seaborn wrote: > https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp > File src/trusted/service_runtime/linux/nacl_bootstrap.gyp (right): > > https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp#newcode162 ...
6 years, 4 months ago (2014-07-28 21:25:14 UTC) #12
Sam Clegg
On 2014/07/28 19:20:51, Roland McGrath wrote: > https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp > File src/trusted/service_runtime/linux/nacl_bootstrap.gyp (right): > > https://codereview.chromium.org/411803002/diff/80001/src/trusted/service_runtime/linux/nacl_bootstrap.gyp#newcode165 ...
6 years, 4 months ago (2014-07-28 21:27:12 UTC) #13
Sam Clegg
Split into separate issue: https://codereview.chromium.org/428753002/
6 years, 4 months ago (2014-07-28 21:31:38 UTC) #14
Sam Clegg
On 2014/07/28 21:31:38, Sam Clegg wrote: > Split into separate issue: https://codereview.chromium.org/428753002/ Mark, can I ...
6 years, 4 months ago (2014-07-28 21:46:55 UTC) #15
Mark Seaborn
On 2014/07/28 21:46:55, Sam Clegg wrote: > Mark, can I get an OWNER LG on ...
6 years, 4 months ago (2014-07-29 17:52:08 UTC) #16
Sam Clegg
On 2014/07/29 17:52:08, Mark Seaborn wrote: > On 2014/07/28 21:46:55, Sam Clegg wrote: > > ...
6 years, 4 months ago (2014-07-29 18:16:50 UTC) #17
Sam Clegg
6 years, 4 months ago (2014-07-29 23:09:12 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 manually as r13556 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698