WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
213727
[webkitperl] nativeArchitecture() needs to support remote devices
https://bugs.webkit.org/show_bug.cgi?id=213727
Summary
[webkitperl] nativeArchitecture() needs to support remote devices
Jonathan Bedard
Reported
2020-06-29 07:23:38 PDT
When targeting a remote platform, nativeArchitecture() needs to support return the architecture of the remote device.
Attachments
Patch
(6.58 KB, patch)
2020-06-29 08:58 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.63 KB, patch)
2020-06-29 09:41 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.60 KB, patch)
2020-06-29 10:41 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.66 KB, patch)
2020-06-29 13:56 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.64 KB, patch)
2020-06-29 14:39 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.69 KB, patch)
2020-06-29 15:56 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.71 KB, patch)
2020-06-29 16:13 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.62 KB, patch)
2020-06-29 17:03 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(6.65 KB, patch)
2020-06-29 19:26 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(8)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-06-29 08:50:14 PDT
<
rdar://problem/64892021
>
Jonathan Bedard
Comment 2
2020-06-29 08:58:13 PDT
Created
attachment 403066
[details]
Patch
Jonathan Bedard
Comment 3
2020-06-29 09:41:58 PDT
Created
attachment 403073
[details]
Patch
Guillaume Emont
Comment 4
2020-06-29 10:20:15 PDT
Comment on
attachment 403066
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403066&action=review
The changes look sensible at first sight. I'll try to run a couple tests locally, though the arm EWS should pick it up soon.
> Tools/Scripts/webkitdirs.pm:131 > +my %nativeArchitectureMap = ();
Do we need this to be a map? It looks like we would always have exactly one element in it, or are there some nativeArchitecture() calls without arguments that are left there on purpose?
Jonathan Bedard
Comment 5
2020-06-29 10:34:10 PDT
(In reply to Guillaume Emont from
comment #4
)
> Comment on
attachment 403066
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=403066&action=review
> > The changes look sensible at first sight. I'll try to run a couple tests > locally, though the arm EWS should pick it up soon. > > > Tools/Scripts/webkitdirs.pm:131 > > +my %nativeArchitectureMap = (); > > Do we need this to be a map? It looks like we would always have exactly one > element in it, or are there some nativeArchitecture() calls without > arguments that are left there on purpose?
It's hard to get rid of all the nativeArchitecture() calls without arguments since other places in webkitdirs may call it. Seemed better to just cache the results on a per-host basis.
Jonathan Bedard
Comment 6
2020-06-29 10:35:39 PDT
Comment on
attachment 403073
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=403073&action=review
> Tools/Scripts/webkitdirs.pm:362 > + if ($target eq 'localhost') {
Just realized this won't work, embedded devices will target localhost on a different port.
Jonathan Bedard
Comment 7
2020-06-29 10:41:01 PDT
Created
attachment 403080
[details]
Patch
Jonathan Bedard
Comment 8
2020-06-29 13:56:01 PDT
Created
attachment 403109
[details]
Patch
Jonathan Bedard
Comment 9
2020-06-29 14:39:50 PDT
Created
attachment 403115
[details]
Patch
Jonathan Bedard
Comment 10
2020-06-29 15:56:02 PDT
Created
attachment 403127
[details]
Patch
Jonathan Bedard
Comment 11
2020-06-29 16:13:02 PDT
Created
attachment 403132
[details]
Patch
Jonathan Bedard
Comment 12
2020-06-29 17:03:12 PDT
Created
attachment 403141
[details]
Patch
Jonathan Bedard
Comment 13
2020-06-29 19:26:19 PDT
Created
attachment 403160
[details]
Patch
Guillaume Emont
Comment 14
2020-06-30 04:39:24 PDT
The patch makes sense to me, I could locally check that it works with --remote, and the jsc-armv7 ews confirms that it fixes the issues introduced in
r263569
. I am not a reviewer, but I think that this patch should be landed ASAP as it will unbreak the armv7 and mips bots (EWS and post-commit).
Aakash Jain
Comment 15
2020-06-30 04:49:44 PDT
Comment on
attachment 403160
[details]
Patch rs=me
EWS
Comment 16
2020-06-30 04:52:05 PDT
Committed
r263742
: <
https://trac.webkit.org/changeset/263742
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 403160
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug