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

Issue 2807463004: GN: aix port along with linux_s390x, linux_ppc64 and linux_ppc64le support. (Closed)

Created:
3 years, 8 months ago by rayb
Modified:
3 years, 7 months ago
CC:
chromium-reviews, Dai Mikurube (NOT FULLTIME), vmpstr+watch_chromium.org, wfh+watch_chromium.org, gavinp+memory_chromium.org, agrieve+watch_chromium.org, tracing+reviews_chromium.org, sadrul, danakj+watch_chromium.org, tfarina, jshin+watch_chromium.org, Michael Achenbach
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: aix port along with linux_s390x, linux_ppc64 and linux_ppc64le support. Most of the porting involves files inside /base. This also fixes build/build_config.h not identifying PPC architectures correctly. Finally, it adds aix support to files inside tools/gn/, including the bootstrap script. R=machenbach@chromium.org, dpranke@chromium.org, adamk@chromium.org BUG=706728 Review-Url: https://codereview.chromium.org/2807463004 Cr-Commit-Position: refs/heads/master@{#467484} Committed: https://chromium.googlesource.com/chromium/src/+/0088ee5017f4bef6c27243a54d8998f993db11b8

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Patch Set 4 #

Patch Set 5 #

Total comments: 9

Patch Set 6 #

Total comments: 2

Patch Set 7 : rebased, cleaned up the code, addressed comments #

Total comments: 11

Patch Set 8 : addressed comments #

Patch Set 9 : removed the changes from //base/BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1038 lines, -89 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M base/base_paths_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/debug/debugger_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/debug/stack_trace.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M base/debug/stack_trace.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M base/debug/stack_trace_posix.cc View 7 chunks +8 lines, -9 lines 0 comments Download
M base/debug/stack_trace_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M base/files/file_enumerator_posix.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/files/file_path_watcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/files/file_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/files/file_util.h View 1 chunk +1 line, -1 line 0 comments Download
M base/files/file_util_posix.cc View 1 2 3 chunks +8 lines, -2 lines 0 comments Download
M base/logging.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M base/memory/shared_memory_posix.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M base/message_loop/message_loop.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A base/process/internal_aix.h View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
A base/process/internal_aix.cc View 1 2 1 chunk +155 lines, -0 lines 0 comments Download
M base/process/internal_linux.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M base/process/launch_posix.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M base/process/memory.h View 1 chunk +1 line, -1 line 0 comments Download
M base/process/process_handle.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/process/process_handle_linux.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M base/process/process_linux.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M base/process/process_metrics.h View 1 2 3 4 5 6 10 chunks +10 lines, -10 lines 0 comments Download
M base/process/process_metrics.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/process/process_metrics_linux.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M base/process/process_metrics_posix.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M base/process/process_posix.cc View 1 2 3 4 5 4 chunks +5 lines, -4 lines 0 comments Download
M base/rand_util_posix.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M base/strings/string16.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/sys_info.h View 1 chunk +1 line, -1 line 0 comments Download
M base/sys_info_posix.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A base/third_party/libevent/aix/config.h View 1 chunk +276 lines, -0 lines 0 comments Download
A base/third_party/libevent/aix/event-config.h View 1 chunk +284 lines, -0 lines 0 comments Download
M base/third_party/libevent/event-config.h View 1 chunk +2 lines, -0 lines 0 comments Download
M base/threading/platform_thread_linux.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M base/threading/platform_thread_posix.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/time/time_posix.cc View 1 2 3 4 5 6 7 2 chunks +43 lines, -1 line 0 comments Download
M base/trace_event/process_memory_dump.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M build/build_config.h View 1 2 3 4 5 6 3 chunks +8 lines, -11 lines 0 comments Download
M tools/gn/args.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M tools/gn/bootstrap/bootstrap.py View 1 2 3 4 5 6 9 chunks +46 lines, -12 lines 0 comments Download
A tools/gn/bootstrap/build_aix.ninja.template View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (31 generated)
rayb
ptal
3 years, 8 months ago (2017-04-12 17:21:03 UTC) #5
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2807463004/diff/80001/base/allocator/allocator_shim_default_dispatch_to_glibc.cc File base/allocator/allocator_shim_default_dispatch_to_glibc.cc (right): https://codereview.chromium.org/2807463004/diff/80001/base/allocator/allocator_shim_default_dispatch_to_glibc.cc#newcode32 base/allocator/allocator_shim_default_dispatch_to_glibc.cc:32: return malloc(size); this is just going to cause loops ...
3 years, 8 months ago (2017-04-13 09:59:15 UTC) #7
Dirk Pranke
Please add more text to the CL description to describe *what* is being ported (i.e., ...
3 years, 8 months ago (2017-04-14 01:19:33 UTC) #8
Michael Achenbach
I'm no owner of any of these files. Moving myself to CC.
3 years, 8 months ago (2017-04-18 14:07:16 UTC) #9
rayb
On 2017/04/13 09:59:15, Primiano Tucci wrote: > https://codereview.chromium.org/2807463004/diff/80001/base/allocator/allocator_shim_default_dispatch_to_glibc.cc > File base/allocator/allocator_shim_default_dispatch_to_glibc.cc (right): > > https://codereview.chromium.org/2807463004/diff/80001/base/allocator/allocator_shim_default_dispatch_to_glibc.cc#newcode32 ...
3 years, 8 months ago (2017-04-19 19:49:27 UTC) #11
rayb
https://codereview.chromium.org/2807463004/diff/80001/tools/gn/args.cc File tools/gn/args.cc (right): https://codereview.chromium.org/2807463004/diff/80001/tools/gn/args.cc#newcode337 tools/gn/args.cc:337: // We handle the endianess inside build/config/BUILDCONFIG.gn. On 2017/04/14 ...
3 years, 8 months ago (2017-04-19 19:51:50 UTC) #12
rayb
ptal https://codereview.chromium.org/2807463004/diff/80001/tools/gn/args.cc File tools/gn/args.cc (right): https://codereview.chromium.org/2807463004/diff/80001/tools/gn/args.cc#newcode337 tools/gn/args.cc:337: // We handle the endianess inside build/config/BUILDCONFIG.gn. On ...
3 years, 8 months ago (2017-04-19 20:17:09 UTC) #13
Dirk Pranke
https://codereview.chromium.org/2807463004/diff/100001/tools/gn/args.cc File tools/gn/args.cc (right): https://codereview.chromium.org/2807463004/diff/100001/tools/gn/args.cc#newcode337 tools/gn/args.cc:337: // We handle the endianness inside build/config/BUILDCONFIG.gn. per the ...
3 years, 8 months ago (2017-04-19 23:19:30 UTC) #17
rayb
ptal. Also updated the other three related cls - https://codereview.chromium.org/2809963004/ https://codereview.chromium.org/2807463004/ https://codereview.chromium.org/2812173002/ https://codereview.chromium.org/2807463004/diff/100001/tools/gn/args.cc File tools/gn/args.cc ...
3 years, 8 months ago (2017-04-25 00:36:36 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2807463004/120001
3 years, 8 months ago (2017-04-25 17:42:47 UTC) #21
rayb
ptal
3 years, 8 months ago (2017-04-25 17:51:54 UTC) #24
Nico
On 2017/04/25 17:51:54, Ray Banerjee wrote: > ptal When adding reviewers, please teach each reviewer ...
3 years, 8 months ago (2017-04-25 18:44:11 UTC) #31
Nico
https://codereview.chromium.org/2807463004/diff/120001/base/memory/shared_memory_posix.cc File base/memory/shared_memory_posix.cc (right): https://codereview.chromium.org/2807463004/diff/120001/base/memory/shared_memory_posix.cc#newcode164 base/memory/shared_memory_posix.cc:164: // AIX has no 64-bit support for open falgs ...
3 years, 8 months ago (2017-04-25 18:50:40 UTC) #32
Dirk Pranke
https://codereview.chromium.org/2807463004/diff/120001/tools/gn/args.cc File tools/gn/args.cc (right): https://codereview.chromium.org/2807463004/diff/120001/tools/gn/args.cc#newcode337 tools/gn/args.cc:337: // We handle the endianness inside //build/config/host_byteorder.gni. On 2017/04/25 ...
3 years, 8 months ago (2017-04-25 18:53:37 UTC) #33
rayb
https://codereview.chromium.org/2807463004/diff/120001/base/memory/shared_memory_posix.cc File base/memory/shared_memory_posix.cc (right): https://codereview.chromium.org/2807463004/diff/120001/base/memory/shared_memory_posix.cc#newcode164 base/memory/shared_memory_posix.cc:164: // AIX has no 64-bit support for open falgs ...
3 years, 8 months ago (2017-04-25 22:40:17 UTC) #34
rayb
On 2017/04/25 18:44:11, Nico wrote: > On 2017/04/25 17:51:54, Ray Banerjee wrote: > > ptal ...
3 years, 8 months ago (2017-04-25 22:42:48 UTC) #35
Nico
lgtm
3 years, 8 months ago (2017-04-25 22:43:11 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2807463004/160001
3 years, 7 months ago (2017-04-26 22:23:19 UTC) #47
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/0088ee5017f4bef6c27243a54d8998f993db11b8
3 years, 7 months ago (2017-04-26 22:35:21 UTC) #50
jam
Was there a discussion elsewhere about whether we want to add this code to the ...
3 years, 7 months ago (2017-05-10 22:13:00 UTC) #51
Nico
It's using the same model as bsd etc, it's not up to us to keep ...
3 years, 7 months ago (2017-05-10 22:15:29 UTC) #52
Dirk Pranke
On 2017/05/10 22:15:29, Nico wrote: > It's using the same model as bsd etc, it's ...
3 years, 7 months ago (2017-05-10 23:11:54 UTC) #53
jam
3 years, 7 months ago (2017-05-11 00:54:29 UTC) #54
Message was sent while issue was closed.
On Wed, May 10, 2017 at 4:11 PM, <dpranke@chromium.org> wrote:

> On 2017/05/10 22:15:29, Nico wrote:
> > It's using the same model as bsd etc, it's not up to us to keep it
> > building. If you're changing base, just do anything.
>

This still has a cost, and we have pushed back on other platforms before.


>
> These changes are needed in order to be able to build GN on AIX
> and Linux/s390. You need GN in order to build V8 (for Node), and
> so we kinda need to support this to that end.
>

This is what I'm wondering about: where is the discussion about whether we
need to support AIX in the codebase?


>
> As Nico says, I think we can support this to the level we support
> the BSDs and we should be fine. I don't think they're planning
> to port much of the rest of Chromium, so hopefully the impact will
> be low.
>
>
> https://codereview.chromium.org/2807463004/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698