question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for ARMv7 build.

See original GitHub issue

NWJS Version : Branch nw50, nw51 Operating System : ubuntu:18.04

I was able to build nwjs for ARMv7 up to nw49.

Since nw50 I am getting:

[72538/72541] SOLINK ./lib/libnw.so
FAILED: lib/libnw.so lib/libnw.so.TOC 
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="arm-linux-gnueabihf-readelf" --nm="arm-linux-gnueabihf-nm"  --sofile="./lib/libnw.so" --tocfile="./lib/libnw.so.TOC" --output="./lib/libnw.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-soname="libnw.so" -Wl,--fatal-warnings -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -Wl,--no-call-graph-profile-sort --target=arm-linux-gnueabihf -Werror -Wl,-O2 -Wl,--gc-sections -rdynamic -nostdlib++ --sysroot=../../build/linux/debian_sid_arm-sysroot -L../../build/linux/debian_sid_arm-sysroot/usr/local/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf -o "./lib/libnw.so" @"./lib/libnw.so.rsp"
ld.lld: error: undefined symbol: component_updater::RegisterWidevineCdmComponent(component_updater::ComponentUpdateService*, base::OnceCallback<void ()>)
>>> referenced by nw_app_api.cc:107 (../../content/nw/src/api/nw_app_api.cc:107)
>>>               nw_browser/nw_app_api.o:(extensions::NwAppEnableComponentFunction::Run()) in archive obj/content/nw/libnw_browser.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

How to reproduce

See: https://github.com/LeonardLaszlo/nw.js-armv7-binaries/blob/master/automatic-build.sh

I suspect the problem is an incompatibility in the sysroot I use which is: debian_sid_arm-sysroot

Can anyone help me to fix this error, please?

https://github.com/LeonardLaszlo/nw.js-armv7-binaries/issues/43

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

64bit Submission Requirements | Apple Developer Forums
... and, again, you can still build and upload a single app with both 32- and 64-bit support (enable 'Generate iOS universal binary...
Read more >
armv7 not included in build - Stack Overflow
I'm supporting armv7 in Xcode settings, but that support is not being included in the build I am archiving. ios · xcode ·...
Read more >
Support for ARMv7 (Linux) · Issue #75823 · flutter/flutter - GitHub
Firstly, I think that you need to modify some build scripts. e.g. BUILD.gn, gcc_toolchain.gni, sysroot.gni. As you know, the cross-building for ...
Read more >
Regarding webrtc armv7 support - Google Groups
Created webrtc build in 2013 for iOS. - Supported architecture were simulator, arm64 & armv7. Now i want to upgrade webrtc library to...
Read more >
armv7-unknown-linux-uclibceabihf - The rustc book
This tier supports the ARMv7 processor running a Linux kernel and uClibc-ng standard library. It provides full support for rust and the rust...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found