Showing posts with label x86_64. Show all posts
Showing posts with label x86_64. Show all posts

2025-03-29

current64 - slackware-opencl

 slackware-opencl

 

Unfortunately, if i try to enable openCL in LibreOffice, still graphic stack glitch

Can’t enable OpenCL,too.

live@darkstar:~$ uname -a
Linux darkstar.home.arpa 6.12.7 #1 SMP PREEMPT_DYNAMIC Fri Dec 27 13:47:18 CST 2024 x86_64 AMD Ryzen 7 5800H with Radeon Graphics AuthenticAMD GNU/Linux

live@darkstar:~$ libreoffice --version
LibreOffice 25.2.1.2 520(Build:2)

live@darkstar:~$ ls -l /etc/OpenCL/vendors/
total 1
-rw-r--r-- 1 root root 19 Nov 28 20:22 mesa.icd
-rw-r--r-- 1 root root 22 Nov 28 20:22 rusticl.icd

live@darkstar:~$ cat /etc/OpenCL/vendors/*.icd
libMesaOpenCL.so.1
libRusticlOpenCL.so.1

live@darkstar:~$ ls -l /usr/share/clc/gfx909*
lrwxrwxrwx 1 root root 18 Dec 28 12:53 /usr/share/clc/gfx909-amdgcn--.bc -> tahiti-amdgcn--.bc
lrwxrwxrwx 1 root root 28 Dec 28 12:53 /usr/share/clc/gfx909-amdgcn-mesa-mesa3d.bc -> tahiti-amdgcn-mesa-mesa3d.bc

live@darkstar:~$ clinfo -l
Platform #0: Clover
`-- Device #0: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.4, DRM 3.59, 6.12.7)
Platform #1: rusticl

live@darkstar:~$ cat .config/libreoffice/4/cache/opencl_profile.xml
<?xml version="1.0" encoding="UTF-8"?>
<profile>
<version>LibreOffice v1</version>
<device>
<type>opencl</type>
<name>AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.4, DRM 3.59, 6.12.7)</name>
<driver>24.2.8</driver>
<time>62612026</time>
<errors>false</errors>
</device>
<device>
<type>native</type>
<time>106091520</time>
<errors>false</errors>
</device>
</profile>

live@darkstar:~$ cat .config/libreoffice/4/cache/opencl_devices.log
Device Index: 0
Selected: false
Device Name: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.4, DRM 3.59, 6.12.7)
Device Vendor: AMD
Device Version: OpenCL 1.1 Mesa 24.2.8
Driver Version: 24.2.8
Device Type: gpu
Device Extensions: cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_extended_versioning
Device OpenCL C Version: OpenCL C 1.1
Device Available: true
Device Compiler Available: true
Device Linker Available: true
Platform Name: Clover
Platform Vendor: Mesa
Platform Version: OpenCL 1.1 Mesa 24.2.8
Platform Profile: FULL_PROFILE
Platform Extensions: cl_khr_icd 

 

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/36#post-53051 


2025-02-06

current64 - current

 

current - current64

slitaz-current-core64.iso 2024-Dec-20 13:53:41 98.3M
https://mirror1.slitaz.org/iso/current/slitaz-current-core64.iso

Index of /~shann/slitaz-current-stuff/isos/
slitaz-current-base64.iso 2024-Dec-03 12:44:04 19.6M
slitaz-current-core64.iso 2024-Dec-03 12:44:16 97.8M

Full 32 bits desktop with 64 bits kernel.

VS.

Index of /~shann/slitaz-current64-stuff/
slitaz-current-base64.iso 2025-Jan-10 08:25:50 19.6M
slitaz-current-core64.iso 2025-Jan-10 08:25:55 96.1M

Full 64 bits desktop with 64 bits kernel.

Using the same file name for different operating systems can easily cause confusion.

 

 

 

current64 - libopencl-mesa

 

libclang-cpp.so.13 => not found

$ ldd /usr/lib/libMesaOpenCL.so.1.0.0

/usr/lib/libMesaOpenCL.so.1.0.0:
linux-vdso.so.1 (0x00007ffcb2dd0000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fd2f8426000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fd2f8421000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x00007fd2f8407000)
libclang-cpp.so.13 => not found
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fd2f83f4000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fd2f83d0000)
libLLVM-13.so => /usr/lib/libLLVM-13.so (0x00007fd2f5479000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fd2f5338000)
libm.so.6 => /lib/libm.so.6 (0x00007fd2f51b9000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fd2f51a4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd2f5183000)
libc.so.6 => /lib/libc.so.6 (0x00007fd2f4fcb000)
/lib/ld-2.28.so (0x00007fd2f858a000)
libffi.so.8 => /usr/lib/../lib/libffi.so.8 (0x00007fd2f4fbb000)
librt.so.1 => /lib/librt.so.1 (0x00007fd2f4fb1000)
libtinfo.so.6 => /lib/libtinfo.so.6 (0x00007fd2f4f86000)
libxml2.so.2 => /usr/lib/../lib/libxml2.so.2 (0x00007fd2f4e60000)

$ tazpkg info libopencl-mesa | grep Depends

TazPkg information
========================================================
Depends : libdrm
========================================================

 

current64 - pulldown_icon missing

 

pulldown_icon missing

$ sudo tazpkg -gi adwaita-icon-theme



 

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/35?replies=518#post-52971

 

current64 - libavahi

 

1. Place the following single line in a file "libavahi-client.c":
int avahi_client_new(void) { return 0; }

2. Place the following single line in a file "libavahi-common.c":
int avahi_threaded_poll_new(void) { return 0; }

3. Compile the two files into shared libraries by typing the following at
shell prompts (or place them into a script or Makefile):

gcc -c libavahi-client.c libavahi-common.c
gcc -shared -o libavahi-client.so.3 libavahi-client.o
gcc -shared -o libavahi-common.so.3 libavahi-common.o

https://communitytest.documentfoundation.org/t/libsdlo-so-slitaz-gnu-linux-avahi/58304/5

Bug 119408 - Fails to start Draw, Impress due to new Avahi dependency
 
 $ tazpkg -lf libavahi

Installed files by "libavahi"
================================================
/usr/lib/libavahi-client.so.3
/usr/lib/libavahi-common.so.3
================================================
2 files


2025-01-26

current64 - ibm-jre-8u432

 

current64 - ibm-jre-8u432

IBM Semeru Runtime Open Edition (OpenJDK 1.8.0_432-b06 with Eclipse OpenJ9 0.48.0)

ibm-semeru-open-8-jre-1.8.0.432.b06_0.48.0-1.x86_64.rpm 32.7 MB Nov 11, 2024
https://github.com/AdoptOpenJDK/semeru8-binaries/releases/download/jdk8u432-b06_openj9-0.48.0/ibm-semeru-open-8-jre-1.8.0.432.b06_0.48.0-1.x86_64.rpm

$ tail -26 /usr/lib/libreoffice/libreoffice24.8/program/javavendors.xml

<javaSelection xmlns="http://openoffice.org/2004/java/framework/1.0">
  <updated>2019-07-26</updated>
  <vendorInfos>
	<vendor name="Sun Microsystems Inc.">
  	<minVersion>1.8.0</minVersion>
	</vendor>
	<vendor name="Oracle Corporation">
  	<minVersion>1.8.0</minVersion>
	</vendor>
	<vendor name="IBM Corporation">
  	<minVersion>1.8.0</minVersion>
	</vendor>
	<vendor name="Blackdown Java-Linux Team">
  	<minVersion>1.8.0</minVersion>
	</vendor>
	<vendor name="BEA Systems, Inc.">
  	<minVersion>1.8.0</minVersion>
	</vendor>
	<vendor name="Azul Systems, Inc.">
  	<minVersion>1.8.0</minVersion>
	</vendor>
	<vendor name="Amazon.com Inc.">
  	<minVersion>1.8.0</minVersion>
	</vendor>
  </vendorInfos>
</javaSelection>
$ cat /usr/lib/jvm/ibm-semeru-open-8-jre/release 
JAVA_VERSION="1.8.0_432"
OS_NAME="Linux"
OS_VERSION="2.6"
OS_ARCH="amd64"
SOURCE=".:git:306866566ff5+ omr:git:d10a4d553a3c openj9:git:1d5831436ec3 openssl:git:72ae83ad214d"
IMPLEMENTOR="IBM Corporation"
IMPLEMENTOR_VERSION="8.0.432.0"
BUILD_SOURCE="git:8dbe40e3b6a95ff7165928583b699c2b4a9b4b9e"
BUILD_SOURCE_REPO="https://github.com/ibmruntimes/temurin-build.git"
SOURCE_REPO="git@github.com:ibmruntimes/openj9-openjdk-jdk8.git"
FULL_VERSION="1.8.0_432-b06"
SEMANTIC_VERSION="8.0.432+6"
BUILD_INFO="OS: Linux Version: 4.18.0-553.22.1.el8_10.x86_64"
JVM_VARIANT="Openj9"
JVM_VERSION="openj9-0.48.0"
IMAGE_TYPE="JRE"

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/34#post-52950 

 

current64 - libreoffice-draw

 

current64 - libreoffice-draw

libavahi-common.so.3 => not found
libavahi-client.so.3 => not found

$ libreoffice --draw

loading component library <file://usr/lib/libreoffice24.8/program/libsdlo.so> failed.

$ ldd /usr/lib/libreoffice24.8/program/libsdlo.so | grep not
libavahi-common.so.3 => not found
libavahi-client.so.3 => not found 

 

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/34#post-52949

current64 - libreoffice-jre

current64 - libreoffice-jre



$ libreoffice --writer
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

(soffice:5557): Gtk-WARNING **: 11:54:16.597: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.


1.
$ export PYTHONHOME=/usr/lib/libreoffice/libreoffice24.8/program/python-core-3.9.21

2.
$ sudo tazpkg -gi librsvg
Password:
Package "librsvg-2.52.5-x86_64" already in the cache

Installation of package "librsvg"
==============================================

SVG Rendering Library
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
Execute post-install commands...
Updating gdk pixbuf loaders cache file... [ Done ]
[ Done ]
Update system databases... [ Done ]
==============================================
$ gdk-pixbuf-query-loaders | grep svg
"/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "* " 100
" <!DOCTYPE svg" "* " 100

$ ls -l /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
total 260
-rwxr-xr-x 1 root root 22880 Jan 9 08:56 libpixbufloader-ani.so
-rwxr-xr-x 1 root root 18720 Jan 9 08:56 libpixbufloader-bmp.so
-rwxr-xr-x 1 root root 27104 Jan 9 08:56 libpixbufloader-gif.so
-rwxr-xr-x 1 root root 14640 Jan 9 08:56 libpixbufloader-icns.so
-rwxr-xr-x 1 root root 22984 Jan 9 08:56 libpixbufloader-ico.so
-rwxr-xr-x 1 root root 18728 Jan 9 08:56 libpixbufloader-pnm.so
-rwxr-xr-x 1 root root 14616 Jan 9 08:56 libpixbufloader-qtif.so
-rwxr-xr-x 1 root root 14584 Jan 9 18:08 libpixbufloader-svg.so
-rwxr-xr-x 1 root root 18736 Jan 9 08:56 libpixbufloader-tga.so
-rwxr-xr-x 1 root root 22976 Jan 9 08:56 libpixbufloader-tiff.so
-rwxr-xr-x 1 root root 14640 Jan 9 08:56 libpixbufloader-xbm.so
-rwxr-xr-x 1 root root 35248 Jan 9 08:56 libpixbufloader-xpm.so

3.
$ sudo tazpkg -i /root/ibm-semeru-open-8-jre-1.8.0.432.b06_x86_64.tazpkg
Password:

Installation of package "ibm-semeru-open-8-jre"
=================================================

IBM Semeru Runtime Open Edition (OpenJDK 1.8.0_432-b06 with Eclipse OpenJ9 0.48.0)
--------------------------------------------------------------------------------
Copying package... [ Done ]
Extracting package... [ Done ]
Remember modified packages... [ Done ]
Installing package... [ Done ]
Removing all tmp files... [ Done ]
=================================================

Package "ibm-semeru-open-8-jre" (1.8.0.432.b06) is installed.

$ export JAVA_HOME=/usr/lib/jvm/ibm-semeru-open-8-jre
$ export PATH=$PATH:$JAVA_HOME/bin
$ java -version
openjdk version "1.8.0_432"
IBM Semeru Runtime Open Edition (build 1.8.0_432-b06)
Eclipse OpenJ9 VM (build openj9-0.48.0, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20241107_1079 (JIT enabled, AOT enabled)
OpenJ9 - 1d5831436e
OMR - d10a4d553
JCL - 306866566f based on jdk8u432-b06)

4.
$ libreoffice --writer 


----

$ libreoffice --version
LibreOffice 24.8.4.2 bb3cfa12c7b1bf994ecc5649a80400d06cd71002 

# Extract everything from RPMS

cd $TEMP_DIR/${TARBALL_NAME/$VERSION/$ARCHIVED_VERSION}/RPMS

for i in *.rpm

do

if (! echo $i | egrep -qi $EXCLUDE); then

echo -n "."

(rpm2cpio $i | cpio -id >> $LOG 2>&1 ) && rm  -f $i

fi

done

rpm2cpio libobasis*-gnome-integration*.rpm | cpio -id >> $LOG 2>&1

 

https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/34#post-52948

2024-09-29

current64 - amdgpu-glamoregl

 amdgpu-glamoregl

(EE) AMDGPU(0): eglGetDisplay() failed
(EE) AMDGPU(0): glamor detected, failed to initialize EGL.
(WW) AMDGPU(0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB

(==) AMDGPU(0): DRI3 disabled
(WW) AMDGPU(0): Direct rendering disabled
(II) AMDGPU(0): 2D and 3D acceleration disabled
(II) AIGLX: Screen 0 is not DRI2 capable
(II) IGLX: Loaded and initialized swrast

tux@slitaz:~$ egrep 'failed|disabled|glamor|DRI[23]|GLX' /var/log/Xorg.0.log
[ 25.186] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 25.220] (II) Loading sub module "glamoregl"
[ 25.220] (II) LoadModule: "glamoregl"
[ 25.220] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 25.222] (II) Module glamoregl: vendor="X.Org Foundation"
[ 25.222] (EE) AMDGPU(0): eglGetDisplay() failed
[ 25.223] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
[ 25.223] (WW) AMDGPU(0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB
[ 25.230] (==) AMDGPU(0): DRI3 disabled
[ 25.230] (WW) AMDGPU(0): Direct rendering disabled
[ 25.230] (II) AMDGPU(0): 2D and 3D acceleration disabled
[ 25.240] (II) Initializing extension GLX
[ 25.240] (II) AIGLX: Screen 0 is not DRI2 capable
[ 25.244] (II) IGLX: Loaded and initialized swrast
[ 25.244] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 25.244] (II) Initializing extension DRI2


https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/33#post-52819


2024-09-27

current64 - mesa-dri - mesa-dri-ati

 

mesa-dri - mesa-dri-ati



Installing (web/cache): mesa-21.3.5-x86_64
Unable to find package "linux-agp" in the mirrored packages list.
Unable to find package "get-linux-agp" in the mirrored packages list.
Unable to find package "linux-drm" in the mirrored packages list.
Unable to find package "get-linux-drm" in the mirrored packages list.

tux@slitaz:~$ uname -a
Linux slitaz 5.10.221-slitaz64 #2 SMP Thu Jul 11 06:31:46 Europe 2024 x86_64 GNU/Linux

tux@slitaz:~$ ls -l /usr/lib/dri
total 20088
-rwxr-xr-x 1 root root 20568848 Aug 2 13:34 kms_swrast_dri.so
lrwxrwxrwx 1 root root 11 Sep 24 14:39 r200_dri.so -> i830_dri.so
lrwxrwxrwx 1 root root 17 Sep 24 14:39 r300_dri.so -> kms_swrast_dri.so
lrwxrwxrwx 1 root root 17 Sep 24 14:39 r600_dri.so -> kms_swrast_dri.so
lrwxrwxrwx 1 root root 11 Sep 24 14:39 radeon_dri.so -> i830_dri.so
lrwxrwxrwx 1 root root 17 Sep 24 14:39 radeonsi_dri.so -> kms_swrast_dri.so
lrwxrwxrwx 1 root root 17 Sep 24 14:39 swrast_dri.so -> kms_swrast_dri.so

tux@slitaz:~$ grep -A2 DEPENDS /var/lib/tazpkg/installed/mesa-dri/receipt
DEPENDS="expat libdrm linux-agp llvm-lib \
linux-drm libdrm-amdgpu libdrm-radeon \
libdrm-nouveau libdrm-intel libglapi-mesa"
tux@slitaz:~$


https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/33#post-52818

2024-09-22

current64 - Xfce's dependency chain

current64 - Xfce's dependency chain

 

7 cook libxfce4ui

10 cook libxfconf

13 cook libxfce4util

16 cook libxfce4util-dev


Xfce's dependency chain

The Xfce packages need to be built in a specific order.
If you don't follow this, compile options might not be available or the configure stage will abort because of missing dependencies.

xfce4-dev-tools (only required if you build from GIT)
libxfce4util
xfconf
libxfce4ui
garcon, exo
thunar
xfce4-panel, xfce4-settings, xfce4-session, xfdesktop, xfwm4, xfce4-appfinder, tumbler…

....

https://docs.xfce.org/xfce/4.12/building


https://forum.slitaz.org/topic/usage-of-slitaz-40-rolling/page/32#post-52806


2024-07-06

current - current64

 

current - current64

slitaz-current-base64.iso 2024-Jul-02 14:45:09 18.2M
slitaz-current-core64.iso 2024-Jul-04 14:25:37 90.3M
https://people.slitaz.org/~shann/slitaz-current64-stuff/slitaz-current-core64.iso

slitaz-current-base64.iso 2024-May-27 22:06:15 # 19.7M
slitaz-current-core64.iso 2024-Jun-16 11:31:31 # 97.1M
http://mirror1.slitaz.org/iso/current/slitaz-current-core64.iso

 

 

current64 - mirror

 current - x86_64

Mirror : /home/slitaz/packages-incoming/

tux@slitaz:~$ uname -a
Linux slitaz 5.10.217-slitaz64 #2 SMP Tue Jul 2 12:53:32 CEST 2024 x86_64 GNU/Linux

tux@slitaz:~$ slitaz

SliTaz GNU/Linux
====================================================================================
Release      : current
Architecture : x86_64
Kernel       : 5.10.217-slitaz64
Machine type : x86_64
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 299 packages
Mirror       : /home/slitaz/packages-incoming/
System date  : Fri Jul  5 07:31:15 EDT 2024
--------------
Boot options : BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz root=/dev/null video=-32 autologin lang=en_US kmap=us tz=America/New_York
====================================================================================

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 944
====================================================================================
  Installed packages:    300
  Installed files:       6880
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         Today at 08:22.
  Database timestamp:    07/05/2024 04:11
  Mirrored packages:     1372
====================================================================================

tux@slitaz:~$ cat /usr/share/doc/slitaz/toolchain.txt
SliTaz GNU/Linux toolchain
================================================================================

Build date   : 2024-07-01
Architecture : x86_64
Build system : x86_64-slitaz-linux
Host  system : x86_64-slitaz-linux

Packages:

    * Binutils 2.37
    * Linux API headers 5.10.217
    * GCC 8.3.0
    * Glibc 2.28

Toolchain documentation: http://doc.slitaz.org/en:cookbook:toolchain

================================================================================
 

 

2023-02-23

Slitaz64 - compiling and linking - toolchain

 

compiling and linking - toolchain

make clear, we are talking about the toolchain.

1.

/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

# tazpkg -sp crt1.o
Search result for package "crt1.o"
glibc-dev

# tazpkg -lf glibc-dev | grep crt[1in].o
/usr/lib64/Mcrt1.o
/usr/lib64/Scrt1.o
/usr/lib64/crt1.o
/usr/lib64/crti.o
/usr/lib64/crtn.o
/usr/lib64/gcrt1.o
/usr/lib64/grcrt1.o
/usr/lib64/rcrt1.o

2.

echo 'int main(){}' | gcc -xc -

> # echo 'int main() { return 0; }' > test.c
> # gcc -v -o test.o test.c

ensure that the basic functions (compiling and linking) of the toolchain are working as expected.
If everything is working correctly, there should be no errors,

3.

8.5.1. Installation of Glibc

Prepare Glibc for compilation:
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=3.2 \
--enable-stack-protector=strong \
--with-headers=/usr/include \
libc_cv_slibdir=/usr/lib

The meaning of the configure options:
[..]
libc_cv_slibdir=/usr/lib
This variable sets the correct library for all systems. We do not want lib64 to be used.

8.5.2.3. Configuring the Dynamic Loader
By default, the dynamic loader (/lib/ld-linux.so.2) searches through /usr/lib for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than /usr/lib, these need to be added to the /etc/ld.so.conf file in order for the dynamic loader to find them. 
Two directories that are commonly known to contain additional libraries are /usr/local/lib and /opt/lib, so add those directories to the dynamic loader's search path.

more details..
https://www.linuxfromscratch.org/lfs/view/11.2/chapter08/glibc.html#contents-glibc

https://www.linuxfromscratch.org/lfs/view/11.2/chapter05/glibc.html


https://forum.slitaz.org/topic/slitaz-future/page/18#post-51394 

2023-02-20

Slitaz64 - echo 'int main(){}' | gcc -xc -


echo 'int main(){}' | gcc -xc -

> # echo 'int main() { return 0; }' > test.c

> # gcc -v -o test.o test.c

> See `config.log' for more details

1. config.log
$ grep -A10 int config.log

| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3505: error: in `/home/slitaz/wok/xorg-xf86-video-amdgpu/source/xorg-xf86-video-amdgpu-22.0.0':
configure:3507: error: C compiler cannot create executables
See `config.log' for more details.

2. Installation of Glibc

Caution

At this point, it is imperative to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following commands:

echo 'int main(){}' | gcc -xc -
readelf -l a.out | grep ld-linux

If everything is working correctly, there should be no errors, and the output of the last command will be of the form:

[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]

Note that for 32-bit machines, the interpreter name will be /lib/ld-linux.so.2.

If the output is not shown as above or there was no output at all, then something is wrong. Investigate and retrace the steps to find out where the problem is and correct it. This issue must be resolved before continuing on.

Once all is well, clean up the test file:

rm -v a.out

https://www.linuxfromscratch.org/lfs/view/11.2/chapter05/glibc.html


https://forum.slitaz.org/topic/slitaz-future/page/18#post-51392

2023-02-16

slitaz64 - LIBRARY_PATH

 

LIBRARY_PATH
configure: error: C compiler cannot create executables

checking for x86_64-slitaz-linux-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/slitaz/wok/xorg-xf86-video-amdgpu/source/xorg-xf86-video-amdgpu-22.0.0':
configure: error: C compiler cannot create executables
See `config.log' for more details  -  Attachments  config.log  12.2 KB

slitaz-toolchain - isl version none

GNU C17 (SliTaz) version 8.2.0 (i486-slitaz-linux)
compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none

$ echo 'int main() { return 0; }' > test.c

$ gcc -v -o test.o test.c

https://forum.slitaz.org/topic/slitaz-next-41485/page/2#post-49031

https://forum.slitaz.org/topic/update-kernel-1/page/3#post-48139 


1.
root@slitaz:~# gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu
Configured with: /home/slitaz/wok/gcc/source/gcc-12.2.0/configure --libexecdir=/usr/lib --disable-multilib --disable-bootstrap --with-system-zlib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --with-pkgversion=SliTaz --build=x86_64-slitaz-linux-gnu --target=x86_64-slitaz-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (SliTaz)

2.
root@slitaz:~# echo 'int main() { return 0; }' > test.c

root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu
Configured with: /home/slitaz/wok/gcc/source/gcc-12.2.0/configure --libexecdir=/usr/lib --disable-multilib --disable-bootstrap --with-system-zlib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --with-pkgversion=SliTaz --build=x86_64-slitaz-linux-gnu --target=x86_64-slitaz-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (SliTaz)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o-'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/cc1 -quiet -v test.c -quiet -dumpdir test.o- -dumpbase test.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccMbr0oH.s
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/cc1: error while loading shared libraries: libisl.so.23: cannot open shared object file: No such file or directory

3.
root@slitaz:~# tazpkg -gi isl

root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu

[..]

COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o.'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/collect2 -plugin /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc74BPIu.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test.o crt1.o crti.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtbegin.o -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../.. /tmp/ccvjJ66F.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

4.
root@slitaz:~# find /usr/ -name crt?.o

/usr/lib64/crt1.o
/usr/lib64/crti.o
/usr/lib64/crtn.o

root@slitaz:~# ln -s /usr/lib64/crt1.o /usr/lib/.
root@slitaz:~# ln -s /usr/lib64/crtl.o /usr/lib/.
root@slitaz:~# ln -s /usr/lib64/crti.o /usr/lib/.

root@slitaz:~# tazpkg -sp crt1.o

Search result for package "crt1.o"
===============================================================
glibc-dev
musl-libc-dev
===============================================================
2 packages

5.
root@slitaz:~# gcc -v -o test.o test.c

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-slitaz-linux-gnu
Configured with: /home/slitaz/wok/gcc/source/gcc-12.2.0/configure --libexecdir=/usr/lib --disable-multilib --disable-bootstrap --with-system-zlib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --with-pkgversion=SliTaz --build=x86_64-slitaz-linux-gnu --target=x86_64-slitaz-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (SliTaz)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o-'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/cc1 -quiet -v test.c -quiet -dumpdir test.o- -dumpbase test.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccr2oPU8.s
GNU C17 (SliTaz) version 12.2.0 (x86_64-slitaz-linux-gnu)
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../x86_64-slitaz-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/include
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/include-fixed
/usr/include
End of search list.
GNU C17 (SliTaz) version 12.2.0 (x86_64-slitaz-linux-gnu)
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
Compiler executable checksum: 3a8d01156457c23734b0a8c87475536a
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o-'
as -v --64 -o /tmp/cc1rbU3x.o /tmp/ccr2oPU8.s
GNU assembler version 2.39 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.39
COMPILER_PATH=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o.'
/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/collect2 -plugin /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccqlrHHN.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtbegin.o -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../.. /tmp/cc1rbU3x.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/crtend.o /usr/lib/gcc/x86_64-slitaz-linux-gnu/12.2.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64' '-dumpdir' 'test.o.'

6.
root@slitaz:~# file test.o

test.o: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
root@slitaz:~#

Attachments

  1. config.log  12.2 KB

 

https://forum.slitaz.org/topic/slitaz-future/page/18#post-51386

 

2023-01-14

m3400 - bitlocker - manage-bde.exe

 

bitlocker - manage-bde.exe

BitLocker Drive Encryption: Configuration Tool.

1. Boot Windows10 and open command prompt in Administrator mode.

2. Check the status of BitLocker encryption
C:\Windows\system32>manage-bde -status

BitLocker Drive Encryption: Configuration Tool Version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. all rights reserved.

Disk volumes that can be Protected with
BitLocker Drive Encryption:
Volume C: [Windows]
[OS Volume]

     Size: 		   475.39 GB
     BitLocker Version:    2.0
     Conversion Status:    Fully Encrypted
     Percentage Encrypted: 100.0%
     Encryption Method:    XTS-AES 128
     Protection Status:    Protection Off
     Lock Status: 	   Unlocked
     Identification Field: Unknown
     Key Protector: 	   None Found 

3. Decrypt the BitLocker
C:\Windows\system32>manage-bde -off C:

BitLocker Drive Encryption: Configuration Tool Version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. all rights reserved.

Decryption is in progress.

4. Ensure that the “ Conversion Status : Fully Decrypted” and "Percentage Encrypted : 0.0%"
C:\Windows\system32>manage-bde -status

BitLocker Drive Encryption: Configuration Tool Version 10.0.19041
Copyright (C) 2013 Microsoft Corporation. all rights reserved.

Disk volumes that can be Protected with
BitLocker Drive Encryption:
Volume C: [Windows>]
[OS Volume]

     Size: 		   475.39 GB
     BitLocker Version:    None
     Conversion Status:    Fully Decrypted
     Percentage Encrypted: 0.0%
     Encryption Method:    None
     Protection Status:    Protection Off
     Lock Status: 	   Unlocked
     Identification Field: None
     Key Protector: 	   None Found 

2023-01-11

m3400 - bitlocker-dislocker

 bitlocker-dislocker

Read/write BitLocker encrypted volumes under Linux

1.
root@slitaz:~# blkid | grep BitLocker
/dev/nvme0n1p3: TYPE="BitLocker" PARTLABEL="Basic data partition" PARTUUID="06839bde-e47e-4d16-b1fc-8fabae16ea35"

2.
root@slitaz:~# tazpkg info dislocker

TazPkg information
===========================================================================
Package    : dislocker
State      : installed package
Version    : 0.7.1 (new version "" available)
Category   : system-tools
Short desc : Read/write BitLocker encrypted volumes under Linux
Maintainer : al.bobylev@gmail.com
License    : GPL2
Depends    : fuse2 mbedtls
Web site   : https://github.com/Aorimn/dislocker
Size       : 52K/196K
===========================================================================

3.
root@slitaz:~# dislocker -V /dev/nvme0n1p3 /media/next

root@slitaz:~# ls /media/next
dislocker-file

root@slitaz:~# mount -o loop /media/next/dislocker-file /media/mount

root@slitaz:~# mount | tail -2
dislocker-fuse on /media/next type fuse.dislocker-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/media/next/dislocker-file on /media/mount type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

4.
root@slitaz:~# ls /media/mount

$Recycle.Bin/              PerfLogs/                     eSupport/
$WinREAgent/               Program\ Files/               hiberfil.sys*
AMTAG.BIN*                 Program\ Files\ (x86)/        pagefile.sys*
DRIVERS/                   ProgramData/                  sources/
Documents\ and\ Settings@  Recovery/                     swapfile.sys*
DumpStack.log*             System\ Volume\ Information/  tools/
DumpStack.log.tmp*         Users/
OneDriveTemp/              Windows/

root@slitaz:~# ls /media/mount/eSupport/eDriver/
AUTORUN.INF*     LIB/
AsusInsWiz.exe*  M3400QA_2009_X64_V2.01.MD5*
AsusInsWiz.ico*  ReleaseNote_FileList\ of\ M3400QA_2009_X64_V2.01.xls*
FileList.txt*    Software/

root@slitaz:~# head -1 /media/mount/eSupport/eDriver/FileList.txt
ReleaseNote_FileList of M3400QA_2009_X64_V2.01

root@slitaz:~# head /media/mount/eSupport/eDriver/M3400QA_2009_X64_V2.01.MD5
a93fea5eee07fbe3789ae3a97c28bd80 *AsusInsWiz.exe
0b7f66822d1cebaea49169bf45fff26f *AsusInsWiz.ico
692269c92d65f7feebbf68ba34d7646b *AUTORUN.INF
1ebe428388f314a3b28b85ef77aa32a1 *FileList.txt
85271181009d3f53023cbf89644b7fda *ReleaseNote_FileList of M3400QA_2009_X64_V2.01.xls
4c1ecf49903c32fda77e4f02ec601b10 *I386\ahci.reg
09bca99eada77d60600a8b42680eeeb7 *I386\AsCopy64.exe
83aaab88f3aa3c3c5be1d6f546ef0095 *I386\AsInst.exe
ffe1da72919b4dc7d280e46b7a760229 *I386\AsInstCommomLibrary.dll
4e7c6f2baefaa3f09ea1da9c64093d68 *I386\AsModelCopy.exe
root@slitaz:~# 

2023-01-03

m3400 - 7-Zip 22.01

 

7-Zip 22.01
7zz / 7zzs

The main features of 7-Zip
High compression ratio in 7z format with LZMA and LZMA2 compression
Supported formats:
Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
Unpacking only: APFS, AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, XAR and Z.

[..]

Localizations for 87 languages
7-Zip works in Windows 10 / 8 / 7 / Vista / XP / 2019 / 2016 / 2012 / 2008 / 2003 / 2000.

p7zip -  the port of the command line version of 7-Zip to Linux/Posix.

https://www.7-zip.org/

21.01 alpha 2021-03-09
-------------------------
- The command line version of 7-Zip for Linux was released.

https://www.7-zip.org/history.txt

tux@slitaz:~$ file /usr/bin/7zz*
/usr/bin/7zz: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9443138a95e8cc7545b2c701bc6226c84e77432d, for GNU/Linux 3.2.0, stripped
/usr/bin/7zzs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=b44b9ec8b8fc821230e21f36f0aeae7c12280f82, for GNU/Linux 3.2.0, stripped


tux@slitaz:~$ 7zz i

7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
64-bit locale=en_US.UTF-8 Threads:8, ASM

Formats:
   C...F..........c.a.m+..  7z       7z            7 z BC AF ' 1C
    ......................  APFS     apfs img      offset=32 N X S B 00
    ......................  APM      apm           E R
    ......................  Ar       ar a deb udeb lib ! < a r c h > 0A
    ......................  Arj      arj           ` EA
    K.....O.....X.........  Base64   b64
    ......O...............  COFF     obj
    ...F..................  Cab      cab           M S C F 00 00 00 00
    ......................  Chm      chm chi chq chw I T S F 03 00 00 00 ` 00 00 00
    ......................  Compound msi msp doc xls ppt D0 CF 11 E0 A1 B1 1A E1
    ....M.................  Cpio     cpio          0 7 0 7 0  ||  C7 q  ||  q C7
    ......................  CramFS   cramfs        offset=16 C o m p r e s s e d 20 R O M F S
    .....G..B.............  Dmg      dmg           k o l y 00 00 00 04 00 00 02 00
    .........E............  ELF      elf            E L F
    ......................  Ext      ext ext2 ext3 ext4 img offset=1080 S EF
    ......................  FAT      fat img       offset=510 U AA
    ......................  FLV      flv           F L V 01
    ......................  GPT      gpt mbr       offset=512 E F I 20 P A R T 00 00 01 00
    ....M.................  HFS      hfs hfsx      offset=1024 B D  ||  H + 00 04  ||  H X 00 05
    ...F..................  Hxs      hxs hxi hxr hxq hxw lit I T O L I T L S 01 00 00 00 ( 00 00 00
    ......O...............  IHex     ihex
    ......................  Iso      iso img       offset=32769 C D 0 0 1
    ......................  LP       lpimg img     offset=4096 g D l a 4 00 00 00
    ......................  Lzh      lzh lha       offset=2 - l h
    .......P..............  MBR      mbr
    ....M....E............  MachO    macho         CE FA ED FE  ||  CF FA ED FE  ||  FE ED FA CE  ||  FE ED FA CF
    ......................  MsLZ     mslz          S Z D D 88 F0 ' 3 A
    ....M.................  Mub      mub           CA FE BA BE 00 00 00  ||  B9 FA F1 0E
    ......................  NTFS     ntfs img      offset=3 N T F S 20 20 20 20 00
    ...F.G................  Nsis     nsis          offset=4 EF BE AD DE N u l l s o f t I n s t
    .........E............  PE       exe dll sys   M Z
    ......................  Ppmd     pmd           8F AF AC 84
    ......................  QCOW     qcow qcow2 qcow2c Q F I FB 00 00 00
    ...F..................  Rar      rar r00       R a r ! 1A 07 00
    ...F..................  Rar5     rar r00       R a r ! 1A 07 01 00
    ......................  Rpm      rpm           ED AB EE DB
    K.....................  SWF      swf           F W S
    ....M.................  SWFc     swf (~.swf)   C W S  ||  Z W S
    ......................  Sparse   simg img      : FF & ED 01 00
    ......................  Split    001
    ....M.................  SquashFS squashfs      h s q s  ||  s q s h  ||  s h s q  ||  q s h s
    .........E............  TE       te            V Z
    ...FM.................  UEFIc    scap          BD 86 f ; v 0D 0 @ B7 0E B5 Q 9E / C5 A0  ||  8B A6 < J # w FB H 80 = W 8C C1 FE C4 M  ||  B9 82 91 S B5 AB 91 C B6 9A E3 A9 C F7 / CC
    ...FM.................  UEFIf    uefif         offset=16 D9 T 93 z h 04 J D 81 CE 0B F6 17 D8 90 DF  ||  x E5 8C 8C = 8A 1C O 99 5 89 a 85 C3 - D3
    ......O...............  Udf      udf iso img   offset=32768 01 C D 0 0 1
    ......................  VDI      vdi           offset=64  10 DA BE
    .....G................  VHD      vhd           c o n e c t i x 00 00
    ......................  VHDX     vhdx avhdx    v h d x f i l e
    ......................  VMDK     vmdk          K D M V
    ......................  Xar      xar pkg xip   x a r ! 00 1C
    ......................  Z        z taz (.tar)  1F 9D
   CK.....................  bzip2    bz2 bzip2 tbz2 (.tar) tbz (.tar) B Z h
   CK.................m+..  gzip     gz gzip tgz (.tar) tpz (.tar) apk (.tar) 1F 8B 08
    K.....O...............  lzma     lzma
    K.....................  lzma86   lzma86
   C......O...LH......m+..  tar      tar ova       offset=257 u s t a r
   C.SN.......LH..c.a.m+..  wim      wim swm esd ppkg M S W I M 00 00 00
   CK.....................  xz       xz txz (.tar) FD 7 z X Z 00
   C...FMG........c.a.m+..  zip      zip z01 zipx jar xpi odt ods docx xlsx epub ipa apk appx P K 03 04  ||  P K 05 06  ||  P K 06 06  ||  P K 07 08 P K  ||  P K 0 0 P K
   CK.....O.....XC........  Hash     sha256 sha512 sha224 sha384 sha1 sha md5 crc32 crc64 asc cksum 

Codecs:
   4ED   303011B BCJ2
    EDF  3030103 BCJ
    EDF  3030205 PPC
    EDF  3030401 IA64
    EDF  3030501 ARM
    EDF  3030701 ARMT
    EDF  3030805 SPARC
    EDF    20302 Swap2
    EDF    20304 Swap4
    ED     40202 BZip2
    ED         0 Copy
    ED     40109 Deflate64
    ED     40108 Deflate
    EDF        3 Delta
    ED        21 LZMA2
    ED     30101 LZMA
    ED     30401 PPMD
     D     40301 Rar1
     D     40302 Rar2
     D     40303 Rar3
     D     40305 Rar5
    EDF  6F10701 7zAES
    EDF  6F00181 AES256CBC

Hashers:
      4        1 CRC32
     20      201 SHA1
     32        A SHA256
      8        4 CRC64
     32      202 BLAKE2sp


tux@slitaz:~$ 7zzs i

7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
64-bit locale=C UTF8=- Threads:8, ASM

Formats:
   C...F..........c.a.m+..  7z       7z            7 z BC AF ' 1C
    ......................  APFS     apfs img      offset=32 N X S B 00
    ......................  APM      apm           E R
    ......................  Ar       ar a deb udeb lib ! < a r c h > 0A
    ......................  Arj      arj           ` EA
    K.....O.....X.........  Base64   b64
    ......O...............  COFF     obj
    ...F..................  Cab      cab           M S C F 00 00 00 00
    ......................  Chm      chm chi chq chw I T S F 03 00 00 00 ` 00 00 00
    ......................  Compound msi msp doc xls ppt D0 CF 11 E0 A1 B1 1A E1
    ....M.................  Cpio     cpio          0 7 0 7 0  ||  C7 q  ||  q C7
    ......................  CramFS   cramfs        offset=16 C o m p r e s s e d 20 R O M F S
    .....G..B.............  Dmg      dmg           k o l y 00 00 00 04 00 00 02 00
    .........E............  ELF      elf            E L F
    ......................  Ext      ext ext2 ext3 ext4 img offset=1080 S EF
    ......................  FAT      fat img       offset=510 U AA
    ......................  FLV      flv           F L V 01
    ......................  GPT      gpt mbr       offset=512 E F I 20 P A R T 00 00 01 00
    ....M.................  HFS      hfs hfsx      offset=1024 B D  ||  H + 00 04  ||  H X 00 05
    ...F..................  Hxs      hxs hxi hxr hxq hxw lit I T O L I T L S 01 00 00 00 ( 00 00 00
    ......O...............  IHex     ihex
    ......................  Iso      iso img       offset=32769 C D 0 0 1
    ......................  LP       lpimg img     offset=4096 g D l a 4 00 00 00
    ......................  Lzh      lzh lha       offset=2 - l h
    .......P..............  MBR      mbr
    ....M....E............  MachO    macho         CE FA ED FE  ||  CF FA ED FE  ||  FE ED FA CE  ||  FE ED FA CF
    ......................  MsLZ     mslz          S Z D D 88 F0 ' 3 A
    ....M.................  Mub      mub           CA FE BA BE 00 00 00  ||  B9 FA F1 0E
    ......................  NTFS     ntfs img      offset=3 N T F S 20 20 20 20 00
    ...F.G................  Nsis     nsis          offset=4 EF BE AD DE N u l l s o f t I n s t
    .........E............  PE       exe dll sys   M Z
    ......................  Ppmd     pmd           8F AF AC 84
    ......................  QCOW     qcow qcow2 qcow2c Q F I FB 00 00 00
    ...F..................  Rar      rar r00       R a r ! 1A 07 00
    ...F..................  Rar5     rar r00       R a r ! 1A 07 01 00
    ......................  Rpm      rpm           ED AB EE DB
    K.....................  SWF      swf           F W S
    ....M.................  SWFc     swf (~.swf)   C W S  ||  Z W S
    ......................  Sparse   simg img      : FF & ED 01 00
    ......................  Split    001
    ....M.................  SquashFS squashfs      h s q s  ||  s q s h  ||  s h s q  ||  q s h s
    .........E............  TE       te            V Z
    ...FM.................  UEFIc    scap          BD 86 f ; v 0D 0 @ B7 0E B5 Q 9E / C5 A0  ||  8B A6 < J # w FB H 80 = W 8C C1 FE C4 M  ||  B9 82 91 S B5 AB 91 C B6 9A E3 A9 C F7 / CC
    ...FM.................  UEFIf    uefif         offset=16 D9 T 93 z h 04 J D 81 CE 0B F6 17 D8 90 DF  ||  x E5 8C 8C = 8A 1C O 99 5 89 a 85 C3 - D3
    ......O...............  Udf      udf iso img   offset=32768 01 C D 0 0 1
    ......................  VDI      vdi           offset=64  10 DA BE
    .....G................  VHD      vhd           c o n e c t i x 00 00
    ......................  VHDX     vhdx avhdx    v h d x f i l e
    ......................  VMDK     vmdk          K D M V
    ......................  Xar      xar pkg xip   x a r ! 00 1C
    ......................  Z        z taz (.tar)  1F 9D
   CK.....................  bzip2    bz2 bzip2 tbz2 (.tar) tbz (.tar) B Z h
   CK.................m+..  gzip     gz gzip tgz (.tar) tpz (.tar) apk (.tar) 1F 8B 08
    K.....O...............  lzma     lzma
    K.....................  lzma86   lzma86
   C......O...LH......m+..  tar      tar ova       offset=257 u s t a r
   C.SN.......LH..c.a.m+..  wim      wim swm esd ppkg M S W I M 00 00 00
   CK.....................  xz       xz txz (.tar) FD 7 z X Z 00
   C...FMG........c.a.m+..  zip      zip z01 zipx jar xpi odt ods docx xlsx epub ipa apk appx P K 03 04  ||  P K 05 06  ||  P K 06 06  ||  P K 07 08 P K  ||  P K 0 0 P K
   CK.....O.....XC........  Hash     sha256 sha512 sha224 sha384 sha1 sha md5 crc32 crc64 asc cksum 

Codecs:
   4ED   303011B BCJ2
    EDF  3030103 BCJ
    EDF  3030205 PPC
    EDF  3030401 IA64
    EDF  3030501 ARM
    EDF  3030701 ARMT
    EDF  3030805 SPARC
    EDF    20302 Swap2
    EDF    20304 Swap4
    ED     40202 BZip2
    ED         0 Copy
    ED     40109 Deflate64
    ED     40108 Deflate
    EDF        3 Delta
    ED        21 LZMA2
    ED     30101 LZMA
    ED     30401 PPMD
     D     40301 Rar1
     D     40302 Rar2
     D     40303 Rar3
     D     40305 Rar5
    EDF  6F10701 7zAES
    EDF  6F00181 AES256CBC

Hashers:
      4        1 CRC32
     20      201 SHA1
     32        A SHA256
      8        4 CRC64
     32      202 BLAKE2sp
tux@slitaz:~$

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/3?replies=31#post-51237

m3400 - 7-Zip - p7zip-16.02


7-Zip - p7zip-16.02
7z / 7za / tzr

p7zip is a port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, FreeBSD, Cygwin, AIX, ...), MacOS X and also for BeOS and Amiga.

https://p7zip.sourceforge.net/


tux@slitaz:~$ 7z i

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Libs:
 0  /usr/lib64/p7zip/7z.dll
 1  /usr/lib64/p7zip/Codecs/Lzham.so
 2  /usr/lib64/p7zip/Codecs/Rar.so

Formats:
 0 C   FMG       zip      zip z01 zipx jar xpi odt ods docx xlsx epub P K 03 04  ||  P K 05 06  ||  P K 07 08 P K  ||  P K 0 0 P K
 0               Z        z taz (.tar)  1F 9D
 0 CK            xz       xz txz (.tar) FD 7 z X Z 00
 0               Xar      xar pkg       x a r ! 00 1C
 0 C SN       LH wim      wim swm esd   M S W I M 00 00 00
 0               VMDK     vmdk          K D M V
 0       G       VHD      vhd           c o n e c t i x 00 00
 0               VDI      vdi           offset=64  10 DA BE
 0     F         UEFIc    scap          BD 86 f ; v 0D 0 @ B7 0E B5 Q 9E / C5 A0
 0     F         UEFIf    uefif         offset=16 D9 T 93 z h 04 J D 81 CE 0B F6 17 D8 90 DF
 0        O      Udf      udf iso img   offset=32768 01 C D 0 0 1
 0 C      O   LH tar      tar ova       offset=257 u s t a r
 0 C    M        SWFc     swf (~.swf)   C W S  ||  Z W S
 0  K            SWF      swf           F W S
 0      M        SquashFS squashfs      h s q s  ||  s q s h  ||  s h s q
 0               Split    001
 0               Rpm      rpm           ED AB EE DB
 0     F         Rar5     rar r00       R a r ! 1A 07 01 00
 0     F         Rar      rar r00       R a r ! 1A 07 00
 0               QCOW     qcow qcow2 qcow2c Q F I FB 00 00 00
 0               Ppmd     pmd           8F AF AC 84
 0           E   PE       exe dll sys   M Z
 0           E   TE       te            V Z
 0               NTFS     ntfs img      offset=3 N T F S 20 20 20 20 00
 0     F G       Nsis     nsis          offset=4 EF BE AD DE N u l l s o f t I n s t
 0      M        Mub      mub           CA FE BA BE 00 00 00  ||  B9 FA F1 0E
 0               MsLZ     mslz          S Z D D 88 F0 ' 3 A
 0         P     MBR      mbr
 0      M    E   MachO    macho         CE FA ED FE  ||  CF FA ED FE  ||  FE ED FA CE  ||  FE ED FA CF
 0  K     O      lzma     lzma
 0  K            lzma86   lzma86
 0               Lzh      lzh lha       offset=2 - l h
 0               Iso      iso img       offset=32769 C D 0 0 1
 0        O      IHex     ihex
 0      M        HFS      hfs hfsx      offset=1024 H + 00 04  ||  H X 00 05
 0               GPT      gpt mbr       offset=512 E F I 20 P A R T 00 00 01 00
 0 CK            gzip     gz gzip tgz (.tar) tpz (.tar) 1F 8B 08
 0               FLV      flv           F L V 01
 0               FAT      fat img       offset=510 U AA
 0               Ext      ext ext2 ext3 ext4 img offset=1080 S EF
 0           E   ELF      elf            E L F
 0       G  B    Dmg      dmg           k o l y 00 00 00 04 00 00 02 00
 0               CramFS   cramfs        offset=16 C o m p r e s s e d 20 R O M F S
 0      M        Cpio     cpio          0 7 0 7 0  ||  C7 q  ||  q C7
 0               Compound msi msp doc xls ppt D0 CF 11 E0 A1 B1 1A E1
 0               Chm      chm chi chq chw I T S F 03 00 00 00 ` 00 00 00
 0     F         Hxs      hxs hxi hxr hxq hxw lit I T O L I T L S 01 00 00 00 ( 00 00 00
 0     F         Cab      cab           M S C F 00 00 00 00
 0 CK            bzip2    bz2 bzip2 tbz2 (.tar) tbz (.tar) B Z h
 0               Arj      arj           ` EA
 0               Ar       ar a deb lib  ! < a r c h > 0A
 0               APM      apm           E R
 0 C   F         7z       7z            7 z BC AF ' 1C

Codecs:
 0  ED  6F00181 AES256CBC
 0  ED  6F10701 7zAES
 0  ED    30401 PPMD
 0  ED    30101 LZMA
 0  ED       21 LZMA2
 0  ED        3 Delta
 0  ED    40108 Deflate
 0  ED    40109 Deflate64
 0  ED        0 Copy
 0  ED    20302 Swap2
 0  ED    20304 Swap4
 0  ED  3030205 PPC
 0  ED  3030401 IA64
 0  ED  3030501 ARM
 0  ED  3030701 ARMT
 0  ED  3030805 SPARC
 0  ED  3030103 BCJ
 0 4ED  303011B BCJ2
 0  ED    40202 BZip2
 1  ED  4F71001 LZHAM
 2   D    40301 Rar1
 2   D    40302 Rar2
 2   D    40303 Rar3
 2   D    40305 Rar5

Hashers:
 0    8        4 CRC64
 0   32        A SHA256
 0   20      201 SHA1
 0    4        1 CRC32
 0   32      202 BLAKE2sp


tux@slitaz:~$ 7za i

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Formats:
  C   FMG       zip      zip z01 zipx jar xpi odt ods docx xlsx epub P K 03 04  ||  P K 05 06  ||  P K 07 08 P K  ||  P K 0 0 P K
                Z        z taz (.tar)  1F 9D
  CK            xz       xz txz (.tar) FD 7 z X Z 00
  C      O   LH tar      tar ova       offset=257 u s t a r
                Split    001
                Ppmd     pmd           8F AF AC 84
   K     O      lzma     lzma
   K            lzma86   lzma86
  CK            gzip     gz gzip tgz (.tar) tpz (.tar) 1F 8B 08
      F         Cab      cab           M S C F 00 00 00 00
  CK            bzip2    bz2 bzip2 tbz2 (.tar) tbz (.tar) B Z h
  C   F         7z       7z            7 z BC AF ' 1C

Codecs:
    ED  6F00181 AES256CBC
    ED  6F10701 7zAES
    ED    30401 PPMD
    ED    30101 LZMA
    ED       21 LZMA2
    ED        3 Delta
    ED    40108 Deflate
    ED    40109 Deflate64
    ED        0 Copy
    ED    20302 Swap2
    ED    20304 Swap4
    ED  3030205 PPC
    ED  3030401 IA64
    ED  3030501 ARM
    ED  3030701 ARMT
    ED  3030805 SPARC
    ED  3030103 BCJ
   4ED  303011B BCJ2
    ED    40202 BZip2

Hashers:
      8        4 CRC64
     32        A SHA256
     20      201 SHA1
      4        1 CRC32


tux@slitaz:~$ 7zr i

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Formats:
  CK            xz       xz txz (.tar) FD 7 z X Z 00
                Split    001
   K     O      lzma     lzma
   K            lzma86   lzma86
  C   F         7z       7z            7 z BC AF ' 1C

Codecs:
    ED    30101 LZMA
    ED       21 LZMA2
    ED        3 Delta
    ED        0 Copy
    ED    20302 Swap2
    ED    20304 Swap4
    ED  3030205 PPC
    ED  3030401 IA64
    ED  3030501 ARM
    ED  3030701 ARMT
    ED  3030805 SPARC
    ED  3030103 BCJ
   4ED  303011B BCJ2

Hashers:
      8        4 CRC64
     32        A SHA256
      4        1 CRC32


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2?replies=31#post-51236