strip prebuild for Linux
Some binaries avaiable at https://dl.nwjs.io/v0.101.0/nwjs-v0.101.0-linux-x64.tar.gz are not stripped by
strip --strip-all or strip --strip-unneeded.
Which ones?
~Almost everything? At least for strip --strip-unneeded nwjs-v0.101.0-linux-x64/lib/*.so dropped 100MB~
Everything.
Everything.
It's shown stripped here:
file nw
nw: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[xxHash]=b2f200131522a885, stripped
file lib/libnw.so
lib/libnw.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[xxHash]=2e83f487ad660cf4, stripped
Would you strip --strip-all for executables and --strip-unneeded for .so?
~> strip --version GNU strip (GNU Binutils) 2.44.0
Sorry. Those 2 bins are already stripped at least for.
Sorry. Those 2 bins are already stripped at least for.
@oech3 Are there any binaries not stripped? Otherwise this can be closed.
file /tmp/dec/nwjs-v0.101.1-linux-x64/chrome_crashpad_handler /tmp/dec/nwjs-v0.101.1-linux-x64/lib/*|grep not
/tmp/dec/nwjs-v0.101.1-linux-x64/chrome_crashpad_handler: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[xxHash]=056be46863d44ea0, with debug_info, not stripped
/tmp/dec/nwjs-v0.101.1-linux-x64/lib/libEGL.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[xxHash]=fe0993b07c50bbcf, with debug_info, not stripped
/tmp/dec/nwjs-v0.101.1-linux-x64/lib/libGLESv2.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[xxHash]=69e7c6a80157d12c, with debug_info, not stripped
/tmp/dec/nwjs-v0.101.1-linux-x64/lib/libvk_swiftshader.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[xxHash]=1ab4c29b5171e75e, with debug_info, not stripped
/tmp/dec/nwjs-v0.101.1-linux-x64/lib/libvulkan.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[xxHash]=f8737710ffaf1dca, with debug_info, not stripped