[TIMOB-28539] Android: Update V8 runtime to 9.4
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2021-10-19T17:01:59.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 10.2.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Gary Mathews |
| Created | 2021-09-22T03:54:28.000+0000 |
| Updated | 2021-10-23T15:55:25.000+0000 |
Description
- Upgrade V8 to the latest stable version
9.4.146.16
https://omahaproxy.appspot.com/
https://github.com/v8/v8/tree/9.4-lkgr
- Maintain backwards compatibility
https://github.com/appcelerator/v8_titanium/tree/9.4-lkgr
master: https://github.com/appcelerator/titanium_mobile/pull/13097
Is there anything special I'll need to update? When I build the latest master it will stop with:
When I switch back to 8.8.278.17 it works fine. I've installed libatomic (it will create a libatomic.so so l've linked libatomic.so.1 to it) but it didn't help eitherFound architectures arm, arm64, x86, x86_64 Generating snapshot blob for arm... Error: Command failed: /titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/mksnapshot --turbo_instruction_scheduling --embedded_src=/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/embedded.S --embedded_variant=Default --no-native-code-counters --startup_blob=/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/blob.bin /titanium_mobile/dist/tmp/startup.js /titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/mksnapshot: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory at ChildProcess.exithandler (child_process.js:383:12) at ChildProcess.emit (events.js:400:28) at maybeClose (internal/child_process.js:1058:16) at Socket.<anonymous> (internal/child_process.js:443:11) at Socket.emit (events.js:400:28) at Pipe.<anonymous> (net.js:686:12) { killed: false, code: 127, signal: null, cmd: '/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/mksnapshot --turbo_instruction_scheduling --embedded_src=/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/embedded.S --embedded_variant=Default --no-native-code-counters --startup_blob=/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/blob.bin /titanium_mobile/dist/tmp/startup.js', stdout: '', stderr: '/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/mksnapshot: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory\n' } [Error: ENOENT: no such file or directory, unlink '/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/blob.bin'] { errno: -2, code: 'ENOENT', syscall: 'unlink', path: '/titanium_mobile/dist/android/libv8/9.4.146.16/release/libs/arm/blob.bin' } > Task :titanium:snapshotTiCommonFiles FAILED FAILURE: Build failed with an exception. * Where: Build file '/titanium_mobile/android/titanium/build.gradle' line: 202 * What went wrong: Execution failed for task ':titanium:snapshotTiCommonFiles'.Never mind! I saw the https://github.com/appcelerator/titanium_mobile/commit/59db7bf8bed2a41cc5ca891a1f8a3bb58c20dc2a commit and it has to be the 32bit version of libatomic. Then it worked (y)