표적:FriendlyARM mini210s/Linux 3.0.8 armv7l
ARM용 크로스 컴파일 사용이 워크플로우
대상에 sysroot
Chrome을 설치하고 실행해 보세요.
# ./chrome
[0122/142305:ERROR:nss_util.cc(981)] Failed to load NSS libraries.
[0122/142305:FATAL:nacl_helper_linux.cc(482)] Check failed: is_init_process == nacl_sandbox->layer_one_enabled() (0 vs. 1)
[1227:1227:0122/142305:ERROR:nacl_fork_delegate_linux.cc(296)] Bad NaCl helper startup ack (0 bytes)
[1227:1227:0122/142305:ERROR:nss_util.cc(981)] Failed to load NSS libraries.
[1225:1225:0122/142306:ERROR:browser_main_loop.cc(216)] Gtk: Locale not supported by C library.
Using the fallback 'C' locale.
[1225:1225:0122/142306:ERROR:browser_main_loop.cc(216)] Gtk: cannot open display:
NSS 라이브러리 확인
ln -s /usr/lib/arm-linux-gnueabihf/nss/ /usr/lib/nss
ldconfig
[root@FriendlyARM Release]# ldconfig -v | grep nss
libnss_nisplus.so.2 -> libnss_nisplus.so.2
libnss_nis.so.2 -> libnss_nis.so.2
libnss_hesiod.so.2 -> libnss_hesiod.so.2
libnss_files.so.2 -> libnss_files.so.2
libnss_dns.so.2 -> libnss_dns.so.2
libnss_compat.so.2 -> libnss_compat.so.2
libnssutil3.so -> libnssutil3.so
libnss_nisplus.so.2 -> libnss_nisplus.so
libnss_nis.so.2 -> libnss_nis.so
libnss_hesiod.so.2 -> libnss_hesiod.so
libnss_files.so.2 -> libnss_files.so
libnss_dns.so.2 -> libnss_dns.so
libnss_compat.so.2 -> libnss_compat.so
libnss3.so -> libnss3.so
libgnutls-openssl.so.27 -> libgnutls-openssl.so.27.0.0
libnss_files.so.2 -> libnss_files-2.11.so
libnss_compat.so.2 -> libnss_compat-2.11.so
libnss_nis.so.2 -> libnss_nis-2.11.so
libnss_nisplus.so.2 -> libnss_nisplus-2.11.so
libnss_hesiod.so.2 -> libnss_hesiod-2.11.so
libnss_dns.so.2 -> libnss_dns-2.11.so
libnss_db.so.2 -> libnss_db.so.2
업데이트: RUNNING_ON_VALGRIND=1
[root@FriendlyARM Release]# export RUNNING_ON_VALGRIND=1
염화나트륨 문제는 사라졌지만, 그게 무엇인지는 잘 모르겠습니다
[root@FriendlyARM Release]# ./chrome
[1298:1298:0122/184252:ERROR:nss_util.cc(981)] Failed to load NSS libraries.
[1296:1296:0122/184252:ERROR:browser_main_loop.cc(216)] Gtk: Locale not supported by C library.
Using the fallback 'C' locale.
[1296:1296:0122/184252:ERROR:browser_main_loop.cc(216)] Gtk: cannot open display: