| Cost | $0.328 |
| Total elapsed time | 4m18s |
| LLM inference time | 2m15s |
| Command execution time | 2m3s |
| Commands executed | 43 |
All details >
| Attempt ID | 0mu03pof1xy28 | Attempt group | run-16-09-22-05 |
| Revision | fb5c74bd2fee | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-16T22:07:45.829Z | End time | 2025-09-16T22:12:04.863Z |
| Task | curl-ssl-arm64-static | Environment | ubuntu-22.04-amd64-cross-arm64 |
| Model | | OpenRouter slug | z-ai/glm-4.5 |
| Temperature | 1 | Explicit prompt caching | false |
| User msg after tool call | false | Max tool calls | 150 |
| Total timeout seconds | 3600 | Single command timeout | 1800 |
| Cost | $0.328 | Duration | 4m18s |
| LLM inference time | 2m15s | Command execution time | 2m3s |
| Final context tokens | 31,933 | Total output tokens | 4,119 |
| Output reasoning tokens | 1,193 | Messages | 89 |
| Assistant messages | 44 | User messages | 1 |
| System messages | 1 | Commands executed | 43 |
curl 8.16.0 is a command-line HTTP client.
Project link: curl.se
Task:
Compile and install curl to a specific location. Build with SSL support (TLS v1.3), brotli, zlib and zstd. Cross-compile to arm64. Build it statically.
Difficulties:
Cross-compilation toolchain setup, manually cross-compiling all dependencies, properly configuring SSL certificates in OpenSSL.
Environment:
Ubuntu 22.04 on amd64, with internet access.
You are a package-building specialist operating a Ubuntu 22.04 bash shell via one tool: run_terminal_cmd.
The current working directory of every run_terminal_cmd is /home/peter.
Execution rules:
- Always pass non-interactive flags for any command that could prompt (e.g., -y, --yes, DEBIAN_FRONTEND=noninteractive).
- Don't include any newlines in the command.
- You can use sudo.
If you encounter any errors or issues while doing the user's request, you must fix them and continue the task.
At the end verify you did the user request correctly.
You are given a curl v8.16.0 source code at /home/peter/curl.tar.gz. Please compile curl and install it to /home/peter/result. Create a symlink from /home/peter/result/curl to the actual binary. Make sure it builds with SSL support (TLS v1.3), brotli, zlib and zstd. The binary should be statically compiled for arm64.
Show reasoning
I need to compile curl v8.16.0 with specific requirements:
1. Source code is at /home/peter/curl.tar.gz
2. Install to /home/peter/result
3. Create symlink from /home/peter/result/curl to actual binary
4. Build with SSL support (TLS v1.3), brotli, zlib and zstd
5. Statically compiled for arm64
Let me break this down:
1. First, I need to extract the source code
2. Check the current system and what dependencies are available
3. Install build dependencies if needed
4. Configure curl with the required features
5. Build it statically for arm64
6. Install to the specified location
7. Create the symlink
Let me start by extracting the source and checking what we have.
I'll help you compile curl v8.16.0 with the specified requirements. Let me start by extracting the source code and checking the system.
[empty output]
Show reasoning
Good, the tar extraction worked. Now let me check what was extracted and navigate to the curl source directory.
compile-bench> ls -la /home/peter total 4108
drwxr-x--- 1 peter peter 4096 Sep 16 22:07 .
drwxr-xr-x 1 root root 4096 Sep 15 11:21 ..
-rw-r--r-- 1 peter peter 220 Jan 6 2022 .bash_logout
-rw-r--r-- 1 peter peter 3771 Jan 6 2022 .bashrc
-rw-r--r-- 1 peter peter 807 Jan 6 2022 .profile
drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 curl-8.16.0
-rw-r--r-- 1 peter peter 4176617 Sep 16 22:07 curl.tar.gz
↓ 9 lines
total 4108 drwxr-x--- 1 peter peter 4096 Sep 16 22:07 . drwxr-xr-x 1 root root 4096 Sep 15 11:21 .. -rw-r--r-- 1 peter peter 220 Jan 6 2022 .bash_logout -rw-r--r-- 1 peter peter 3771 Jan 6 2022 .bashrc -rw-r--r-- 1 peter peter 807 Jan 6 2022 .profile drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 curl-8.16.0 -rw-r--r-- 1 peter peter 4176617 Sep 16 22:07 curl.tar.gz
Show reasoning
Good, the source code has been extracted to /home/peter/curl-8.16.0. Now I need to:
1. Install the necessary build dependencies
2. Install the required libraries (SSL, brotli, zlib, zstd) and their development files
3. Configure curl with the proper flags for static compilation and all features
4. Build and install to /home/peter/result
5. Create the symlink
Let me start by installing the required dependencies.
compile-bench> sudo apt update && sudo apt install -y build-essential cmake ninja-build pkg-config
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers] [Waiting for headers]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [Waiting for headers] [2 InRelease 14.2 kB/129 kB 11%]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
0% [3 InRelease 12.7 kB/128 kB 10%] [2 InRelease 14.2 kB/129 kB 11%]
0% [3 InRelease 38.8 kB/128 kB 30%] [2 InRelease 43.1 kB/129 kB 33%]
0% [Waiting for headers] [2 InRelease 127 kB/129 kB 99%]
0% [Waiting for headers]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
0% [4 InRelease 6932 B/127 kB 5%]
0% [Working]
0% [Working]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3638 kB]
0% [5 Packages 6999 B/3638 kB 0%]
0% [5 Packages 223 kB/3638 kB 6%]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
0% [5 Packages 528 kB/3638 kB 15%] [6 Packages 5551 B/1274 kB 0%]
22% [5 Packages 1044 kB/3638 kB 29%] [6 Packages 133 kB/1274 kB 10%]
33% [6 Packages 410 kB/1274 kB 32%]
33% [5 Packages store 0 B] [Waiting for headers] [6 Packages 410 kB/1274 kB 32%
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1581 kB]
34% [5 Packages store 0 B] [7 Packages 56.2 kB/1581 kB 4%] [6 Packages 706 kB/1
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5665 kB]
41% [5 Packages store 0 B] [8 Packages 89.7 kB/5665 kB 2%] [6 Packages 847 kB/1
50% [5 Packages store 0 B] [8 Packages 2175 kB/5665 kB 38%]
63% [5 Packages store 0 B] [Waiting for headers]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB]
63% [5 Packages store 0 B] [9 Packages 38.5 kB/80.3 kB 48%]
63% [5 Packages store 0 B] [Waiting for headers]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB]
63% [5 Packages store 0 B] [10 Packages 23.5 kB/3311 kB 1%]
73% [10 Packages 2346 kB/3311 kB 71%]
73% [7 Packages store 0 B] [10 Packages 2346 kB/3
[command output truncated]
9_amd64.deb ...
Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../05-shared-mime-info_2.1-2_amd64.deb ...
Unpacking shared-mime-info (2.1-2) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../06-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../07-libuv1_1.43.0-1ubuntu0.1_amd64.deb ...
Unpacking libuv1:amd64 (1.43.0-1ubuntu0.1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../08-libarchive13_3.6.0-1ubuntu1.5_amd64.deb ...
Unpacking libarchive13:amd64 (3.6.0-1ubuntu1.5) ...
Selecting previously unselected package libjsoncpp25:amd64.
Preparing to unpack .../09-libjsoncpp25_1.9.5-3_amd64.deb ...
Unpacking libjsoncpp25:amd64 (1.9.5-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../10-librhash0_1.4.2-1ubuntu1_amd64.deb ...
Unpacking librhash0:amd64 (1.4.2-1ubuntu1) ...
Selecting previously unselected package dh-elpa-helper.
Preparing to unpack .../11-dh-elpa-helper_2.0.9ubuntu1_all.deb ...
Unpacking dh-elpa-helper (2.0.9ubuntu1) ...
Selecting previously unselected package emacsen-common.
Preparing to unpack .../12-emacsen-common_3.0.4_all.deb ...
Unpacking emacsen-common (3.0.4) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../13-cmake-data_3.22.1-1ubuntu1.22.04.2_all.deb ...
Unpacking cmake-data (3.22.1-1ubuntu1.22.04.2) ...
Selecting previously unselected package cmake.
Preparing to unpack .../14-cmake_3.22.1-1ubuntu1.22.04.2_amd64.deb ...
Unpacking cmake (3.22.1-1ubuntu1.22.04.2) ...
Selecting previously unselected package ninja-build.
Preparing to unpack .../15-ninja-build_1.10.1-1_amd64.deb ...
Unpacking ninja-build (1.10.1-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../16-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
Unpacking pkg-config (0.29.2-1ubuntu3) ...
Setting up libexpat1:amd64 (2.4.7-1ubuntu0.6) ...
Setting up xdg-user-dirs (0.17-2ubuntu4) ...
Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ...
No schema files found: doing nothing.
Setting up ninja-build (1.10.1-1) ...
Setting up libglib2.0-data (2.72.4-0ubuntu2.6) ...
Setting up libuv1:amd64 (1.43.0-1ubuntu0.1) ...
Setting up emacsen-common (3.0.4) ...
Setting up dh-elpa-helper (2.0.9ubuntu1) ...
Setting up libjsoncpp25:amd64 (1.9.5-3) ...
Setting up pkg-config (0.29.2-1ubuntu3) ...
Setting up librhash0:amd64 (1.4.2-1ubuntu1) ...
Setting up cmake-data (3.22.1-1ubuntu1.22.04.2) ...
Setting up libicu70:amd64 (70.1-2) ...
Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ...
Setting up libarchive13:amd64 (3.6.0-1ubuntu1.5) ...
Setting up shared-mime-info (2.1-2) ...
Setting up cmake (3.22.1-1ubuntu1.22.04.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 70 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] [Waiting for headers] Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [Waiting for headers] [2 InRelease 14.2 kB/129 kB 11%] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] 0% [3 InRelease 12.7 kB/128 kB 10%] [2 InRelease 14.2 kB/129 kB 11%] 0% [3 InRelease 38.8 kB/128 kB 30%] [2 InRelease 43.1 kB/129 kB 33%] 0% [Waiting for headers] [2 InRelease 127 kB/129 kB 99%] 0% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] 0% [4 InRelease 6932 B/127 kB 5%] 0% [Working] 0% [Working] Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3638 kB] 0% [5 Packages 6999 B/3638 kB 0%] 0% [5 Packages 223 kB/3638 kB 6%] Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB] 0% [5 Packages 528 kB/3638 kB 15%] [6 Packages 5551 B/1274 kB 0%] 22% [5 Packages 1044 kB/3638 kB 29%] [6 Packages 133 kB/1274 kB 10%] 33% [6 Packages 410 kB/1274 kB 32%] 33% [5 Packages store 0 B] [Waiting for headers] [6 Packages 410 kB/1274 kB 32% Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1581 kB] 34% [5 Packages store 0 B] [7 Packages 56.2 kB/1581 kB 4%] [6 Packages 706 kB/1 Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5665 kB] 41% [5 Packages store 0 B] [8 Packages 89.7 kB/5665 kB 2%] [6 Packages 847 kB/1 50% [5 Packages store 0 B] [8 Packages 2175 kB/5665 kB 38%] 63% [5 Packages store 0 B] [Waiting for headers] Get:9 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB] 63% [5 Packages store 0 B] [9 Packages 38.5 kB/80.3 kB 48%] 63% [5 Packages store 0 B] [Waiting for headers] Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB] 63% [5 Packages store 0 B] [10 Packages 23.5 kB/3311 kB 1%] 73% [10 Packages 2346 kB/3311 kB 71%] 73% [7 Packages store 0 B] [10 Packages 2346 kB/3 [command output truncated] 9_amd64.deb ... Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../05-shared-mime-info_2.1-2_amd64.deb ... Unpacking shared-mime-info (2.1-2) ... Selecting previously unselected package xdg-user-dirs. Preparing to unpack .../06-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ... Unpacking xdg-user-dirs (0.17-2ubuntu4) ... Selecting previously unselected package libuv1:amd64. Preparing to unpack .../07-libuv1_1.43.0-1ubuntu0.1_amd64.deb ... Unpacking libuv1:amd64 (1.43.0-1ubuntu0.1) ... Selecting previously unselected package libarchive13:amd64. Preparing to unpack .../08-libarchive13_3.6.0-1ubuntu1.5_amd64.deb ... Unpacking libarchive13:amd64 (3.6.0-1ubuntu1.5) ... Selecting previously unselected package libjsoncpp25:amd64. Preparing to unpack .../09-libjsoncpp25_1.9.5-3_amd64.deb ... Unpacking libjsoncpp25:amd64 (1.9.5-3) ... Selecting previously unselected package librhash0:amd64. Preparing to unpack .../10-librhash0_1.4.2-1ubuntu1_amd64.deb ... Unpacking librhash0:amd64 (1.4.2-1ubuntu1) ... Selecting previously unselected package dh-elpa-helper. Preparing to unpack .../11-dh-elpa-helper_2.0.9ubuntu1_all.deb ... Unpacking dh-elpa-helper (2.0.9ubuntu1) ... Selecting previously unselected package emacsen-common. Preparing to unpack .../12-emacsen-common_3.0.4_all.deb ... Unpacking emacsen-common (3.0.4) ... Selecting previously unselected package cmake-data. Preparing to unpack .../13-cmake-data_3.22.1-1ubuntu1.22.04.2_all.deb ... Unpacking cmake-data (3.22.1-1ubuntu1.22.04.2) ... Selecting previously unselected package cmake. Preparing to unpack .../14-cmake_3.22.1-1ubuntu1.22.04.2_amd64.deb ... Unpacking cmake (3.22.1-1ubuntu1.22.04.2) ... Selecting previously unselected package ninja-build. Preparing to unpack .../15-ninja-build_1.10.1-1_amd64.deb ... Unpacking ninja-build (1.10.1-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../16-pkg-config_0.29.2-1ubuntu3_amd64.deb ... Unpacking pkg-config (0.29.2-1ubuntu3) ... Setting up libexpat1:amd64 (2.4.7-1ubuntu0.6) ... Setting up xdg-user-dirs (0.17-2ubuntu4) ... Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ... No schema files found: doing nothing. Setting up ninja-build (1.10.1-1) ... Setting up libglib2.0-data (2.72.4-0ubuntu2.6) ... Setting up libuv1:amd64 (1.43.0-1ubuntu0.1) ... Setting up emacsen-common (3.0.4) ... Setting up dh-elpa-helper (2.0.9ubuntu1) ... Setting up libjsoncpp25:amd64 (1.9.5-3) ... Setting up pkg-config (0.29.2-1ubuntu3) ... Setting up librhash0:amd64 (1.4.2-1ubuntu1) ... Setting up cmake-data (3.22.1-1ubuntu1.22.04.2) ... Setting up libicu70:amd64 (70.1-2) ... Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ... Setting up libarchive13:amd64 (3.6.0-1ubuntu1.5) ... Setting up shared-mime-info (2.1-2) ... Setting up cmake (3.22.1-1ubuntu1.22.04.2) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Show reasoning
Now I need to install the cross-compilation tools for arm64 and the necessary dependencies for SSL, brotli, zlib, and zstd support. I need to install gcc-aarch64-linux-gnu for cross-compilation, and then install the development packages for OpenSSL (or another SSL library), brotli, zlib, and zstd.
Let me install the cross-compilation tools first:
compile-bench> sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 52%
Reading package lists... 52%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
The following additional packages will be installed:
cpp-11-aarch64-linux-gnu cpp-aarch64-linux-gnu g++-11-aarch64-linux-gnu
gcc-11-aarch64-linux-gnu gcc-11-aarch64-linux-gnu-base gcc-11-cross-base
gcc-12-cross-base libasan6-arm64-cross libatomic1-arm64-cross
libc6-arm64-cross libc6-dev-arm64-cross libgcc-11-dev-arm64-cross
libgcc-s1-arm64-cross libgomp1-arm64-cross libhwasan0-arm64-cross
libitm1-arm64-cross liblsan0-arm64-cross libstdc++-11-dev-arm64-cross
libstdc++6-arm64-cross libtsan0-arm64-cross libubsan1-arm64-cross
linux-libc-dev-arm64-cross
Suggested packages:
binutils-doc gcc-11-locales cpp-doc gcc-11-doc manpages-dev autoconf
automake libtool flex bison gdb-aarch64-linux-gnu gcc-doc
The following NEW packages will be installed:
binutils-aarch64-linux-gnu cpp-11-aarch64-linux-gnu cpp-aarch64-linux-gnu
g++-11-aarch64-linux-gnu g++-aarch64-linux-gnu gcc-11-aarch64-linux-gnu
gcc-11-aarch64-linux-gnu-base gcc-11-cross-base gcc-12-cross-base
gcc-aarch64-linux-gnu libasan6-arm64-cross libatomic1-arm64-cross
libc6-arm64-cross libc6-dev-arm64-cross libgcc-11-dev-arm64-cross
libgcc-s1-arm64-cross libgomp1-arm64-cross libhwasan0-arm64-cross
libitm1-arm64-cross liblsan0-arm64-cross libstdc++-11-dev-arm64-cross
libstdc++6-arm64-cross libtsan0-arm64-cross libubsan1-arm64-cross
linux-libc-dev-arm64-cross
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.1 MB of archives.
After this operation, 206 MB of additional disk space will be used.
0% [Working]
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-aarch64-linux-gnu-base amd64 11.4.0-1ubuntu1~22.04cross1 [20.5 kB]
0% [1 gcc-11-aarch64-linux-gnu-base 14.2 kB/20.5 kB 69%]
[command output truncated]
ected package linux-libc-dev-arm64-cross.
Preparing to unpack .../19-linux-libc-dev-arm64-cross_5.15.0-22.22cross3_all.deb ...
Unpacking linux-libc-dev-arm64-cross (5.15.0-22.22cross3) ...
Selecting previously unselected package libc6-dev-arm64-cross.
Preparing to unpack .../20-libc6-dev-arm64-cross_2.35-0ubuntu1cross3_all.deb ...
Unpacking libc6-dev-arm64-cross (2.35-0ubuntu1cross3) ...
Selecting previously unselected package libstdc++-11-dev-arm64-cross.
Preparing to unpack .../21-libstdc++-11-dev-arm64-cross_11.4.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libstdc++-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package g++-11-aarch64-linux-gnu.
Preparing to unpack .../22-g++-11-aarch64-linux-gnu_11.4.0-1ubuntu1~22.04cross1_amd64.deb ...
Unpacking g++-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package gcc-aarch64-linux-gnu.
Preparing to unpack .../23-gcc-aarch64-linux-gnu_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package g++-aarch64-linux-gnu.
Preparing to unpack .../24-g++-aarch64-linux-gnu_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Setting up gcc-11-aarch64-linux-gnu-base:amd64 (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-12-cross-base (12.3.0-1ubuntu1~22.04cross1) ...
Setting up binutils-aarch64-linux-gnu (2.38-4ubuntu2.8) ...
Setting up libc6-arm64-cross (2.35-0ubuntu1cross3) ...
Setting up libitm1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up linux-libc-dev-arm64-cross (5.15.0-22.22cross3) ...
Setting up cpp-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-11-cross-base (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libgcc-s1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libatomic1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up liblsan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libgomp1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libasan6-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libtsan0-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libhwasan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libc6-dev-arm64-cross (2.35-0ubuntu1cross3) ...
Setting up libstdc++6-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up cpp-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Setting up libubsan1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libgcc-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libstdc++-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up g++-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Setting up g++-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 76 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 42% Reading package lists... 42% Reading package lists... 42% Reading package lists... 42% Reading package lists... 52% Reading package lists... 52% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done The following additional packages will be installed: cpp-11-aarch64-linux-gnu cpp-aarch64-linux-gnu g++-11-aarch64-linux-gnu gcc-11-aarch64-linux-gnu gcc-11-aarch64-linux-gnu-base gcc-11-cross-base gcc-12-cross-base libasan6-arm64-cross libatomic1-arm64-cross libc6-arm64-cross libc6-dev-arm64-cross libgcc-11-dev-arm64-cross libgcc-s1-arm64-cross libgomp1-arm64-cross libhwasan0-arm64-cross libitm1-arm64-cross liblsan0-arm64-cross libstdc++-11-dev-arm64-cross libstdc++6-arm64-cross libtsan0-arm64-cross libubsan1-arm64-cross linux-libc-dev-arm64-cross Suggested packages: binutils-doc gcc-11-locales cpp-doc gcc-11-doc manpages-dev autoconf automake libtool flex bison gdb-aarch64-linux-gnu gcc-doc The following NEW packages will be installed: binutils-aarch64-linux-gnu cpp-11-aarch64-linux-gnu cpp-aarch64-linux-gnu g++-11-aarch64-linux-gnu g++-aarch64-linux-gnu gcc-11-aarch64-linux-gnu gcc-11-aarch64-linux-gnu-base gcc-11-cross-base gcc-12-cross-base gcc-aarch64-linux-gnu libasan6-arm64-cross libatomic1-arm64-cross libc6-arm64-cross libc6-dev-arm64-cross libgcc-11-dev-arm64-cross libgcc-s1-arm64-cross libgomp1-arm64-cross libhwasan0-arm64-cross libitm1-arm64-cross liblsan0-arm64-cross libstdc++-11-dev-arm64-cross libstdc++6-arm64-cross libtsan0-arm64-cross libubsan1-arm64-cross linux-libc-dev-arm64-cross 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. Need to get 58.1 MB of archives. After this operation, 206 MB of additional disk space will be used. 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-aarch64-linux-gnu-base amd64 11.4.0-1ubuntu1~22.04cross1 [20.5 kB] 0% [1 gcc-11-aarch64-linux-gnu-base 14.2 kB/20.5 kB 69%] [command output truncated] ected package linux-libc-dev-arm64-cross. Preparing to unpack .../19-linux-libc-dev-arm64-cross_5.15.0-22.22cross3_all.deb ... Unpacking linux-libc-dev-arm64-cross (5.15.0-22.22cross3) ... Selecting previously unselected package libc6-dev-arm64-cross. Preparing to unpack .../20-libc6-dev-arm64-cross_2.35-0ubuntu1cross3_all.deb ... Unpacking libc6-dev-arm64-cross (2.35-0ubuntu1cross3) ... Selecting previously unselected package libstdc++-11-dev-arm64-cross. Preparing to unpack .../21-libstdc++-11-dev-arm64-cross_11.4.0-1ubuntu1~22.04cross1_all.deb ... Unpacking libstdc++-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Selecting previously unselected package g++-11-aarch64-linux-gnu. Preparing to unpack .../22-g++-11-aarch64-linux-gnu_11.4.0-1ubuntu1~22.04cross1_amd64.deb ... Unpacking g++-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Selecting previously unselected package gcc-aarch64-linux-gnu. Preparing to unpack .../23-gcc-aarch64-linux-gnu_4%3a11.2.0-1ubuntu1_amd64.deb ... Unpacking gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Selecting previously unselected package g++-aarch64-linux-gnu. Preparing to unpack .../24-g++-aarch64-linux-gnu_4%3a11.2.0-1ubuntu1_amd64.deb ... Unpacking g++-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Setting up gcc-11-aarch64-linux-gnu-base:amd64 (11.4.0-1ubuntu1~22.04cross1) ... Setting up gcc-12-cross-base (12.3.0-1ubuntu1~22.04cross1) ... Setting up binutils-aarch64-linux-gnu (2.38-4ubuntu2.8) ... Setting up libc6-arm64-cross (2.35-0ubuntu1cross3) ... Setting up libitm1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up linux-libc-dev-arm64-cross (5.15.0-22.22cross3) ... Setting up cpp-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Setting up gcc-11-cross-base (11.4.0-1ubuntu1~22.04cross1) ... Setting up libgcc-s1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libatomic1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up liblsan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libgomp1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libasan6-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up libtsan0-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up libhwasan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libc6-dev-arm64-cross (2.35-0ubuntu1cross3) ... Setting up libstdc++6-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up cpp-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Setting up libubsan1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libgcc-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up gcc-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Setting up libstdc++-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up g++-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Setting up gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Setting up g++-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Show reasoning
Now I need to install the dependencies for SSL/TLS, brotli, zlib, and zstd. I'll also need the development libraries for these components. Since we're cross-compiling, I need both the host and target versions.
compile-bench> sudo apt install -y libssl-dev zlib1g-dev libbrotli-dev libzstd-dev
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 52%
Reading package lists... 52%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
Suggested packages:
libssl-doc
The following NEW packages will be installed:
libbrotli-dev libssl-dev libzstd-dev zlib1g-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 3278 kB of archives.
After this operation, 15.3 MB of additional disk space will be used.
0% [Working]
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libbrotli-dev amd64 1.0.9-2build6 [337 kB]
0% [1 libbrotli-dev 14.2 kB/337 kB 4%]
13% [Waiting for headers]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.19 [2376 kB]
13% [2 libssl-dev 4059 B/2376 kB 0%]
76% [Waiting for headers]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libzstd-dev amd64 1.4.8+dfsg-3build1 [401 kB]
77% [3 libzstd-dev 12.7 kB/401 kB 3%]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB]
91% [4 zlib1g-dev 9853 B/164 kB 6%]
100% [Working]
Fetched 3278 kB in 1s (2764 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libbrotli-dev:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17291 files and directories currently installed.)
Preparing to unpack .../libbrotli-dev_1.0.9-2build6_amd64.deb ...
Unpacking libbrotli-dev:amd64 (1.0.9-2build6) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.19_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.19) ...
Selecting previously unselected package libzstd-dev:amd64.
Preparing to unpack .../libzstd-dev_1.4.8+dfsg-3build1_amd64.deb ...
Unpacking libzstd-dev:amd64 (1.4.8+dfsg-3build1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libzstd-dev:amd64 (1.4.8+dfsg-3build1) ...
Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.19) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libbrotli-dev:amd64 (1.0.9-2build6) ...
↓ 34 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 42% Reading package lists... 42% Reading package lists... 42% Reading package lists... 42% Reading package lists... 52% Reading package lists... 52% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done Suggested packages: libssl-doc The following NEW packages will be installed: libbrotli-dev libssl-dev libzstd-dev zlib1g-dev 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 3278 kB of archives. After this operation, 15.3 MB of additional disk space will be used. 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libbrotli-dev amd64 1.0.9-2build6 [337 kB] 0% [1 libbrotli-dev 14.2 kB/337 kB 4%] 13% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.19 [2376 kB] 13% [2 libssl-dev 4059 B/2376 kB 0%] 76% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libzstd-dev amd64 1.4.8+dfsg-3build1 [401 kB] 77% [3 libzstd-dev 12.7 kB/401 kB 3%] Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB] 91% [4 zlib1g-dev 9853 B/164 kB 6%] 100% [Working] Fetched 3278 kB in 1s (2764 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbrotli-dev:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17291 files and directories currently installed.) Preparing to unpack .../libbrotli-dev_1.0.9-2build6_amd64.deb ... Unpacking libbrotli-dev:amd64 (1.0.9-2build6) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.19_amd64.deb ... Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.19) ... Selecting previously unselected package libzstd-dev:amd64. Preparing to unpack .../libzstd-dev_1.4.8+dfsg-3build1_amd64.deb ... Unpacking libzstd-dev:amd64 (1.4.8+dfsg-3build1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ... Setting up libzstd-dev:amd64 (1.4.8+dfsg-3build1) ... Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.19) ... Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ... Setting up libbrotli-dev:amd64 (1.0.9-2build6) ...
Show reasoning
Now I need to install cross-compilation versions of the development libraries. For static compilation, I'll need the static libraries for the target architecture. Let me install the cross-compilation development packages.
compile-bench> sudo apt install -y libssl-dev-arm64-cross zlib1g-dev-arm64-cross
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 52%
Reading package lists... 52%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
E: Unable to locate package libssl-dev-arm64-cross
E: Unable to locate package zlib1g-dev-arm64-cross
↓ 6 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 42% Reading package lists... 42% Reading package lists... 42% Reading package lists... 42% Reading package lists... 52% Reading package lists... 52% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done E: Unable to locate package libssl-dev-arm64-cross E: Unable to locate package zlib1g-dev-arm64-cross
Show reasoning
I need to download and compile the cross-compilation dependencies for arm64. The packages libssl-dev-arm64-cross and zlib1g-dev-arm64-cross don't exist directly. I need to build these libraries for arm64 cross-compilation. Let me check what cross-compilation libraries are available or I'll need to build them from source.
Let me first check what cross-compilation packages are available:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Show reasoning
It seems there aren't specific cross-compilation packages for these libraries in the Ubuntu repositories. I'll need to build them from source for ARM64. Let me start by creating the necessary directories and then downloading and building the dependencies.
First, let me create the result directory and a build directory.
[empty output]
Show reasoning
Let me check the curl source directory and see what's in it, then I'll need to compile the dependencies for arm64 cross-compilation. I'll need to build static versions of OpenSSL, zlib, brotli, and zstd for arm64 first.
compile-bench> ls -la /home/peter/curl-8.16.0 total 2312
drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 .
drwxr-x--- 1 peter peter 4096 Sep 16 22:08 ..
-rw-r--r-- 1 peter peter 284 Sep 10 05:43 .editorconfig
-rw-r--r-- 1 peter peter 438 Sep 10 05:43 CHANGES.md
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 CMake
-rw-r--r-- 1 peter peter 92961 Sep 10 05:43 CMakeLists.txt
-rw-r--r-- 1 peter peter 1088 Sep 10 05:43 COPYING
-rw-r--r-- 1 peter peter 1712 Sep 10 05:43 Dockerfile
-rw-r--r-- 1 peter peter 6930 Sep 10 05:43 Makefile.am
-rw-r--r-- 1 peter peter 39602 Sep 10 05:43 Makefile.in
-rw-r--r-- 1 peter peter 1664 Sep 10 05:43 README
-rw-r--r-- 1 peter peter 28109 Sep 10 05:43 RELEASE-NOTES
-rw-r--r-- 1 peter peter 44196 Sep 10 05:43 acinclude.m4
-rw-r--r-- 1 peter peter 45838 Sep 10 05:43 aclocal.m4
-rwxr-xr-x 1 peter peter 7400 Sep 10 05:43 compile
-rwxr-xr-x 1 peter peter 49482 Sep 10 05:43 config.guess
-rwxr-xr-x 1 peter peter 35406 Sep 10 05:43 config.sub
-rwxr-xr-x 1 peter peter 1349020 Sep 10 05:43 configure
-rw-r--r-- 1 peter peter 166752 Sep 10 05:43 configure.ac
-rw-r--r-- 1 peter peter 4778 Sep 10 05:43 curl-config.in
-rwxr-xr-x 1 peter peter 23568 Sep 10 05:43 depcomp
drwxr-xr-x 7 peter peter 4096 Sep 10 05:43 docs
drwxr-xr-x 3 peter peter 4096 Sep 10 05:43 include
-rwxr-xr-x 1 peter peter 15358 Sep 10 05:43 install-sh
drwxr-xr-x 7 peter peter 12288 Sep 10 05:43 lib
-rw-r--r-- 1 peter peter 1586 Sep 10 05:43 libcurl.pc.in
-rwxr-xr-x 1 peter peter 333057 Sep 10 05:43 ltmain.sh
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 m4
-rwxr-xr-x 1 peter peter 6878 Sep 10 05:43 missing
drwxr-xr-x 4 peter peter 4096 Sep 10 05:43 packages
drwxr-xr-x 5 peter peter 4096 Sep 10 05:43 plan9
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 projects
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 scripts
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 src
drwxr-xr-x 10 peter peter 4096 Sep 10 05:43 tests
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 winbuild
↓ 38 lines
total 2312 drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 . drwxr-x--- 1 peter peter 4096 Sep 16 22:08 .. -rw-r--r-- 1 peter peter 284 Sep 10 05:43 .editorconfig -rw-r--r-- 1 peter peter 438 Sep 10 05:43 CHANGES.md drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 CMake -rw-r--r-- 1 peter peter 92961 Sep 10 05:43 CMakeLists.txt -rw-r--r-- 1 peter peter 1088 Sep 10 05:43 COPYING -rw-r--r-- 1 peter peter 1712 Sep 10 05:43 Dockerfile -rw-r--r-- 1 peter peter 6930 Sep 10 05:43 Makefile.am -rw-r--r-- 1 peter peter 39602 Sep 10 05:43 Makefile.in -rw-r--r-- 1 peter peter 1664 Sep 10 05:43 README -rw-r--r-- 1 peter peter 28109 Sep 10 05:43 RELEASE-NOTES -rw-r--r-- 1 peter peter 44196 Sep 10 05:43 acinclude.m4 -rw-r--r-- 1 peter peter 45838 Sep 10 05:43 aclocal.m4 -rwxr-xr-x 1 peter peter 7400 Sep 10 05:43 compile -rwxr-xr-x 1 peter peter 49482 Sep 10 05:43 config.guess -rwxr-xr-x 1 peter peter 35406 Sep 10 05:43 config.sub -rwxr-xr-x 1 peter peter 1349020 Sep 10 05:43 configure -rw-r--r-- 1 peter peter 166752 Sep 10 05:43 configure.ac -rw-r--r-- 1 peter peter 4778 Sep 10 05:43 curl-config.in -rwxr-xr-x 1 peter peter 23568 Sep 10 05:43 depcomp drwxr-xr-x 7 peter peter 4096 Sep 10 05:43 docs drwxr-xr-x 3 peter peter 4096 Sep 10 05:43 include -rwxr-xr-x 1 peter peter 15358 Sep 10 05:43 install-sh drwxr-xr-x 7 peter peter 12288 Sep 10 05:43 lib -rw-r--r-- 1 peter peter 1586 Sep 10 05:43 libcurl.pc.in -rwxr-xr-x 1 peter peter 333057 Sep 10 05:43 ltmain.sh drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 m4 -rwxr-xr-x 1 peter peter 6878 Sep 10 05:43 missing drwxr-xr-x 4 peter peter 4096 Sep 10 05:43 packages drwxr-xr-x 5 peter peter 4096 Sep 10 05:43 plan9 drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 projects drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 scripts drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 src drwxr-xr-x 10 peter peter 4096 Sep 10 05:43 tests drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 winbuild
Show reasoning
Now I need to build the dependencies (OpenSSL, zlib, brotli, zstd) as static libraries for arm64. Let me start by downloading and building each one. I'll create a build directory and work from there.
Let me start with OpenSSL since it's the most complex one and needed for TLS 1.3 support.
[empty output]
[empty output]
compile-bench> cd /home/peter/build-deps/openssl-3.0.15 && CROSS_COMPILE=aarch64-linux-gnu- ./config --prefix=/home/peter/build-deps/openssl-arm64 no-shared enable-tls1_3 --openssldir=/home/peter/build-deps/openssl-arm64/ssl Configuring OpenSSL version 3.0.15 for target linux-x86_64
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***
*** ***
**********************************************************************
↓ 23 lines
Configuring OpenSSL version 3.0.15 for target linux-x86_64 Using os-specific seed configuration Created configdata.pm Running configdata.pm Created Makefile.in Created Makefile Created include/openssl/configuration.h ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL.md file first) *** *** *** **********************************************************************
Show reasoning
It looks like the config worked but it still detected the target as linux-x86_64 instead of aarch64. Let me try to fix this by using the correct cross-compilation flags for OpenSSL.
compile-bench> cd /home/peter/build-deps/openssl-3.0.15 && make clean rm -f apps/libapps.a libcrypto.a libssl.a providers/libcommon.a providers/libdefault.a providers/liblegacy.a test/libtestutil.a
rm -f *.ld
rm -f doc/html/man1/CA.pl.html doc/html/man1/openssl-asn1parse.html doc/html/man1/openssl-ca.html doc/html/man1/openssl-ciphers.html doc/html/man1/openssl-cmds.html doc/html/man1/openssl-cmp.html doc/html/man1/openssl-cms.html doc/html/man1/openssl-crl.html doc/html/man1/openssl-crl2pkcs7.html doc/html/man1/openssl-dgst.html doc/html/man1/openssl-dhparam.html doc/html/man1/openssl-dsa.html doc/html/man1/openssl-dsaparam.html doc/html/man1/openssl-ec.html doc/html/man1/openssl-ecparam.html doc/html/man1/openssl-enc.html doc/html/man1/openssl-engine.html doc/html/man1/openssl-errstr.html doc/html/man1/openssl-fipsinstall.html doc/html/man1/openssl-format-options.html doc/html/man1/openssl-gendsa.html doc/html/man1/openssl-genpkey.html doc/html/man1/openssl-genrsa.html doc/html/man1/openssl-info.html doc/html/man1/openssl-kdf.html doc/html/man1/openssl-list.html doc/html/man1/openssl-mac.html doc/html/man1/openssl-namedisplay-options.html doc/html/man1/openssl-nseq.html doc/html/man1/openssl-ocsp.html doc/html/man1/openssl-passphrase-options.html doc/html/man1/openssl-passwd.html doc/html/man1/openssl-pkcs12.html doc/html/man1/openssl-pkcs7.html doc/html/man1/openssl-pkcs8.html doc/html/man1/openssl-pkey.html doc/html/man1/openssl-pkeyparam.html doc/html/man1/openssl-pkeyutl.html doc/html/man1/openssl-prime.html doc/html/man1/openssl-rand.html doc/html/man1/openssl-rehash.html doc/html/man1/openssl-req.html doc/html/man1/openssl-rsa.html doc/html/man1/openssl-rsautl.html doc/html/man1/openssl-s_client.html doc/html/man1/openssl-s_server.html doc/html/man1/openssl-s_time.html doc/html/man1/openssl-sess_id.html doc/html/man1/openssl-smime.html doc/html/man1/openssl-speed.html doc/html/man1/openssl-spkac.html doc/html/man1/openssl-srp.html doc/html/man1/openssl-storeutl.html doc/html/man1/openssl-ts.html doc/html/man1/openssl-verification-options.html doc/html/man1/openssl-verify.html doc/html/man1/openssl-version.html doc/html/man1/openssl-x509.html doc/html/man1/openssl.html doc/html/man1/tsget.html
rm -f doc/html/man3/ADMISSIONS.html doc/html/man3/ASN1_EXTERN_FUNCS.html doc/html/man3/ASN1_INTEGER_get_int64.html doc/html/man3/ASN1_INTEGER_new.html doc/html/man3/ASN1_ITEM_lookup.html doc/html/man3/ASN1_OBJECT_new.html doc/html/man3/ASN1_STRING_TABLE_add.html doc/html/man3/ASN1_STRING_length.html doc/html/man3/ASN1_STRING_new.html doc/html/man3/ASN1_STRING_print_ex.html doc/html/man3/ASN1_TIME_set.html doc/html/man3/ASN1_TYPE_get.html doc/html/man3/ASN1_aux_cb.html doc/html/man3/ASN1_generate_nconf.html doc/html/man3/ASN1_item_d2i_bio.html doc/html/man3/ASN1_item_new.html doc/html/man3/ASN1_item_sign.html doc/html/man3/ASYNC_WAIT_CTX_new.html doc/html/man3/ASYNC_start_job.html doc/html/man3/BF_encrypt.html doc/html/man3/BIO_ADDR.html doc/html/man3/BIO_ADDRINFO.html doc/html/man3/BIO_connect.html doc/html/man3/BIO
[command output truncated]
1/openssl-rsautl.pod doc/man1/openssl-s_client.pod doc/man1/openssl-s_server.pod doc/man1/openssl-s_time.pod doc/man1/openssl-sess_id.pod doc/man1/openssl-smime.pod doc/man1/openssl-speed.pod doc/man1/openssl-spkac.pod doc/man1/openssl-srp.pod doc/man1/openssl-storeutl.pod doc/man1/openssl-ts.pod doc/man1/openssl-verify.pod doc/man1/openssl-version.pod doc/man1/openssl-x509.pod doc/man7/openssl_user_macros.pod engines/e_padlock-x86_64.s providers/common/der/der_digests_gen.c providers/common/der/der_dsa_gen.c providers/common/der/der_ec_gen.c providers/common/der/der_ecx_gen.c providers/common/der/der_rsa_gen.c providers/common/der/der_sm2_gen.c providers/common/der/der_wrap_gen.c providers/common/include/prov/der_digests.h providers/common/include/prov/der_dsa.h providers/common/include/prov/der_ec.h providers/common/include/prov/der_ecx.h providers/common/include/prov/der_rsa.h providers/common/include/prov/der_sm2.h providers/common/include/prov/der_wrap.h providers/legacy.ld test/buildtest_aes.c test/buildtest_async.c test/buildtest_blowfish.c test/buildtest_bn.c test/buildtest_buffer.c test/buildtest_camellia.c test/buildtest_cast.c test/buildtest_cmac.c test/buildtest_cmp_util.c test/buildtest_comp.c test/buildtest_conf_api.c test/buildtest_conftypes.c test/buildtest_core.c test/buildtest_core_dispatch.c test/buildtest_core_names.c test/buildtest_core_object.c test/buildtest_cryptoerr_legacy.c test/buildtest_decoder.c test/buildtest_des.c test/buildtest_dh.c test/buildtest_dsa.c test/buildtest_dtls1.c test/buildtest_e_os2.c test/buildtest_ebcdic.c test/buildtest_ec.c test/buildtest_ecdh.c test/buildtest_ecdsa.c test/buildtest_encoder.c test/buildtest_engine.c test/buildtest_evp.c test/buildtest_fips_names.c test/buildtest_hmac.c test/buildtest_http.c test/buildtest_idea.c test/buildtest_kdf.c test/buildtest_macros.c test/buildtest_md4.c test/buildtest_md5.c test/buildtest_mdc2.c test/buildtest_modes.c test/buildtest_obj_mac.c test/buildtest_objects.c test/buildtest_ossl_typ.c test/buildtest_param_build.c test/buildtest_params.c test/buildtest_pem.c test/buildtest_pem2.c test/buildtest_prov_ssl.c test/buildtest_provider.c test/buildtest_rand.c test/buildtest_rc2.c test/buildtest_rc4.c test/buildtest_ripemd.c test/buildtest_rsa.c test/buildtest_seed.c test/buildtest_self_test.c test/buildtest_sha.c test/buildtest_srtp.c test/buildtest_ssl2.c test/buildtest_sslerr_legacy.c test/buildtest_stack.c test/buildtest_store.c test/buildtest_symhacks.c test/buildtest_tls1.c test/buildtest_ts.c test/buildtest_txt_db.c test/buildtest_types.c test/buildtest_whrlpool.c test/p_minimal.ld test/p_test.ld tools/c_rehash util/shlib_wrap.sh util/wrap.pl
find . -name '*.d' \! -name '.*' \! -type d -exec rm -f {} \;
find . -name '*.o' \! -name '.*' \! -type d -exec rm -f {} \;
rm -f core
rm -f tags TAGS doc-nits md-nits
rm -f -r test/test-runs
rm -f providers/fips*.new
rm -f openssl.pc libcrypto.pc libssl.pc
find . -type l \! -name '.*' -exec rm -f {} \;
↓ 15 lines
rm -f apps/libapps.a libcrypto.a libssl.a providers/libcommon.a providers/libdefault.a providers/liblegacy.a test/libtestutil.a
rm -f *.ld
rm -f doc/html/man1/CA.pl.html doc/html/man1/openssl-asn1parse.html doc/html/man1/openssl-ca.html doc/html/man1/openssl-ciphers.html doc/html/man1/openssl-cmds.html doc/html/man1/openssl-cmp.html doc/html/man1/openssl-cms.html doc/html/man1/openssl-crl.html doc/html/man1/openssl-crl2pkcs7.html doc/html/man1/openssl-dgst.html doc/html/man1/openssl-dhparam.html doc/html/man1/openssl-dsa.html doc/html/man1/openssl-dsaparam.html doc/html/man1/openssl-ec.html doc/html/man1/openssl-ecparam.html doc/html/man1/openssl-enc.html doc/html/man1/openssl-engine.html doc/html/man1/openssl-errstr.html doc/html/man1/openssl-fipsinstall.html doc/html/man1/openssl-format-options.html doc/html/man1/openssl-gendsa.html doc/html/man1/openssl-genpkey.html doc/html/man1/openssl-genrsa.html doc/html/man1/openssl-info.html doc/html/man1/openssl-kdf.html doc/html/man1/openssl-list.html doc/html/man1/openssl-mac.html doc/html/man1/openssl-namedisplay-options.html doc/html/man1/openssl-nseq.html doc/html/man1/openssl-ocsp.html doc/html/man1/openssl-passphrase-options.html doc/html/man1/openssl-passwd.html doc/html/man1/openssl-pkcs12.html doc/html/man1/openssl-pkcs7.html doc/html/man1/openssl-pkcs8.html doc/html/man1/openssl-pkey.html doc/html/man1/openssl-pkeyparam.html doc/html/man1/openssl-pkeyutl.html doc/html/man1/openssl-prime.html doc/html/man1/openssl-rand.html doc/html/man1/openssl-rehash.html doc/html/man1/openssl-req.html doc/html/man1/openssl-rsa.html doc/html/man1/openssl-rsautl.html doc/html/man1/openssl-s_client.html doc/html/man1/openssl-s_server.html doc/html/man1/openssl-s_time.html doc/html/man1/openssl-sess_id.html doc/html/man1/openssl-smime.html doc/html/man1/openssl-speed.html doc/html/man1/openssl-spkac.html doc/html/man1/openssl-srp.html doc/html/man1/openssl-storeutl.html doc/html/man1/openssl-ts.html doc/html/man1/openssl-verification-options.html doc/html/man1/openssl-verify.html doc/html/man1/openssl-version.html doc/html/man1/openssl-x509.html doc/html/man1/openssl.html doc/html/man1/tsget.html
rm -f doc/html/man3/ADMISSIONS.html doc/html/man3/ASN1_EXTERN_FUNCS.html doc/html/man3/ASN1_INTEGER_get_int64.html doc/html/man3/ASN1_INTEGER_new.html doc/html/man3/ASN1_ITEM_lookup.html doc/html/man3/ASN1_OBJECT_new.html doc/html/man3/ASN1_STRING_TABLE_add.html doc/html/man3/ASN1_STRING_length.html doc/html/man3/ASN1_STRING_new.html doc/html/man3/ASN1_STRING_print_ex.html doc/html/man3/ASN1_TIME_set.html doc/html/man3/ASN1_TYPE_get.html doc/html/man3/ASN1_aux_cb.html doc/html/man3/ASN1_generate_nconf.html doc/html/man3/ASN1_item_d2i_bio.html doc/html/man3/ASN1_item_new.html doc/html/man3/ASN1_item_sign.html doc/html/man3/ASYNC_WAIT_CTX_new.html doc/html/man3/ASYNC_start_job.html doc/html/man3/BF_encrypt.html doc/html/man3/BIO_ADDR.html doc/html/man3/BIO_ADDRINFO.html doc/html/man3/BIO_connect.html doc/html/man3/BIO
[command output truncated]
1/openssl-rsautl.pod doc/man1/openssl-s_client.pod doc/man1/openssl-s_server.pod doc/man1/openssl-s_time.pod doc/man1/openssl-sess_id.pod doc/man1/openssl-smime.pod doc/man1/openssl-speed.pod doc/man1/openssl-spkac.pod doc/man1/openssl-srp.pod doc/man1/openssl-storeutl.pod doc/man1/openssl-ts.pod doc/man1/openssl-verify.pod doc/man1/openssl-version.pod doc/man1/openssl-x509.pod doc/man7/openssl_user_macros.pod engines/e_padlock-x86_64.s providers/common/der/der_digests_gen.c providers/common/der/der_dsa_gen.c providers/common/der/der_ec_gen.c providers/common/der/der_ecx_gen.c providers/common/der/der_rsa_gen.c providers/common/der/der_sm2_gen.c providers/common/der/der_wrap_gen.c providers/common/include/prov/der_digests.h providers/common/include/prov/der_dsa.h providers/common/include/prov/der_ec.h providers/common/include/prov/der_ecx.h providers/common/include/prov/der_rsa.h providers/common/include/prov/der_sm2.h providers/common/include/prov/der_wrap.h providers/legacy.ld test/buildtest_aes.c test/buildtest_async.c test/buildtest_blowfish.c test/buildtest_bn.c test/buildtest_buffer.c test/buildtest_camellia.c test/buildtest_cast.c test/buildtest_cmac.c test/buildtest_cmp_util.c test/buildtest_comp.c test/buildtest_conf_api.c test/buildtest_conftypes.c test/buildtest_core.c test/buildtest_core_dispatch.c test/buildtest_core_names.c test/buildtest_core_object.c test/buildtest_cryptoerr_legacy.c test/buildtest_decoder.c test/buildtest_des.c test/buildtest_dh.c test/buildtest_dsa.c test/buildtest_dtls1.c test/buildtest_e_os2.c test/buildtest_ebcdic.c test/buildtest_ec.c test/buildtest_ecdh.c test/buildtest_ecdsa.c test/buildtest_encoder.c test/buildtest_engine.c test/buildtest_evp.c test/buildtest_fips_names.c test/buildtest_hmac.c test/buildtest_http.c test/buildtest_idea.c test/buildtest_kdf.c test/buildtest_macros.c test/buildtest_md4.c test/buildtest_md5.c test/buildtest_mdc2.c test/buildtest_modes.c test/buildtest_obj_mac.c test/buildtest_objects.c test/buildtest_ossl_typ.c test/buildtest_param_build.c test/buildtest_params.c test/buildtest_pem.c test/buildtest_pem2.c test/buildtest_prov_ssl.c test/buildtest_provider.c test/buildtest_rand.c test/buildtest_rc2.c test/buildtest_rc4.c test/buildtest_ripemd.c test/buildtest_rsa.c test/buildtest_seed.c test/buildtest_self_test.c test/buildtest_sha.c test/buildtest_srtp.c test/buildtest_ssl2.c test/buildtest_sslerr_legacy.c test/buildtest_stack.c test/buildtest_store.c test/buildtest_symhacks.c test/buildtest_tls1.c test/buildtest_ts.c test/buildtest_txt_db.c test/buildtest_types.c test/buildtest_whrlpool.c test/p_minimal.ld test/p_test.ld tools/c_rehash util/shlib_wrap.sh util/wrap.pl
find . -name '*.d' \! -name '.*' \! -type d -exec rm -f {} \;
find . -name '*.o' \! -name '.*' \! -type d -exec rm -f {} \;
rm -f core
rm -f tags TAGS doc-nits md-nits
rm -f -r test/test-runs
rm -f providers/fips*.new
rm -f openssl.pc libcrypto.pc libssl.pc
find . -type l \! -name '.*' -exec rm -f {} \;
compile-bench> cd /home/peter/build-deps/openssl-3.0.15 && make -j$(nproc) /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1.h.in > include/openssl/asn1.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1t.h.in > include/openssl/asn1t.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/bio.h.in > include/openssl/bio.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cmp.h.in > include/openssl/cmp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cms.h.in > include/openssl/cms.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/conf.h.in > include/openssl/conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crmf.h.in > include/openssl/crmf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crypto.h.in > include/openssl/crypto.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ct.h.in > include/openssl/ct.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/err.h.in > include/openssl/err.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ess.h.in > include/openssl/ess.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/fipskey.h.in > include/openssl/fipskey.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/lhash.h.in > include/openssl/lhash.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ocsp.h.in > include/openssl/ocsp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslv.h.in > include/openssl/opensslv.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs12.h.in > include/openssl/pkcs12.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs7.h.in > include/openssl/pkcs7.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/safestack.h.in > include/openssl/safestack.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/srp.h.in > include/openssl/srp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ssl.h.in > include/openssl/ssl.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ui.h.in > include/openssl/ui.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509.h.in > include/openssl/x509.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509v3.h.in
[command output truncated]
s/lib/libapps-lib-app_x509.d.tmp -MT apps/lib/libapps-lib-app_x509.o -c -o apps/lib/libapps-lib-app_x509.o apps/lib/app_x509.c
aarch64-linux-gnu-gcc -I. -Iinclude -Iapps/include -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/home/peter/build-deps/openssl-arm64/ssl\"" -DENGINESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/engines-3\"" -DMODULESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -MMD -MF apps/lib/libapps-lib-apps.d.tmp -MT apps/lib/libapps-lib-apps.o -c -o apps/lib/libapps-lib-apps.o apps/lib/apps.c
aarch64-linux-gnu-gcc -I. -Iinclude -Iapps/include -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/home/peter/build-deps/openssl-arm64/ssl\"" -DENGINESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/engines-3\"" -DMODULESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -MMD -MF apps/lib/libapps-lib-apps_ui.d.tmp -MT apps/lib/libapps-lib-apps_ui.o -c -o apps/lib/libapps-lib-apps_ui.o apps/lib/apps_ui.c
aarch64-linux-gnu-gcc -I. -Iinclude -Iapps/include -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/home/peter/build-deps/openssl-arm64/ssl\"" -DENGINESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/engines-3\"" -DMODULESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -MMD -MF apps/lib/libapps-lib-columns.d.tmp -MT apps/lib/libapps-lib-columns.o -c -o apps/lib/libapps-lib-columns.o apps/lib/columns.c
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
make[1]: *** [Makefile:3573: apps/lib/libapps-lib-app_libctx.o] Error 1
make[1]: *** Waiting for unfinished jobs....
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
make[1]: *** [Makefile:3581: apps/lib/libapps-lib-app_params.o] Error 1
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
make[1]: *** [Makefile:3589: apps/lib/libapps-lib-app_provider.o] Error 1
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
make[1]: *** [Makefile:3597: apps/lib/libapps-lib-app_rand.o] Error 1
make[1]: *** [Makefile:3605: apps/lib/libapps-lib-app_x509.o] Error 1
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
make[1]: *** [Makefile:3613: apps/lib/libapps-lib-apps.o] Error 1
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
make[1]: *** [Makefile:3621: apps/lib/libapps-lib-apps_ui.o] Error 1
make[1]: *** [Makefile:3629: apps/lib/libapps-lib-columns.o] Error 1
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
make: *** [Makefile:2570: build_sw] Error 2
↓ 51 lines
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1.h.in > include/openssl/asn1.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1t.h.in > include/openssl/asn1t.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/bio.h.in > include/openssl/bio.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cmp.h.in > include/openssl/cmp.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cms.h.in > include/openssl/cms.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/conf.h.in > include/openssl/conf.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crmf.h.in > include/openssl/crmf.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crypto.h.in > include/openssl/crypto.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ct.h.in > include/openssl/ct.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/err.h.in > include/openssl/err.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ess.h.in > include/openssl/ess.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/fipskey.h.in > include/openssl/fipskey.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/lhash.h.in > include/openssl/lhash.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ocsp.h.in > include/openssl/ocsp.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslv.h.in > include/openssl/opensslv.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs12.h.in > include/openssl/pkcs12.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs7.h.in > include/openssl/pkcs7.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/safestack.h.in > include/openssl/safestack.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/srp.h.in > include/openssl/srp.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ssl.h.in > include/openssl/ssl.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ui.h.in > include/openssl/ui.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509.h.in > include/openssl/x509.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509v3.h.in [command output truncated] s/lib/libapps-lib-app_x509.d.tmp -MT apps/lib/libapps-lib-app_x509.o -c -o apps/lib/libapps-lib-app_x509.o apps/lib/app_x509.c aarch64-linux-gnu-gcc -I. -Iinclude -Iapps/include -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/home/peter/build-deps/openssl-arm64/ssl\"" -DENGINESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/engines-3\"" -DMODULESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -MMD -MF apps/lib/libapps-lib-apps.d.tmp -MT apps/lib/libapps-lib-apps.o -c -o apps/lib/libapps-lib-apps.o apps/lib/apps.c aarch64-linux-gnu-gcc -I. -Iinclude -Iapps/include -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/home/peter/build-deps/openssl-arm64/ssl\"" -DENGINESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/engines-3\"" -DMODULESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -MMD -MF apps/lib/libapps-lib-apps_ui.d.tmp -MT apps/lib/libapps-lib-apps_ui.o -c -o apps/lib/libapps-lib-apps_ui.o apps/lib/apps_ui.c aarch64-linux-gnu-gcc -I. -Iinclude -Iapps/include -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/home/peter/build-deps/openssl-arm64/ssl\"" -DENGINESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/engines-3\"" -DMODULESDIR="\"/home/peter/build-deps/openssl-arm64/lib64/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -MMD -MF apps/lib/libapps-lib-columns.d.tmp -MT apps/lib/libapps-lib-columns.o -c -o apps/lib/libapps-lib-columns.o apps/lib/columns.c aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:3573: apps/lib/libapps-lib-app_libctx.o] Error 1 make[1]: *** Waiting for unfinished jobs.... aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:3581: apps/lib/libapps-lib-app_params.o] Error 1 aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:3589: apps/lib/libapps-lib-app_provider.o] Error 1 aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:3597: apps/lib/libapps-lib-app_rand.o] Error 1 make[1]: *** [Makefile:3605: apps/lib/libapps-lib-app_x509.o] Error 1 aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:3613: apps/lib/libapps-lib-apps.o] Error 1 aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64' make[1]: *** [Makefile:3621: apps/lib/libapps-lib-apps_ui.o] Error 1 make[1]: *** [Makefile:3629: apps/lib/libapps-lib-columns.o] Error 1 make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' make: *** [Makefile:2570: build_sw] Error 2
Show reasoning
The issue is that OpenSSL is trying to use -m64 flag which is for x86_64, but we're building for aarch64. I need to configure OpenSSL properly for cross-compilation to arm64. Let me try a different approach with the correct configuration.
[empty output]
compile-bench> cd /home/peter/build-deps/openssl-3.0.15 && CROSS_COMPILE=aarch64-linux-gnu- ./Configure --prefix=/home/peter/build-deps/openssl-arm64 no-shared enable-tls1_3 --openssldir=/home/peter/build-deps/openssl-arm64/ssl linux-aarch64 Configuring OpenSSL version 3.0.15 for target linux-aarch64
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***
*** ***
**********************************************************************
↓ 23 lines
Configuring OpenSSL version 3.0.15 for target linux-aarch64 Using os-specific seed configuration Created configdata.pm Running configdata.pm Created Makefile.in Created Makefile Created include/openssl/configuration.h ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL.md file first) *** *** *** **********************************************************************
compile-bench> cd /home/peter/build-deps/openssl-3.0.15 && make -j$(nproc) /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1.h.in > include/openssl/asn1.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1t.h.in > include/openssl/asn1t.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/bio.h.in > include/openssl/bio.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cmp.h.in > include/openssl/cmp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cms.h.in > include/openssl/cms.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/conf.h.in > include/openssl/conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crmf.h.in > include/openssl/crmf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crypto.h.in > include/openssl/crypto.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ct.h.in > include/openssl/ct.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/err.h.in > include/openssl/err.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ess.h.in > include/openssl/ess.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/fipskey.h.in > include/openssl/fipskey.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/lhash.h.in > include/openssl/lhash.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ocsp.h.in > include/openssl/ocsp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslv.h.in > include/openssl/opensslv.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs12.h.in > include/openssl/pkcs12.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs7.h.in > include/openssl/pkcs7.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/safestack.h.in > include/openssl/safestack.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/srp.h.in > include/openssl/srp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ssl.h.in > include/openssl/ssl.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ui.h.in > include/openssl/ui.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509.h.in > include/openssl/x509.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509v3.h.in
[command output truncated]
key_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_dup_cert_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_dup_cert_test \
test/x509_dup_cert_test-bin-x509_dup_cert_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_internal_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 \
-o test/x509_internal_test \
test/x509_internal_test-bin-x509_internal_test.o \
test/libtestutil.a libcrypto.a -ldl -pthread
rm -f test/x509_time_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_time_test \
test/x509_time_test-bin-x509_time_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509aux
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509aux \
test/x509aux-bin-x509aux.o \
test/libtestutil.a -lcrypto -ldl -pthread
aarch64-linux-gnu-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -L. -Wl,-z,defs -Wl,-znodelete -shared -Wl,-Bsymbolic \
-o providers/legacy.so -Wl,--version-script=providers/legacy.ld \
providers/legacy-dso-legacyprov.o \
providers/liblegacy.a providers/libcommon.a -lcrypto -ldl -pthread
rm -f apps/openssl
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o apps/openssl \
apps/lib/openssl-bin-cmp_mock_srv.o \
apps/openssl-bin-asn1parse.o apps/openssl-bin-ca.o \
apps/openssl-bin-ciphers.o apps/openssl-bin-cmp.o \
apps/openssl-bin-cms.o apps/openssl-bin-crl.o \
apps/openssl-bin-crl2pkcs7.o apps/openssl-bin-dgst.o \
apps/openssl-bin-dhparam.o apps/openssl-bin-dsa.o \
apps/openssl-bin-dsaparam.o apps/openssl-bin-ec.o \
apps/openssl-bin-ecparam.o apps/openssl-bin-enc.o \
apps/openssl-bin-engine.o apps/openssl-bin-errstr.o \
apps/openssl-bin-fipsinstall.o apps/openssl-bin-gendsa.o \
apps/openssl-bin-genpkey.o apps/openssl-bin-genrsa.o \
apps/openssl-bin-info.o apps/openssl-bin-kdf.o \
apps/openssl-bin-list.o apps/openssl-bin-mac.o \
apps/openssl-bin-nseq.o apps/openssl-bin-ocsp.o \
apps/openssl-bin-openssl.o apps/openssl-bin-passwd.o \
apps/openssl-bin-pkcs12.o apps/openssl-bin-pkcs7.o \
apps/openssl-bin-pkcs8.o apps/openssl-bin-pkey.o \
apps/openssl-bin-pkeyparam.o apps/openssl-bin-pkeyutl.o \
apps/openssl-bin-prime.o apps/openssl-bin-progs.o \
apps/openssl-bin-rand.o apps/openssl-bin-rehash.o \
apps/openssl-bin-req.o apps/openssl-bin-rsa.o \
apps/openssl-bin-rsautl.o apps/openssl-bin-s_client.o \
apps/openssl-bin-s_server.o apps/openssl-bin-s_time.o \
apps/openssl-bin-sess_id.o apps/openssl-bin-smime.o \
apps/openssl-bin-speed.o apps/openssl-bin-spkac.o \
apps/openssl-bin-srp.o apps/openssl-bin-storeutl.o \
apps/openssl-bin-ts.o apps/openssl-bin-verify.o \
apps/openssl-bin-version.o apps/openssl-bin-x509.o \
apps/libapps.a -lssl -lcrypto -ldl -pthread
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
↓ 87 lines
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1.h.in > include/openssl/asn1.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1t.h.in > include/openssl/asn1t.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/bio.h.in > include/openssl/bio.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cmp.h.in > include/openssl/cmp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cms.h.in > include/openssl/cms.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/conf.h.in > include/openssl/conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crmf.h.in > include/openssl/crmf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crypto.h.in > include/openssl/crypto.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ct.h.in > include/openssl/ct.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/err.h.in > include/openssl/err.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ess.h.in > include/openssl/ess.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/fipskey.h.in > include/openssl/fipskey.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/lhash.h.in > include/openssl/lhash.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ocsp.h.in > include/openssl/ocsp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslv.h.in > include/openssl/opensslv.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs12.h.in > include/openssl/pkcs12.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs7.h.in > include/openssl/pkcs7.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/safestack.h.in > include/openssl/safestack.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/srp.h.in > include/openssl/srp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ssl.h.in > include/openssl/ssl.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ui.h.in > include/openssl/ui.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509.h.in > include/openssl/x509.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509v3.h.in
[command output truncated]
key_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_dup_cert_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_dup_cert_test \
test/x509_dup_cert_test-bin-x509_dup_cert_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_internal_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 \
-o test/x509_internal_test \
test/x509_internal_test-bin-x509_internal_test.o \
test/libtestutil.a libcrypto.a -ldl -pthread
rm -f test/x509_time_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_time_test \
test/x509_time_test-bin-x509_time_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509aux
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509aux \
test/x509aux-bin-x509aux.o \
test/libtestutil.a -lcrypto -ldl -pthread
aarch64-linux-gnu-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -L. -Wl,-z,defs -Wl,-znodelete -shared -Wl,-Bsymbolic \
-o providers/legacy.so -Wl,--version-script=providers/legacy.ld \
providers/legacy-dso-legacyprov.o \
providers/liblegacy.a providers/libcommon.a -lcrypto -ldl -pthread
rm -f apps/openssl
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o apps/openssl \
apps/lib/openssl-bin-cmp_mock_srv.o \
apps/openssl-bin-asn1parse.o apps/openssl-bin-ca.o \
apps/openssl-bin-ciphers.o apps/openssl-bin-cmp.o \
apps/openssl-bin-cms.o apps/openssl-bin-crl.o \
apps/openssl-bin-crl2pkcs7.o apps/openssl-bin-dgst.o \
apps/openssl-bin-dhparam.o apps/openssl-bin-dsa.o \
apps/openssl-bin-dsaparam.o apps/openssl-bin-ec.o \
apps/openssl-bin-ecparam.o apps/openssl-bin-enc.o \
apps/openssl-bin-engine.o apps/openssl-bin-errstr.o \
apps/openssl-bin-fipsinstall.o apps/openssl-bin-gendsa.o \
apps/openssl-bin-genpkey.o apps/openssl-bin-genrsa.o \
apps/openssl-bin-info.o apps/openssl-bin-kdf.o \
apps/openssl-bin-list.o apps/openssl-bin-mac.o \
apps/openssl-bin-nseq.o apps/openssl-bin-ocsp.o \
apps/openssl-bin-openssl.o apps/openssl-bin-passwd.o \
apps/openssl-bin-pkcs12.o apps/openssl-bin-pkcs7.o \
apps/openssl-bin-pkcs8.o apps/openssl-bin-pkey.o \
apps/openssl-bin-pkeyparam.o apps/openssl-bin-pkeyutl.o \
apps/openssl-bin-prime.o apps/openssl-bin-progs.o \
apps/openssl-bin-rand.o apps/openssl-bin-rehash.o \
apps/openssl-bin-req.o apps/openssl-bin-rsa.o \
apps/openssl-bin-rsautl.o apps/openssl-bin-s_client.o \
apps/openssl-bin-s_server.o apps/openssl-bin-s_time.o \
apps/openssl-bin-sess_id.o apps/openssl-bin-smime.o \
apps/openssl-bin-speed.o apps/openssl-bin-spkac.o \
apps/openssl-bin-srp.o apps/openssl-bin-storeutl.o \
apps/openssl-bin-ts.o apps/openssl-bin-verify.o \
apps/openssl-bin-version.o apps/openssl-bin-x509.o \
apps/libapps.a -lssl -lcrypto -ldl -pthread
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
compile-bench> cd /home/peter/build-deps/openssl-3.0.15 && make install_sw "make" depend && "make" _build_libs
make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
created directory `/home/peter/build-deps/openssl-arm64'
created directory `/home/peter/build-deps/openssl-arm64/lib'
*** Installing runtime libraries
*** Installing development files
created directory `/home/peter/build-deps/openssl-arm64/include'
created directory `/home/peter/build-deps/openssl-arm64/include/openssl'
install ./include/openssl/aes.h -> /home/peter/build-deps/openssl-arm64/include/openssl/aes.h
install ./include/openssl/asn1.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1.h
install ./include/openssl/asn1_mac.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1_mac.h
install ./include/openssl/asn1err.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1err.h
install ./include/openssl/asn1t.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1t.h
install ./include/openssl/async.h -> /home/peter/build-deps/openssl-arm64/include/openssl/async.h
install ./include/openssl/asyncerr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asyncerr.h
install ./include/openssl/bio.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bio.h
install ./include/openssl/bioerr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bioerr.h
install ./include/openssl/blowfish.h -> /home/peter/build-deps/openssl-arm64/include/openssl/blowfish.h
install ./include/openssl/bn.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bn.h
install ./include/openssl/bnerr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bnerr.h
install ./include/openssl/buffer.h -> /home/peter/build-deps/openssl-arm64/include/openssl/buffer.h
install ./include/openssl/buffererr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/buffererr.h
install ./include/openssl/camellia.h -> /home/peter/build-deps/openssl-arm64/include/openssl/camellia.h
install ./include/openssl/cast.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cast.h
install ./include/openssl/cmac.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmac.h
install ./include/openssl/cmp.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmp.h
install ./include/openssl/cmp_util.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmp_util.h
install ./include/openssl/cmperr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmperr.h
install ./include/openssl/cms.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cms.h
install ./include/openssl/cmserr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmserr.h
install ./include/openssl/comp.h -> /home/peter/build-deps/openssl-arm64/include/openssl/comp.h
install ./include/openssl/comperr.h -> /home/peter/build-deps/op
[command output truncated]
r/build-deps/openssl-arm64/include/openssl/trace.h
install ./include/openssl/ts.h -> /home/peter/build-deps/openssl-arm64/include/openssl/ts.h
install ./include/openssl/tserr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/tserr.h
install ./include/openssl/txt_db.h -> /home/peter/build-deps/openssl-arm64/include/openssl/txt_db.h
install ./include/openssl/types.h -> /home/peter/build-deps/openssl-arm64/include/openssl/types.h
install ./include/openssl/ui.h -> /home/peter/build-deps/openssl-arm64/include/openssl/ui.h
install ./include/openssl/uierr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/uierr.h
install ./include/openssl/whrlpool.h -> /home/peter/build-deps/openssl-arm64/include/openssl/whrlpool.h
install ./include/openssl/x509.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509.h
install ./include/openssl/x509_vfy.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509_vfy.h
install ./include/openssl/x509err.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509err.h
install ./include/openssl/x509v3.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509v3.h
install ./include/openssl/x509v3err.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509v3err.h
install libcrypto.a -> /home/peter/build-deps/openssl-arm64/lib/libcrypto.a
install libssl.a -> /home/peter/build-deps/openssl-arm64/lib/libssl.a
created directory `/home/peter/build-deps/openssl-arm64/lib/pkgconfig'
install libcrypto.pc -> /home/peter/build-deps/openssl-arm64/lib/pkgconfig/libcrypto.pc
install libssl.pc -> /home/peter/build-deps/openssl-arm64/lib/pkgconfig/libssl.pc
install openssl.pc -> /home/peter/build-deps/openssl-arm64/lib/pkgconfig/openssl.pc
"make" depend && "make" _build_modules
make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Nothing to be done for '_build_modules'.
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
created directory `/home/peter/build-deps/openssl-arm64/lib/engines-3'
*** Installing engines
created directory `/home/peter/build-deps/openssl-arm64/lib/ossl-modules'
*** Installing modules
install providers/legacy.so -> /home/peter/build-deps/openssl-arm64/lib/ossl-modules/legacy.so
"make" depend && "make" _build_programs
make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15'
make[1]: Nothing to be done for '_build_programs'.
make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15'
created directory `/home/peter/build-deps/openssl-arm64/bin'
*** Installing runtime programs
install apps/openssl -> /home/peter/build-deps/openssl-arm64/bin/openssl
install tools/c_rehash -> /home/peter/build-deps/openssl-arm64/bin/c_rehash
↓ 77 lines
"make" depend && "make" _build_libs make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' created directory `/home/peter/build-deps/openssl-arm64' created directory `/home/peter/build-deps/openssl-arm64/lib' *** Installing runtime libraries *** Installing development files created directory `/home/peter/build-deps/openssl-arm64/include' created directory `/home/peter/build-deps/openssl-arm64/include/openssl' install ./include/openssl/aes.h -> /home/peter/build-deps/openssl-arm64/include/openssl/aes.h install ./include/openssl/asn1.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1.h install ./include/openssl/asn1_mac.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1_mac.h install ./include/openssl/asn1err.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1err.h install ./include/openssl/asn1t.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asn1t.h install ./include/openssl/async.h -> /home/peter/build-deps/openssl-arm64/include/openssl/async.h install ./include/openssl/asyncerr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/asyncerr.h install ./include/openssl/bio.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bio.h install ./include/openssl/bioerr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bioerr.h install ./include/openssl/blowfish.h -> /home/peter/build-deps/openssl-arm64/include/openssl/blowfish.h install ./include/openssl/bn.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bn.h install ./include/openssl/bnerr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/bnerr.h install ./include/openssl/buffer.h -> /home/peter/build-deps/openssl-arm64/include/openssl/buffer.h install ./include/openssl/buffererr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/buffererr.h install ./include/openssl/camellia.h -> /home/peter/build-deps/openssl-arm64/include/openssl/camellia.h install ./include/openssl/cast.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cast.h install ./include/openssl/cmac.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmac.h install ./include/openssl/cmp.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmp.h install ./include/openssl/cmp_util.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmp_util.h install ./include/openssl/cmperr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmperr.h install ./include/openssl/cms.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cms.h install ./include/openssl/cmserr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/cmserr.h install ./include/openssl/comp.h -> /home/peter/build-deps/openssl-arm64/include/openssl/comp.h install ./include/openssl/comperr.h -> /home/peter/build-deps/op [command output truncated] r/build-deps/openssl-arm64/include/openssl/trace.h install ./include/openssl/ts.h -> /home/peter/build-deps/openssl-arm64/include/openssl/ts.h install ./include/openssl/tserr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/tserr.h install ./include/openssl/txt_db.h -> /home/peter/build-deps/openssl-arm64/include/openssl/txt_db.h install ./include/openssl/types.h -> /home/peter/build-deps/openssl-arm64/include/openssl/types.h install ./include/openssl/ui.h -> /home/peter/build-deps/openssl-arm64/include/openssl/ui.h install ./include/openssl/uierr.h -> /home/peter/build-deps/openssl-arm64/include/openssl/uierr.h install ./include/openssl/whrlpool.h -> /home/peter/build-deps/openssl-arm64/include/openssl/whrlpool.h install ./include/openssl/x509.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509.h install ./include/openssl/x509_vfy.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509_vfy.h install ./include/openssl/x509err.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509err.h install ./include/openssl/x509v3.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509v3.h install ./include/openssl/x509v3err.h -> /home/peter/build-deps/openssl-arm64/include/openssl/x509v3err.h install libcrypto.a -> /home/peter/build-deps/openssl-arm64/lib/libcrypto.a install libssl.a -> /home/peter/build-deps/openssl-arm64/lib/libssl.a created directory `/home/peter/build-deps/openssl-arm64/lib/pkgconfig' install libcrypto.pc -> /home/peter/build-deps/openssl-arm64/lib/pkgconfig/libcrypto.pc install libssl.pc -> /home/peter/build-deps/openssl-arm64/lib/pkgconfig/libssl.pc install openssl.pc -> /home/peter/build-deps/openssl-arm64/lib/pkgconfig/openssl.pc "make" depend && "make" _build_modules make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Nothing to be done for '_build_modules'. make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' created directory `/home/peter/build-deps/openssl-arm64/lib/engines-3' *** Installing engines created directory `/home/peter/build-deps/openssl-arm64/lib/ossl-modules' *** Installing modules install providers/legacy.so -> /home/peter/build-deps/openssl-arm64/lib/ossl-modules/legacy.so "make" depend && "make" _build_programs make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Entering directory '/home/peter/build-deps/openssl-3.0.15' make[1]: Nothing to be done for '_build_programs'. make[1]: Leaving directory '/home/peter/build-deps/openssl-3.0.15' created directory `/home/peter/build-deps/openssl-arm64/bin' *** Installing runtime programs install apps/openssl -> /home/peter/build-deps/openssl-arm64/bin/openssl install tools/c_rehash -> /home/peter/build-deps/openssl-arm64/bin/c_rehash
[empty output]
[empty output]
compile-bench> cd /home/peter/build-deps/zlib-1.3.1 && CC=aarch64-linux-gnu-gcc ./configure --prefix=/home/peter/build-deps/zlib-arm64 --static Building static library libz.a version 1.3.1 with aarch64-linux-gnu-gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
↓ 12 lines
Building static library libz.a version 1.3.1 with aarch64-linux-gnu-gcc. Checking for size_t... Yes. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for strerror... Yes. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes.
compile-bench> cd /home/peter/build-deps/zlib-1.3.1 && make -j$(nproc) aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
↓ 25 lines
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
compile-bench> cd /home/peter/build-deps/zlib-1.3.1 && make install rm -f /home/peter/build-deps/zlib-arm64/lib/libz.a
cp libz.a /home/peter/build-deps/zlib-arm64/lib
chmod 644 /home/peter/build-deps/zlib-arm64/lib/libz.a
rm -f /home/peter/build-deps/zlib-arm64/share/man/man3/zlib.3
cp zlib.3 /home/peter/build-deps/zlib-arm64/share/man/man3
chmod 644 /home/peter/build-deps/zlib-arm64/share/man/man3/zlib.3
rm -f /home/peter/build-deps/zlib-arm64/lib/pkgconfig/zlib.pc
cp zlib.pc /home/peter/build-deps/zlib-arm64/lib/pkgconfig
chmod 644 /home/peter/build-deps/zlib-arm64/lib/pkgconfig/zlib.pc
rm -f /home/peter/build-deps/zlib-arm64/include/zlib.h /home/peter/build-deps/zlib-arm64/include/zconf.h
cp zlib.h zconf.h /home/peter/build-deps/zlib-arm64/include
chmod 644 /home/peter/build-deps/zlib-arm64/include/zlib.h /home/peter/build-deps/zlib-arm64/include/zconf.h
↓ 13 lines
rm -f /home/peter/build-deps/zlib-arm64/lib/libz.a cp libz.a /home/peter/build-deps/zlib-arm64/lib chmod 644 /home/peter/build-deps/zlib-arm64/lib/libz.a rm -f /home/peter/build-deps/zlib-arm64/share/man/man3/zlib.3 cp zlib.3 /home/peter/build-deps/zlib-arm64/share/man/man3 chmod 644 /home/peter/build-deps/zlib-arm64/share/man/man3/zlib.3 rm -f /home/peter/build-deps/zlib-arm64/lib/pkgconfig/zlib.pc cp zlib.pc /home/peter/build-deps/zlib-arm64/lib/pkgconfig chmod 644 /home/peter/build-deps/zlib-arm64/lib/pkgconfig/zlib.pc rm -f /home/peter/build-deps/zlib-arm64/include/zlib.h /home/peter/build-deps/zlib-arm64/include/zconf.h cp zlib.h zconf.h /home/peter/build-deps/zlib-arm64/include chmod 644 /home/peter/build-deps/zlib-arm64/include/zlib.h /home/peter/build-deps/zlib-arm64/include/zconf.h
[empty output]
[empty output]
compile-bench> cd /home/peter/build-deps/brotli-1.1.0 && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_INSTALL_PREFIX=/home/peter/build-deps/brotli-arm64 -DBUILD_SHARED_LIBS=OFF .. -- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type is 'Release'
-- Performing Test BROTLI_EMSCRIPTEN
-- Performing Test BROTLI_EMSCRIPTEN - Failed
-- Compiler is not EMSCRIPTEN
-- Looking for log2
-- Looking for log2 - not found
-- Looking for log2
-- Looking for log2 - found
-- Detected aarch64-linux-gnu cross-compilation
CMake Warning at CMakeLists.txt:264 (message):
Test file tests/testdata/alice29.txt does not exist.
CMake Warning at CMakeLists.txt:264 (message):
Test file tests/testdata/asyoulik.txt does not exist.
CMake Warning at CMakeLists.txt:264 (message):
Test file tests/testdata/lcet10.txt does not exist.
CMake Warning at CMakeLists.txt:264 (message):
Test file tests/testdata/plrabn12.txt does not exist.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/peter/build-deps/brotli-1.1.0/build
↓ 35 lines
-- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build type is 'Release' -- Performing Test BROTLI_EMSCRIPTEN -- Performing Test BROTLI_EMSCRIPTEN - Failed -- Compiler is not EMSCRIPTEN -- Looking for log2 -- Looking for log2 - not found -- Looking for log2 -- Looking for log2 - found -- Detected aarch64-linux-gnu cross-compilation CMake Warning at CMakeLists.txt:264 (message): Test file tests/testdata/alice29.txt does not exist. CMake Warning at CMakeLists.txt:264 (message): Test file tests/testdata/asyoulik.txt does not exist. CMake Warning at CMakeLists.txt:264 (message): Test file tests/testdata/lcet10.txt does not exist. CMake Warning at CMakeLists.txt:264 (message): Test file tests/testdata/plrabn12.txt does not exist. -- Configuring done -- Generating done -- Build files have been written to: /home/peter/build-deps/brotli-1.1.0/build
compile-bench> cd /home/peter/build-deps/brotli-1.1.0/build && make -j$(nproc) [ 2%] Building C object CMakeFiles/brotlicommon.dir/c/common/constants.c.o
[ 5%] Building C object CMakeFiles/brotlicommon.dir/c/common/transform.c.o
[ 11%] Building C object CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o
[ 11%] Building C object CMakeFiles/brotlicommon.dir/c/common/context.c.o
[ 16%] Building C object CMakeFiles/brotlicommon.dir/c/common/platform.c.o
[ 16%] Building C object CMakeFiles/brotlicommon.dir/c/common/shared_dictionary.c.o
[ 19%] Linking C static library libbrotlicommon.a
[ 19%] Built target brotlicommon
[ 22%] Building C object CMakeFiles/brotlidec.dir/c/dec/bit_reader.c.o
[ 25%] Building C object CMakeFiles/brotlidec.dir/c/dec/decode.c.o
[ 30%] Building C object CMakeFiles/brotlidec.dir/c/dec/state.c.o
[ 30%] Building C object CMakeFiles/brotlidec.dir/c/dec/huffman.c.o
[ 33%] Building C object CMakeFiles/brotlienc.dir/c/enc/backward_references.c.o
[ 38%] Building C object CMakeFiles/brotlienc.dir/c/enc/block_splitter.c.o
[ 38%] Building C object CMakeFiles/brotlienc.dir/c/enc/backward_references_hq.c.o
[ 41%] Building C object CMakeFiles/brotlienc.dir/c/enc/bit_cost.c.o
[ 44%] Building C object CMakeFiles/brotlienc.dir/c/enc/brotli_bit_stream.c.o
[ 47%] Building C object CMakeFiles/brotlienc.dir/c/enc/cluster.c.o
[ 50%] Building C object CMakeFiles/brotlienc.dir/c/enc/command.c.o
[ 52%] Building C object CMakeFiles/brotlienc.dir/c/enc/compound_dictionary.c.o
[ 55%] Building C object CMakeFiles/brotlienc.dir/c/enc/compress_fragment.c.o
[ 58%] Building C object CMakeFiles/brotlienc.dir/c/enc/compress_fragment_two_pass.c.o
[ 61%] Building C object CMakeFiles/brotlienc.dir/c/enc/dictionary_hash.c.o
[ 63%] Building C object CMakeFiles/brotlienc.dir/c/enc/encode.c.o
[ 66%] Building C object CMakeFiles/brotlienc.dir/c/enc/encoder_dict.c.o
[ 69%] Building C object CMakeFiles/brotlienc.dir/c/enc/entropy_encode.c.o
[ 72%] Building C object CMakeFiles/brotlienc.dir/c/enc/fast_log.c.o
[ 75%] Building C object CMakeFiles/brotlienc.dir/c/enc/histogram.c.o
[ 77%] Building C object CMakeFiles/brotlienc.dir/c/enc/literal_cost.c.o
[ 80%] Building C object CMakeFiles/brotlienc.dir/c/enc/memory.c.o
[ 83%] Building C object CMakeFiles/brotlienc.dir/c/enc/metablock.c.o
[ 86%] Linking C static library libbrotlidec.a
[ 88%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_dict.c.o
[ 91%] Building C object CMakeFiles/brotlienc.dir/c/enc/utf8_util.c.o
[ 91%] Built target brotlidec
[ 94%] Linking C static library libbrotlienc.a
[ 94%] Built target brotlienc
[ 97%] Building C object CMakeFiles/brotli.dir/c/tools/brotli.c.o
[100%] Linking C executable brotli
[100%] Built target brotli
↓ 41 lines
[ 2%] Building C object CMakeFiles/brotlicommon.dir/c/common/constants.c.o [ 5%] Building C object CMakeFiles/brotlicommon.dir/c/common/transform.c.o [ 11%] Building C object CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o [ 11%] Building C object CMakeFiles/brotlicommon.dir/c/common/context.c.o [ 16%] Building C object CMakeFiles/brotlicommon.dir/c/common/platform.c.o [ 16%] Building C object CMakeFiles/brotlicommon.dir/c/common/shared_dictionary.c.o [ 19%] Linking C static library libbrotlicommon.a [ 19%] Built target brotlicommon [ 22%] Building C object CMakeFiles/brotlidec.dir/c/dec/bit_reader.c.o [ 25%] Building C object CMakeFiles/brotlidec.dir/c/dec/decode.c.o [ 30%] Building C object CMakeFiles/brotlidec.dir/c/dec/state.c.o [ 30%] Building C object CMakeFiles/brotlidec.dir/c/dec/huffman.c.o [ 33%] Building C object CMakeFiles/brotlienc.dir/c/enc/backward_references.c.o [ 38%] Building C object CMakeFiles/brotlienc.dir/c/enc/block_splitter.c.o [ 38%] Building C object CMakeFiles/brotlienc.dir/c/enc/backward_references_hq.c.o [ 41%] Building C object CMakeFiles/brotlienc.dir/c/enc/bit_cost.c.o [ 44%] Building C object CMakeFiles/brotlienc.dir/c/enc/brotli_bit_stream.c.o [ 47%] Building C object CMakeFiles/brotlienc.dir/c/enc/cluster.c.o [ 50%] Building C object CMakeFiles/brotlienc.dir/c/enc/command.c.o [ 52%] Building C object CMakeFiles/brotlienc.dir/c/enc/compound_dictionary.c.o [ 55%] Building C object CMakeFiles/brotlienc.dir/c/enc/compress_fragment.c.o [ 58%] Building C object CMakeFiles/brotlienc.dir/c/enc/compress_fragment_two_pass.c.o [ 61%] Building C object CMakeFiles/brotlienc.dir/c/enc/dictionary_hash.c.o [ 63%] Building C object CMakeFiles/brotlienc.dir/c/enc/encode.c.o [ 66%] Building C object CMakeFiles/brotlienc.dir/c/enc/encoder_dict.c.o [ 69%] Building C object CMakeFiles/brotlienc.dir/c/enc/entropy_encode.c.o [ 72%] Building C object CMakeFiles/brotlienc.dir/c/enc/fast_log.c.o [ 75%] Building C object CMakeFiles/brotlienc.dir/c/enc/histogram.c.o [ 77%] Building C object CMakeFiles/brotlienc.dir/c/enc/literal_cost.c.o [ 80%] Building C object CMakeFiles/brotlienc.dir/c/enc/memory.c.o [ 83%] Building C object CMakeFiles/brotlienc.dir/c/enc/metablock.c.o [ 86%] Linking C static library libbrotlidec.a [ 88%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_dict.c.o [ 91%] Building C object CMakeFiles/brotlienc.dir/c/enc/utf8_util.c.o [ 91%] Built target brotlidec [ 94%] Linking C static library libbrotlienc.a [ 94%] Built target brotlienc [ 97%] Building C object CMakeFiles/brotli.dir/c/tools/brotli.c.o [100%] Linking C executable brotli [100%] Built target brotli
compile-bench> cd /home/peter/build-deps/brotli-1.1.0/build && make install Consolidate compiler generated dependencies of target brotlicommon
[ 19%] Built target brotlicommon
Consolidate compiler generated dependencies of target brotlidec
[ 33%] Built target brotlidec
Consolidate compiler generated dependencies of target brotlienc
[ 94%] Built target brotlienc
Consolidate compiler generated dependencies of target brotli
[100%] Built target brotli
Install the project...
-- Install configuration: "Release"
-- Installing: /home/peter/build-deps/brotli-arm64/bin/brotli
-- Installing: /home/peter/build-deps/brotli-arm64/lib/libbrotlienc.a
-- Installing: /home/peter/build-deps/brotli-arm64/lib/libbrotlidec.a
-- Installing: /home/peter/build-deps/brotli-arm64/lib/libbrotlicommon.a
-- Installing: /home/peter/build-deps/brotli-arm64/include/brotli
-- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/types.h
-- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/shared_dictionary.h
-- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/decode.h
-- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/port.h
-- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/encode.h
-- Installing: /home/peter/build-deps/brotli-arm64/lib/pkgconfig/libbrotlicommon.pc
-- Installing: /home/peter/build-deps/brotli-arm64/lib/pkgconfig/libbrotlidec.pc
-- Installing: /home/peter/build-deps/brotli-arm64/lib/pkgconfig/libbrotlienc.pc
↓ 24 lines
Consolidate compiler generated dependencies of target brotlicommon [ 19%] Built target brotlicommon Consolidate compiler generated dependencies of target brotlidec [ 33%] Built target brotlidec Consolidate compiler generated dependencies of target brotlienc [ 94%] Built target brotlienc Consolidate compiler generated dependencies of target brotli [100%] Built target brotli Install the project... -- Install configuration: "Release" -- Installing: /home/peter/build-deps/brotli-arm64/bin/brotli -- Installing: /home/peter/build-deps/brotli-arm64/lib/libbrotlienc.a -- Installing: /home/peter/build-deps/brotli-arm64/lib/libbrotlidec.a -- Installing: /home/peter/build-deps/brotli-arm64/lib/libbrotlicommon.a -- Installing: /home/peter/build-deps/brotli-arm64/include/brotli -- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/types.h -- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/shared_dictionary.h -- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/decode.h -- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/port.h -- Installing: /home/peter/build-deps/brotli-arm64/include/brotli/encode.h -- Installing: /home/peter/build-deps/brotli-arm64/lib/pkgconfig/libbrotlicommon.pc -- Installing: /home/peter/build-deps/brotli-arm64/lib/pkgconfig/libbrotlidec.pc -- Installing: /home/peter/build-deps/brotli-arm64/lib/pkgconfig/libbrotlienc.pc
[empty output]
[empty output]
mkdir: cannot create directory 'build': File exists
compile-bench> cd /home/peter/build-deps/zstd-1.5.6/build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_INSTALL_PREFIX=/home/peter/build-deps/zstd-arm64 -DZSTD_BUILD_STATIC=ON -DZSTD_BUILD_SHARED=OFF .. CMake Error: The source directory "/home/peter/build-deps/zstd-1.5.6" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
↓ 3 lines
CMake Error: The source directory "/home/peter/build-deps/zstd-1.5.6" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.
[empty output]
compile-bench> cd /home/peter/build-deps && ls -la zstd-1.5.6 total 220
drwxr-xr-x 12 peter peter 4096 Mar 21 2024 .
drwxr-xr-x 9 peter peter 4096 Sep 16 22:10 ..
-rw-r--r-- 1 peter peter 407 Mar 21 2024 .buckconfig
-rw-r--r-- 1 peter peter 41 Mar 21 2024 .buckversion
drwxr-xr-x 3 peter peter 4096 Mar 21 2024 .circleci
-rw-r--r-- 1 peter peter 248 Mar 21 2024 .cirrus.yml
-rw-r--r-- 1 peter peter 348 Mar 21 2024 .gitattributes
drwxr-xr-x 4 peter peter 4096 Mar 21 2024 .github
-rw-r--r-- 1 peter peter 566 Mar 21 2024 .gitignore
-rw-r--r-- 1 peter peter 49545 Mar 21 2024 CHANGELOG
-rw-r--r-- 1 peter peter 244 Mar 21 2024 CODE_OF_CONDUCT.md
-rw-r--r-- 1 peter peter 30784 Mar 21 2024 CONTRIBUTING.md
-rw-r--r-- 1 peter peter 18091 Mar 21 2024 COPYING
-rw-r--r-- 1 peter peter 1549 Mar 21 2024 LICENSE
-rw-r--r-- 1 peter peter 16085 Mar 21 2024 Makefile
-rw-r--r-- 1 peter peter 1264 Mar 21 2024 Package.swift
-rw-r--r-- 1 peter peter 11103 Mar 21 2024 README.md
-rw-r--r-- 1 peter peter 952 Mar 21 2024 SECURITY.md
-rw-r--r-- 1 peter peter 1824 Mar 21 2024 TESTING.md
drwxr-xr-x 8 peter peter 4096 Mar 21 2024 build
drwxr-xr-x 17 peter peter 4096 Mar 21 2024 contrib
drwxr-xr-x 4 peter peter 4096 Mar 21 2024 doc
drwxr-xr-x 2 peter peter 4096 Mar 21 2024 examples
drwxr-xr-x 9 peter peter 4096 Mar 21 2024 lib
drwxr-xr-x 3 peter peter 4096 Mar 21 2024 programs
drwxr-xr-x 11 peter peter 4096 Mar 21 2024 tests
drwxr-xr-x 3 peter peter 4096 Mar 21 2024 zlibWrapper
↓ 29 lines
total 220 drwxr-xr-x 12 peter peter 4096 Mar 21 2024 . drwxr-xr-x 9 peter peter 4096 Sep 16 22:10 .. -rw-r--r-- 1 peter peter 407 Mar 21 2024 .buckconfig -rw-r--r-- 1 peter peter 41 Mar 21 2024 .buckversion drwxr-xr-x 3 peter peter 4096 Mar 21 2024 .circleci -rw-r--r-- 1 peter peter 248 Mar 21 2024 .cirrus.yml -rw-r--r-- 1 peter peter 348 Mar 21 2024 .gitattributes drwxr-xr-x 4 peter peter 4096 Mar 21 2024 .github -rw-r--r-- 1 peter peter 566 Mar 21 2024 .gitignore -rw-r--r-- 1 peter peter 49545 Mar 21 2024 CHANGELOG -rw-r--r-- 1 peter peter 244 Mar 21 2024 CODE_OF_CONDUCT.md -rw-r--r-- 1 peter peter 30784 Mar 21 2024 CONTRIBUTING.md -rw-r--r-- 1 peter peter 18091 Mar 21 2024 COPYING -rw-r--r-- 1 peter peter 1549 Mar 21 2024 LICENSE -rw-r--r-- 1 peter peter 16085 Mar 21 2024 Makefile -rw-r--r-- 1 peter peter 1264 Mar 21 2024 Package.swift -rw-r--r-- 1 peter peter 11103 Mar 21 2024 README.md -rw-r--r-- 1 peter peter 952 Mar 21 2024 SECURITY.md -rw-r--r-- 1 peter peter 1824 Mar 21 2024 TESTING.md drwxr-xr-x 8 peter peter 4096 Mar 21 2024 build drwxr-xr-x 17 peter peter 4096 Mar 21 2024 contrib drwxr-xr-x 4 peter peter 4096 Mar 21 2024 doc drwxr-xr-x 2 peter peter 4096 Mar 21 2024 examples drwxr-xr-x 9 peter peter 4096 Mar 21 2024 lib drwxr-xr-x 3 peter peter 4096 Mar 21 2024 programs drwxr-xr-x 11 peter peter 4096 Mar 21 2024 tests drwxr-xr-x 3 peter peter 4096 Mar 21 2024 zlibWrapper
compile-bench> cd /home/peter/build-deps/zstd-1.5.6 && ls -la build/cmake total 48
drwxr-xr-x 7 peter peter 4096 Mar 21 2024 .
drwxr-xr-x 8 peter peter 4096 Mar 21 2024 ..
-rw-r--r-- 1 peter peter 137 Mar 21 2024 .gitignore
-rw-r--r-- 1 peter peter 8027 Mar 21 2024 CMakeLists.txt
drwxr-xr-x 2 peter peter 4096 Mar 21 2024 CMakeModules
-rw-r--r-- 1 peter peter 2975 Mar 21 2024 README.md
drwxr-xr-x 4 peter peter 4096 Mar 21 2024 contrib
drwxr-xr-x 2 peter peter 4096 Mar 21 2024 lib
drwxr-xr-x 2 peter peter 4096 Mar 21 2024 programs
drwxr-xr-x 2 peter peter 4096 Mar 21 2024 tests
-rw-r--r-- 1 peter peter 220 Mar 21 2024 zstdConfig.cmake.in
↓ 13 lines
total 48 drwxr-xr-x 7 peter peter 4096 Mar 21 2024 . drwxr-xr-x 8 peter peter 4096 Mar 21 2024 .. -rw-r--r-- 1 peter peter 137 Mar 21 2024 .gitignore -rw-r--r-- 1 peter peter 8027 Mar 21 2024 CMakeLists.txt drwxr-xr-x 2 peter peter 4096 Mar 21 2024 CMakeModules -rw-r--r-- 1 peter peter 2975 Mar 21 2024 README.md drwxr-xr-x 4 peter peter 4096 Mar 21 2024 contrib drwxr-xr-x 2 peter peter 4096 Mar 21 2024 lib drwxr-xr-x 2 peter peter 4096 Mar 21 2024 programs drwxr-xr-x 2 peter peter 4096 Mar 21 2024 tests -rw-r--r-- 1 peter peter 220 Mar 21 2024 zstdConfig.cmake.in
compile-bench> cd /home/peter/build-deps/zstd-1.5.6/build/cmake && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_INSTALL_PREFIX=/home/peter/build-deps/zstd-arm64 -DZSTD_BUILD_STATIC=ON -DZSTD_BUILD_SHARED=OFF .. -- The C compiler identification is GNU 11.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/aarch64-linux-gnu-gcc
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ZSTD VERSION: 1.5.6
-- Performing Test C_FLAG_WALL
-- Performing Test C_FLAG_WALL - Success
-- Performing Test CXX_FLAG_WALL
-- Performing Test CXX_FLAG_WALL - Success
-- Performing Test C_FLAG_WEXTRA
-- Performing Test C_FLAG_WEXTRA - Success
-- Performing Test CXX_FLAG_WEXTRA
-- Performing Test CXX_FLAG_WEXTRA - Success
-- Performing Test C_FLAG_WUNDEF
-- Performing Test C_FLAG_WUNDEF - Success
-- Performing Test CXX_FLAG_WUNDEF
-- Performing Test CXX_FLAG_WUNDEF - Success
-- Performing Test C_FLAG_WSHADOW
-- Performing Test C_FLAG_WSHADOW - Success
-- Performing Test CXX_FLAG_WSHADOW
-- Performing Test CXX_FLAG_WSHADOW - Success
-- Performing Test C_FLAG_WCAST_ALIGN
-- Performing Test C_FLAG_WCAST_ALIGN - Success
-- Performing Test CXX_FLAG_WCAST_ALIGN
-- Performing Test CXX_FLAG_WCAST_ALIGN - Success
-- Performing Test C_FLAG_WCAST_QUAL
-- Performing Test C_FLAG_WCAST_QUAL - Success
-- Performing Test CXX_FLAG_WCAST_QUAL
-- Performing Test CXX_FLAG_WCAST_QUAL - Success
-- Performing Test C_FLAG_WSTRICT_PROTOTYPES
-- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success
-- Performing Test LD_FLAG_Z_NOEXECSTACK
-- Performing Test LD_FLAG_Z_NOEXECSTACK - Success
-- Performing Test C_FLAG_QUNUSED_ARGUMENTS
-- Performing Test C_FLAG_QUNUSED_ARGUMENTS - Failed
-- Performing Test CXX_FLAG_QUNUSED_ARGUMENTS
-- Performing Test CXX_FLAG_QUNUSED_ARGUMENTS - Failed
-- Performing Test C_FLAG_WA_NOEXECSTACK
-- Performing Test C_FLAG_WA_NOEXECSTACK - Success
-- Performing Test CXX_FLAG_WA_NOEXECSTACK
-- Performing Test CXX_FLAG_WA_NOEXECSTACK - Success
-- CMAKE_INSTALL_PREFIX: /home/peter/build-deps/zstd-arm64
-- CMAKE_INSTALL_LIBDIR: lib
-- ZSTD_LEGACY_SUPPORT defined!
-- ZSTD_MULTITHREAD_SUPPORT is enabled
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/peter/build-deps/zstd-1.5.6/build/cmake/build
↓ 64 lines
-- The C compiler identification is GNU 11.4.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/aarch64-linux-gnu-gcc -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- ZSTD VERSION: 1.5.6 -- Performing Test C_FLAG_WALL -- Performing Test C_FLAG_WALL - Success -- Performing Test CXX_FLAG_WALL -- Performing Test CXX_FLAG_WALL - Success -- Performing Test C_FLAG_WEXTRA -- Performing Test C_FLAG_WEXTRA - Success -- Performing Test CXX_FLAG_WEXTRA -- Performing Test CXX_FLAG_WEXTRA - Success -- Performing Test C_FLAG_WUNDEF -- Performing Test C_FLAG_WUNDEF - Success -- Performing Test CXX_FLAG_WUNDEF -- Performing Test CXX_FLAG_WUNDEF - Success -- Performing Test C_FLAG_WSHADOW -- Performing Test C_FLAG_WSHADOW - Success -- Performing Test CXX_FLAG_WSHADOW -- Performing Test CXX_FLAG_WSHADOW - Success -- Performing Test C_FLAG_WCAST_ALIGN -- Performing Test C_FLAG_WCAST_ALIGN - Success -- Performing Test CXX_FLAG_WCAST_ALIGN -- Performing Test CXX_FLAG_WCAST_ALIGN - Success -- Performing Test C_FLAG_WCAST_QUAL -- Performing Test C_FLAG_WCAST_QUAL - Success -- Performing Test CXX_FLAG_WCAST_QUAL -- Performing Test CXX_FLAG_WCAST_QUAL - Success -- Performing Test C_FLAG_WSTRICT_PROTOTYPES -- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success -- Performing Test LD_FLAG_Z_NOEXECSTACK -- Performing Test LD_FLAG_Z_NOEXECSTACK - Success -- Performing Test C_FLAG_QUNUSED_ARGUMENTS -- Performing Test C_FLAG_QUNUSED_ARGUMENTS - Failed -- Performing Test CXX_FLAG_QUNUSED_ARGUMENTS -- Performing Test CXX_FLAG_QUNUSED_ARGUMENTS - Failed -- Performing Test C_FLAG_WA_NOEXECSTACK -- Performing Test C_FLAG_WA_NOEXECSTACK - Success -- Performing Test CXX_FLAG_WA_NOEXECSTACK -- Performing Test CXX_FLAG_WA_NOEXECSTACK - Success -- CMAKE_INSTALL_PREFIX: /home/peter/build-deps/zstd-arm64 -- CMAKE_INSTALL_LIBDIR: lib -- ZSTD_LEGACY_SUPPORT defined! -- ZSTD_MULTITHREAD_SUPPORT is enabled -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/peter/build-deps/zstd-1.5.6/build/cmake/build
compile-bench> cd /home/peter/build-deps/zstd-1.5.6/build/cmake/build && make -j$(nproc) [ 1%] Copying manpage zstd.1
[ 4%] Copying manpage zstdgrep.1
[ 4%] Copying manpage zstdless.1
[ 6%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/debug.c.o
[ 7%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/entropy_common.c.o
[ 9%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/fse_decompress.c.o
[ 11%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/error_private.c.o
[ 12%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/pool.c.o
[ 12%] Built target zstdgrep.1
[ 12%] Built target zstd.1
[ 12%] Built target zstdless.1
[ 14%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/threading.c.o
[ 15%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/xxhash.c.o
[ 17%] Creating zstdcat.1 symlink
[ 19%] Creating unzstd.1 symlink
[ 19%] Built target zstdcat.1
[ 19%] Built target unzstd.1
[ 20%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/zstd_common.c.o
[ 22%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/fse_compress.c.o
[ 23%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/hist.c.o
[ 25%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/huf_compress.c.o
[ 26%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress.c.o
[ 28%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress_literals.c.o
[ 30%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress_sequences.c.o
[ 31%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress_superblock.c.o
[ 33%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_double_fast.c.o
[ 34%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_fast.c.o
[ 36%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_lazy.c.o
[ 38%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_ldm.c.o
[ 39%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_opt.c.o
[ 41%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstdmt_compress.c.o
[ 42%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/decompress/huf_
[command output truncated]
1.5.6/lib/legacy/zstd_v01.c:1489:23: note: '*(unsigned int *)((char *)&litbp + offsetof(blockProperties_t, blockType))' was declared here
1489 | blockProperties_t litbp;
| ^~~~~
/home/peter/build-deps/zstd-1.5.6/lib/legacy/zstd_v01.c: In function 'ZSTDv01_decompressDCtx':
/home/peter/build-deps/zstd-1.5.6/lib/legacy/zstd_v01.c:1936:9: warning: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' may be used uninitialized in this function [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
1936 | switch(blockProperties.blockType)
| ^~~~~~
[ 65%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/legacy/zstd_v07.c.o
[ 66%] Linking C static library libzstd.a
[ 66%] Built target libzstd_static
[ 68%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/benchfn.c.o
[ 69%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/benchzstd.c.o
[ 74%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/dibio.c.o
[ 74%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/util.c.o
[ 74%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/datagen.c.o
[ 77%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/timefn.c.o
[ 77%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/zstdcli.c.o
[ 79%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio.c.o
[ 80%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio_asyncio.c.o
[ 82%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/lorem.c.o
[ 84%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio.c.o
[ 85%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio_asyncio.c.o
[ 87%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/timefn.c.o
[ 88%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/util.c.o
[ 90%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/zstdcli.c.o
[ 92%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/zstdcli_trace.c.o
[ 93%] Linking C executable zstd-frugal
[ 93%] Built target zstd-frugal
[ 95%] Linking C executable zstd
[ 95%] Built target zstd
[ 96%] Creating zstdcat symlink
[ 98%] Creating unzstd symlink
[100%] Creating zstdmt symlink
[100%] Built target zstdcat
[100%] Built target zstdmt
[100%] Built target unzstd
↓ 70 lines
[ 1%] Copying manpage zstd.1
[ 4%] Copying manpage zstdgrep.1
[ 4%] Copying manpage zstdless.1
[ 6%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/debug.c.o
[ 7%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/entropy_common.c.o
[ 9%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/fse_decompress.c.o
[ 11%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/error_private.c.o
[ 12%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/pool.c.o
[ 12%] Built target zstdgrep.1
[ 12%] Built target zstd.1
[ 12%] Built target zstdless.1
[ 14%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/threading.c.o
[ 15%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/xxhash.c.o
[ 17%] Creating zstdcat.1 symlink
[ 19%] Creating unzstd.1 symlink
[ 19%] Built target zstdcat.1
[ 19%] Built target unzstd.1
[ 20%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/common/zstd_common.c.o
[ 22%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/fse_compress.c.o
[ 23%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/hist.c.o
[ 25%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/huf_compress.c.o
[ 26%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress.c.o
[ 28%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress_literals.c.o
[ 30%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress_sequences.c.o
[ 31%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_compress_superblock.c.o
[ 33%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_double_fast.c.o
[ 34%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_fast.c.o
[ 36%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_lazy.c.o
[ 38%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_ldm.c.o
[ 39%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstd_opt.c.o
[ 41%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/compress/zstdmt_compress.c.o
[ 42%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/decompress/huf_
[command output truncated]
1.5.6/lib/legacy/zstd_v01.c:1489:23: note: '*(unsigned int *)((char *)&litbp + offsetof(blockProperties_t, blockType))' was declared here
1489 | blockProperties_t litbp;
| ^~~~~
/home/peter/build-deps/zstd-1.5.6/lib/legacy/zstd_v01.c: In function 'ZSTDv01_decompressDCtx':
/home/peter/build-deps/zstd-1.5.6/lib/legacy/zstd_v01.c:1936:9: warning: '*(unsigned int *)((char *)&blockProperties + offsetof(blockProperties_t, blockType))' may be used uninitialized in this function [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
1936 | switch(blockProperties.blockType)
| ^~~~~~
[ 65%] Building C object lib/CMakeFiles/libzstd_static.dir/home/peter/build-deps/zstd-1.5.6/lib/legacy/zstd_v07.c.o
[ 66%] Linking C static library libzstd.a
[ 66%] Built target libzstd_static
[ 68%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/benchfn.c.o
[ 69%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/benchzstd.c.o
[ 74%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/dibio.c.o
[ 74%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/util.c.o
[ 74%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/datagen.c.o
[ 77%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/timefn.c.o
[ 77%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/zstdcli.c.o
[ 79%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio.c.o
[ 80%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio_asyncio.c.o
[ 82%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/lorem.c.o
[ 84%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio.c.o
[ 85%] Building C object programs/CMakeFiles/zstd-frugal.dir/home/peter/build-deps/zstd-1.5.6/programs/fileio_asyncio.c.o
[ 87%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/timefn.c.o
[ 88%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/util.c.o
[ 90%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/zstdcli.c.o
[ 92%] Building C object programs/CMakeFiles/zstd.dir/home/peter/build-deps/zstd-1.5.6/programs/zstdcli_trace.c.o
[ 93%] Linking C executable zstd-frugal
[ 93%] Built target zstd-frugal
[ 95%] Linking C executable zstd
[ 95%] Built target zstd
[ 96%] Creating zstdcat symlink
[ 98%] Creating unzstd symlink
[100%] Creating zstdmt symlink
[100%] Built target zstdcat
[100%] Built target zstdmt
[100%] Built target unzstd
compile-bench> cd /home/peter/build-deps/zstd-1.5.6/build/cmake/build && make install Consolidate compiler generated dependencies of target libzstd_static
[ 58%] Built target libzstd_static
Consolidate compiler generated dependencies of target zstd
[ 77%] Built target zstd
[ 79%] Creating zstdcat symlink
[ 79%] Built target zstdcat
[ 80%] Creating unzstd symlink
[ 80%] Built target unzstd
[ 82%] Copying manpage zstd.1
[ 82%] Built target zstd.1
[ 84%] Copying manpage zstdgrep.1
[ 84%] Built target zstdgrep.1
[ 85%] Copying manpage zstdless.1
[ 85%] Built target zstdless.1
[ 87%] Creating zstdcat.1 symlink
[ 87%] Built target zstdcat.1
[ 88%] Creating unzstd.1 symlink
[ 88%] Built target unzstd.1
Consolidate compiler generated dependencies of target zstd-frugal
[ 98%] Built target zstd-frugal
[100%] Creating zstdmt symlink
[100%] Built target zstdmt
Install the project...
-- Install configuration: "Release"
-- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdTargets.cmake
-- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdTargets-release.cmake
-- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdConfig.cmake
-- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdConfigVersion.cmake
-- Installing: /home/peter/build-deps/zstd-arm64/lib/pkgconfig/libzstd.pc
-- Installing: /home/peter/build-deps/zstd-arm64/include/zdict.h
-- Installing: /home/peter/build-deps/zstd-arm64/include/zstd.h
-- Installing: /home/peter/build-deps/zstd-arm64/include/zstd_errors.h
-- Installing: /home/peter/build-deps/zstd-arm64/lib/libzstd.a
-- Installing: /home/peter/build-deps/zstd-arm64/bin/zstd
-- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdcat
-- Installing: /home/peter/build-deps/zstd-arm64/bin/unzstd
-- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdgrep
-- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdless
-- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstd.1
-- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstdcat.1
-- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/unzstd.1
-- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstdgrep.1
-- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstdless.1
-- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdmt
↓ 45 lines
Consolidate compiler generated dependencies of target libzstd_static [ 58%] Built target libzstd_static Consolidate compiler generated dependencies of target zstd [ 77%] Built target zstd [ 79%] Creating zstdcat symlink [ 79%] Built target zstdcat [ 80%] Creating unzstd symlink [ 80%] Built target unzstd [ 82%] Copying manpage zstd.1 [ 82%] Built target zstd.1 [ 84%] Copying manpage zstdgrep.1 [ 84%] Built target zstdgrep.1 [ 85%] Copying manpage zstdless.1 [ 85%] Built target zstdless.1 [ 87%] Creating zstdcat.1 symlink [ 87%] Built target zstdcat.1 [ 88%] Creating unzstd.1 symlink [ 88%] Built target unzstd.1 Consolidate compiler generated dependencies of target zstd-frugal [ 98%] Built target zstd-frugal [100%] Creating zstdmt symlink [100%] Built target zstdmt Install the project... -- Install configuration: "Release" -- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdTargets.cmake -- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdTargets-release.cmake -- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdConfig.cmake -- Installing: /home/peter/build-deps/zstd-arm64/lib/cmake/zstd/zstdConfigVersion.cmake -- Installing: /home/peter/build-deps/zstd-arm64/lib/pkgconfig/libzstd.pc -- Installing: /home/peter/build-deps/zstd-arm64/include/zdict.h -- Installing: /home/peter/build-deps/zstd-arm64/include/zstd.h -- Installing: /home/peter/build-deps/zstd-arm64/include/zstd_errors.h -- Installing: /home/peter/build-deps/zstd-arm64/lib/libzstd.a -- Installing: /home/peter/build-deps/zstd-arm64/bin/zstd -- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdcat -- Installing: /home/peter/build-deps/zstd-arm64/bin/unzstd -- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdgrep -- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdless -- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstd.1 -- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstdcat.1 -- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/unzstd.1 -- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstdgrep.1 -- Installing: /home/peter/build-deps/zstd-arm64/share/man/man1/zstdless.1 -- Installing: /home/peter/build-deps/zstd-arm64/bin/zstdmt
compile-bench> cd /home/peter/curl-8.16.0 && CC=aarch64-linux-gnu-gcc PKG_CONFIG_PATH="/home/peter/build-deps/openssl-arm64/lib/pkgconfig:/home/peter/build-deps/zlib-arm64/lib/pkgconfig:/home/peter/build-deps/brotli-arm64/lib/pkgconfig:/home/peter/build-deps/zstd-arm64/lib/pkgconfig" LDFLAGS="-L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -static" CPPFLAGS="-I/home/peter/build-deps/openssl-arm64/include -I/home/peter/build-deps/zlib-arm64/include -I/home/peter/build-deps/brotli-arm64/include -I/home/peter/build-deps/zstd-arm64/include" ./configure --host=aarch64-linux-gnu --prefix=/home/peter/result --enable-static --disable-shared --enable-ssl --with-ssl=/home/peter/build-deps/openssl-arm64 --enable-brotli --with-brotli=/home/peter/build-deps/brotli-arm64 --enable-zstd --with-zstd=/home/peter/build-deps/zstd-arm64 --enable-zlib --with-zlib=/home/peter/build-deps/zlib-arm64 --enable-tls-srp configure: WARNING: unrecognized options: --enable-ssl, --enable-brotli, --enable-zstd, --enable-zlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checki
[command output truncated]
e built-in manual... yes
checking whether to build documentation... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking whether build target is a native Windows one... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking for sys/types.h... (cached) yes
checking for raw monotonic clock_gettime... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... yes
checking for brotli/decode.h... yes
checking for ZSTD_createDStream in -lzstd... yes
checking for zstd.h... yes
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... no
configure: WARNING: the previous check could not be made default was used
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no
configure: PKG_CONFIG_LIBDIR will be set to "/home/peter/build-deps/openssl-arm64/lib/pkgconfig"
checking for aarch64-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: "-L/home/peter/build-deps/openssl-arm64/lib"
configure: pkg-config: SSL_CPPFLAGS: "-I/home/peter/build-deps/openssl-arm64/include"
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... yes
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for BoringSSL... no
checking for AWS-LC... no
checking for LibreSSL... no
checking for OpenSSL >= v3... yes
checking for SSL_set_quic_use_legacy_codepoint... no
checking for SSL_set_quic_tls_cbs... no
configure: OpenSSL version does not speak any known QUIC API
checking for SRP support in OpenSSL... yes
checking for QUIC support and OpenSSL >= 3.3... no
configure: built with one SSL backend
checking default CA cert bundle/path... configure: WARNING: skipped the ca-cert path detection when cross-compiling
no
checking whether to use OpenSSL's built-in CA store... no
checking CA cert bundle path to embed in the curl tool... no
checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config
checking for libpsl options with pkg-config... no
checking for psl_builtin in -lpsl... no
configure: error: libpsl libs and/or directories were not found where specified!
↓ 126 lines
configure: WARNING: unrecognized options: --enable-ssl, --enable-brotli, --enable-zstd, --enable-zlib checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking whether to enable debug build options... no checking whether to enable compiler optimizer... (assumed) yes checking whether to enable strict compiler warnings... no checking whether to enable compiler warnings as errors... no checking whether to enable curl debug memory tracking... no checking whether to enable hiding of library internal symbols... yes checking whether to enable c-ares for DNS lookups... no checking whether to disable dependency on -lrt... (assumed no) checking whether to enable HTTPSRR support... no checking whether to enable ECH support... no checking whether to enable SSL session export support... no checking for path separator... : checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking that grep -E works... yes checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdatomic.h... yes checking if _Atomic is available... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for code coverage support... no checking whether build environment is sane... yes checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-linux-gnu-gcc... gcc3 checking curl version... 8.16.0 checking for perl... /usr/bin/perl checking for httpd... no checking for apache2... no checking for apxs... no configure: httpd/apache2 not in PATH, http tests disabled configure: apxs not in PATH, http tests disabled checking for danted... no checking for danted... no checking for nghttpx... no checki [command output truncated] e built-in manual... yes checking whether to build documentation... yes checking whether to enable generation of C code... yes checking whether to use libgcc... no checking if X/Open network library is required... no checking for gethostbyname... yes checking whether build target is a native Windows one... (cached) no checking for proto/bsdsocket.h... no checking for connect in libraries... yes checking for sys/types.h... (cached) yes checking for monotonic clock_gettime... yes checking for clock_gettime in libraries... no additional lib required checking for sys/types.h... (cached) yes checking for raw monotonic clock_gettime... yes checking for zlib.h... yes checking for gzread in -lz... yes configure: found both libz and libz.h header checking for BrotliDecoderDecompress in -lbrotlidec... yes checking for brotli/decode.h... yes checking for ZSTD_createDStream in -lzstd... yes checking for zstd.h... yes checking whether to enable IPv6... yes checking if struct sockaddr_in6 has sin6_scope_id member... yes checking if argv can be written to... no configure: WARNING: the previous check could not be made default was used checking if GSS-API support is requested... no checking whether to enable Windows native SSL/TLS... no checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no configure: PKG_CONFIG_LIBDIR will be set to "/home/peter/build-deps/openssl-arm64/lib/pkgconfig" checking for aarch64-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lcrypto" configure: pkg-config: SSL_LDFLAGS: "-L/home/peter/build-deps/openssl-arm64/lib" configure: pkg-config: SSL_CPPFLAGS: "-I/home/peter/build-deps/openssl-arm64/include" checking for HMAC_Update in -lcrypto... yes checking for SSL_connect in -lssl... yes checking for openssl/x509.h... yes checking for openssl/rsa.h... yes checking for openssl/crypto.h... yes checking for openssl/pem.h... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for BoringSSL... no checking for AWS-LC... no checking for LibreSSL... no checking for OpenSSL >= v3... yes checking for SSL_set_quic_use_legacy_codepoint... no checking for SSL_set_quic_tls_cbs... no configure: OpenSSL version does not speak any known QUIC API checking for SRP support in OpenSSL... yes checking for QUIC support and OpenSSL >= 3.3... no configure: built with one SSL backend checking default CA cert bundle/path... configure: WARNING: skipped the ca-cert path detection when cross-compiling no checking whether to use OpenSSL's built-in CA store... no checking CA cert bundle path to embed in the curl tool... no checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config checking for libpsl options with pkg-config... no checking for psl_builtin in -lpsl... no configure: error: libpsl libs and/or directories were not found where specified!
Show reasoning
The configure failed because it's trying to find libpsl, which we haven't built. Let me try without libpsl support or build libpsl as well. But first, let me try disabling libpsl support which should be fine for curl functionality.
Looking at the error, it seems curl is also looking for libpsl (Public Suffix List) library. Since we're building curl, we can disable this feature. Let me reconfigure with libpsl disabled.
compile-bench> cd /home/peter/curl-8.16.0 && CC=aarch64-linux-gnu-gcc PKG_CONFIG_PATH="/home/peter/build-deps/openssl-arm64/lib/pkgconfig:/home/peter/build-deps/zlib-arm64/lib/pkgconfig:/home/peter/build-deps/brotli-arm64/lib/pkgconfig:/home/peter/build-deps/zstd-arm64/lib/pkgconfig" LDFLAGS="-L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -static" CPPFLAGS="-I/home/peter/build-deps/openssl-arm64/include -I/home/peter/build-deps/zlib-arm64/include -I/home/peter/build-deps/brotli-arm64/include -I/home/peter/build-deps/zstd-arm64/include" ./configure --host=aarch64-linux-gnu --prefix=/home/peter/result --enable-static --disable-shared --enable-ssl --with-ssl=/home/peter/build-deps/openssl-arm64 --enable-brotli --with-brotli=/home/peter/build-deps/brotli-arm64 --enable-zstd --with-zstd=/home/peter/build-deps/zstd-arm64 --enable-zlib --with-zlib=/home/peter/build-deps/zlib-arm64 --enable-tls-srp --disable-libpsl configure: WARNING: unrecognized options: --enable-ssl, --enable-brotli, --enable-zstd, --enable-zlib, --disable-libpsl
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for ngh
[command output truncated]
e built-in manual... yes
checking whether to build documentation... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking whether build target is a native Windows one... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking for sys/types.h... (cached) yes
checking for raw monotonic clock_gettime... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... yes
checking for brotli/decode.h... yes
checking for ZSTD_createDStream in -lzstd... yes
checking for zstd.h... yes
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... no
configure: WARNING: the previous check could not be made default was used
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no
configure: PKG_CONFIG_LIBDIR will be set to "/home/peter/build-deps/openssl-arm64/lib/pkgconfig"
checking for aarch64-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: "-L/home/peter/build-deps/openssl-arm64/lib"
configure: pkg-config: SSL_CPPFLAGS: "-I/home/peter/build-deps/openssl-arm64/include"
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... yes
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for BoringSSL... no
checking for AWS-LC... no
checking for LibreSSL... no
checking for OpenSSL >= v3... yes
checking for SSL_set_quic_use_legacy_codepoint... no
checking for SSL_set_quic_tls_cbs... no
configure: OpenSSL version does not speak any known QUIC API
checking for SRP support in OpenSSL... yes
checking for QUIC support and OpenSSL >= 3.3... no
configure: built with one SSL backend
checking default CA cert bundle/path... configure: WARNING: skipped the ca-cert path detection when cross-compiling
no
checking whether to use OpenSSL's built-in CA store... no
checking CA cert bundle path to embed in the curl tool... no
checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config
checking for libpsl options with pkg-config... no
checking for psl_builtin in -lpsl... no
configure: error: libpsl libs and/or directories were not found where specified!
↓ 125 lines
configure: WARNING: unrecognized options: --enable-ssl, --enable-brotli, --enable-zstd, --enable-zlib, --disable-libpsl checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking whether to enable debug build options... no checking whether to enable compiler optimizer... (assumed) yes checking whether to enable strict compiler warnings... no checking whether to enable compiler warnings as errors... no checking whether to enable curl debug memory tracking... no checking whether to enable hiding of library internal symbols... yes checking whether to enable c-ares for DNS lookups... no checking whether to disable dependency on -lrt... (assumed no) checking whether to enable HTTPSRR support... no checking whether to enable ECH support... no checking whether to enable SSL session export support... no checking for path separator... : checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking that grep -E works... yes checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdatomic.h... yes checking if _Atomic is available... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for code coverage support... no checking whether build environment is sane... yes checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-linux-gnu-gcc... gcc3 checking curl version... 8.16.0 checking for perl... /usr/bin/perl checking for httpd... no checking for apache2... no checking for apxs... no configure: httpd/apache2 not in PATH, http tests disabled configure: apxs not in PATH, http tests disabled checking for danted... no checking for danted... no checking for ngh [command output truncated] e built-in manual... yes checking whether to build documentation... yes checking whether to enable generation of C code... yes checking whether to use libgcc... no checking if X/Open network library is required... no checking for gethostbyname... yes checking whether build target is a native Windows one... (cached) no checking for proto/bsdsocket.h... no checking for connect in libraries... yes checking for sys/types.h... (cached) yes checking for monotonic clock_gettime... yes checking for clock_gettime in libraries... no additional lib required checking for sys/types.h... (cached) yes checking for raw monotonic clock_gettime... yes checking for zlib.h... yes checking for gzread in -lz... yes configure: found both libz and libz.h header checking for BrotliDecoderDecompress in -lbrotlidec... yes checking for brotli/decode.h... yes checking for ZSTD_createDStream in -lzstd... yes checking for zstd.h... yes checking whether to enable IPv6... yes checking if struct sockaddr_in6 has sin6_scope_id member... yes checking if argv can be written to... no configure: WARNING: the previous check could not be made default was used checking if GSS-API support is requested... no checking whether to enable Windows native SSL/TLS... no checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no configure: PKG_CONFIG_LIBDIR will be set to "/home/peter/build-deps/openssl-arm64/lib/pkgconfig" checking for aarch64-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lcrypto" configure: pkg-config: SSL_LDFLAGS: "-L/home/peter/build-deps/openssl-arm64/lib" configure: pkg-config: SSL_CPPFLAGS: "-I/home/peter/build-deps/openssl-arm64/include" checking for HMAC_Update in -lcrypto... yes checking for SSL_connect in -lssl... yes checking for openssl/x509.h... yes checking for openssl/rsa.h... yes checking for openssl/crypto.h... yes checking for openssl/pem.h... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for BoringSSL... no checking for AWS-LC... no checking for LibreSSL... no checking for OpenSSL >= v3... yes checking for SSL_set_quic_use_legacy_codepoint... no checking for SSL_set_quic_tls_cbs... no configure: OpenSSL version does not speak any known QUIC API checking for SRP support in OpenSSL... yes checking for QUIC support and OpenSSL >= 3.3... no configure: built with one SSL backend checking default CA cert bundle/path... configure: WARNING: skipped the ca-cert path detection when cross-compiling no checking whether to use OpenSSL's built-in CA store... no checking CA cert bundle path to embed in the curl tool... no checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config checking for libpsl options with pkg-config... no checking for psl_builtin in -lpsl... no configure: error: libpsl libs and/or directories were not found where specified!
Show reasoning
The issue is still with libpsl. I need to completely disable it using the correct option. Let me check the configure help to see the correct option.
compile-bench> cd /home/peter/curl-8.16.0 && ./configure --help | grep -i psl --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL
--without-libpsl disable LIBPSL
↓ 3 lines
--with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL --without-libpsl disable LIBPSL
compile-bench> cd /home/peter/curl-8.16.0 && CC=aarch64-linux-gnu-gcc PKG_CONFIG_PATH="/home/peter/build-deps/openssl-arm64/lib/pkgconfig:/home/peter/build-deps/zlib-arm64/lib/pkgconfig:/home/peter/build-deps/brotli-arm64/lib/pkgconfig:/home/peter/build-deps/zstd-arm64/lib/pkgconfig" LDFLAGS="-L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -static" CPPFLAGS="-I/home/peter/build-deps/openssl-arm64/include -I/home/peter/build-deps/zlib-arm64/include -I/home/peter/build-deps/brotli-arm64/include -I/home/peter/build-deps/zstd-arm64/include" ./configure --host=aarch64-linux-gnu --prefix=/home/peter/result --enable-static --disable-shared --enable-ssl --with-ssl=/home/peter/build-deps/openssl-arm64 --enable-brotli --with-brotli=/home/peter/build-deps/brotli-arm64 --enable-zstd --with-zstd=/home/peter/build-deps/zstd-arm64 --enable-zlib --with-zlib=/home/peter/build-deps/zlib-arm64 --enable-tls-srp --without-libpsl configure: WARNING: unrecognized options: --enable-ssl, --enable-brotli, --enable-zstd, --enable-zlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checki
[command output truncated]
rm64/include -isystem /home/peter/build-deps/zstd-arm64/include -D_GNU_SOURCE -isystem /home/peter/build-deps/zlib-arm64/include -isystem /home/peter/build-deps/brotli-arm64/include -isystem /home/peter/build-deps/zstd-arm64/include -isystem /home/peter/build-deps/openssl-arm64/include
LDFLAGS: -L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -static -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -L/home/peter/build-deps/openssl-arm64/lib
curl-config: -L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -L/home/peter/build-deps/openssl-arm64/lib
LIBS: -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz
curl version: 8.16.0
SSL: enabled (OpenSSL v3+)
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: enabled (libbrotlidec)
zstd: enabled (libzstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: enabled
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: enabled (--disable-docs)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
ca cert embed: no
ca fallback: no
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
IPFS/IPNS: enabled
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: no (--with-libpsl)
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: enabled (--disable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli HSTS HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe TLS-SRP UnixSockets zstd
↓ 111 lines
configure: WARNING: unrecognized options: --enable-ssl, --enable-brotli, --enable-zstd, --enable-zlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checki
[command output truncated]
rm64/include -isystem /home/peter/build-deps/zstd-arm64/include -D_GNU_SOURCE -isystem /home/peter/build-deps/zlib-arm64/include -isystem /home/peter/build-deps/brotli-arm64/include -isystem /home/peter/build-deps/zstd-arm64/include -isystem /home/peter/build-deps/openssl-arm64/include
LDFLAGS: -L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -static -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -L/home/peter/build-deps/openssl-arm64/lib
curl-config: -L/home/peter/build-deps/openssl-arm64/lib -L/home/peter/build-deps/zlib-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -L/home/peter/build-deps/brotli-arm64/lib -L/home/peter/build-deps/zstd-arm64/lib -L/home/peter/build-deps/openssl-arm64/lib
LIBS: -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz
curl version: 8.16.0
SSL: enabled (OpenSSL v3+)
SSH: no (--with-{libssh,libssh2})
zlib: enabled
brotli: enabled (libbrotlidec)
zstd: enabled (libzstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: enabled
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: enabled (--disable-docs)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
ca cert embed: no
ca fallback: no
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
IPFS/IPNS: enabled
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: no (--with-libpsl)
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: enabled (--disable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli HSTS HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe TLS-SRP UnixSockets zstd
Show reasoning
Great! The configure script ran successfully this time. I can see that it found all the required dependencies:
- SSL: enabled (OpenSSL v3+)
- zlib: enabled
- brotli: enabled (libbrotlidec)
- zstd: enabled (libzstd)
- TLS-SRP: enabled
Now I need to build curl using make.
compile-bench> cd /home/peter/curl-8.16.0 && make -j$(nproc) Making all in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make all-am
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
CC libcurl_la-altsvc.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-base.lo
CC libcurl_la-asyn-thrdd.lo
CC libcurl_la-bufq.lo
CC libcurl_la-bufref.lo
CC libcurl_la-cf-h1-proxy.lo
CC libcurl_la-cf-h2-proxy.lo
CC libcurl_la-cf-haproxy.lo
CC libcurl_la-cf-https-connect.lo
CC libcurl_la-cf-ip-happy.lo
CC libcurl_la-cf-socket.lo
CC libcurl_la-cfilters.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-cshutdn.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sha512_256.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-curl_trc.lo
CC libcurl_la-cw-out.lo
CC libcurl_la-cw-pause.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dynhds.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-fake_addrinfo.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-fopen.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-hash.lo
CC libcurl_la-headers.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http1.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-http_chunks.lo
[command output truncated]
CC curl-tool_stderr.o
CC curl-tool_strdup.o
CC curl-tool_urlglob.o
CC curl-tool_util.o
CC curl-tool_vms.o
CC curl-tool_writeout.o
CC curl-tool_writeout_json.o
CC curl-tool_xattr.o
CC curl-var.o
HUGE tool_hugehelp.c
echo '/* !checksrc! disable COPYRIGHT all */' > tool_ca_embed.c
echo 'extern const void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c
CC curlinfo.o
CC libcurltool_la-config2setopts.lo
CC libcurltool_la-slist_wc.lo
CC libcurltool_la-terminal.lo
CC libcurltool_la-tool_bname.lo
CC libcurltool_la-tool_cb_dbg.lo
CC libcurltool_la-tool_cb_hdr.lo
CC libcurltool_la-tool_cb_prg.lo
CC libcurltool_la-tool_cb_rea.lo
CC libcurltool_la-tool_cb_see.lo
CC libcurltool_la-tool_cb_soc.lo
CC libcurltool_la-tool_cb_wrt.lo
CC libcurltool_la-tool_cfgable.lo
CC libcurltool_la-tool_dirhie.lo
CC libcurltool_la-tool_doswin.lo
CC libcurltool_la-tool_easysrc.lo
CC libcurltool_la-tool_filetime.lo
CC libcurltool_la-tool_findfile.lo
CC libcurltool_la-tool_formparse.lo
CC libcurltool_la-tool_getparam.lo
CC libcurltool_la-tool_getpass.lo
CC libcurltool_la-tool_help.lo
CC libcurltool_la-tool_helpers.lo
CC libcurltool_la-tool_ipfs.lo
CC libcurltool_la-tool_libinfo.lo
CC libcurltool_la-tool_listhelp.lo
CC libcurltool_la-tool_main.lo
CC libcurltool_la-tool_msgs.lo
CC libcurltool_la-tool_operate.lo
CC libcurltool_la-tool_operhlp.lo
CC libcurltool_la-tool_paramhlp.lo
CC libcurltool_la-tool_parsecfg.lo
CC libcurltool_la-tool_progress.lo
CC libcurltool_la-tool_setopt.lo
CC libcurltool_la-tool_ssls.lo
CC libcurltool_la-tool_stderr.lo
CC libcurltool_la-tool_strdup.lo
CC libcurltool_la-tool_urlglob.lo
CC libcurltool_la-tool_util.lo
CC libcurltool_la-tool_vms.lo
CC libcurltool_la-tool_writeout.lo
CC libcurltool_la-tool_writeout_json.lo
CC libcurltool_la-tool_xattr.lo
CC libcurltool_la-var.lo
CC curl-tool_hugehelp.o
CC curl-tool_ca_embed.o
CCLD curlinfo
CCLD curl
CCLD libcurltool.la
make[1]: Leaving directory '/home/peter/curl-8.16.0/src'
Making all in scripts
make[1]: Entering directory '/home/peter/curl-8.16.0/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/peter/curl-8.16.0/scripts'
make[1]: Entering directory '/home/peter/curl-8.16.0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 141 lines
Making all in lib make[1]: Entering directory '/home/peter/curl-8.16.0/lib' make all-am make[2]: Entering directory '/home/peter/curl-8.16.0/lib' CC libcurl_la-altsvc.lo CC libcurl_la-amigaos.lo CC libcurl_la-asyn-ares.lo CC libcurl_la-asyn-base.lo CC libcurl_la-asyn-thrdd.lo CC libcurl_la-bufq.lo CC libcurl_la-bufref.lo CC libcurl_la-cf-h1-proxy.lo CC libcurl_la-cf-h2-proxy.lo CC libcurl_la-cf-haproxy.lo CC libcurl_la-cf-https-connect.lo CC libcurl_la-cf-ip-happy.lo CC libcurl_la-cf-socket.lo CC libcurl_la-cfilters.lo CC libcurl_la-conncache.lo CC libcurl_la-connect.lo CC libcurl_la-content_encoding.lo CC libcurl_la-cookie.lo CC libcurl_la-cshutdn.lo CC libcurl_la-curl_addrinfo.lo CC libcurl_la-curl_des.lo CC libcurl_la-curl_endian.lo CC libcurl_la-curl_fnmatch.lo CC libcurl_la-curl_get_line.lo CC libcurl_la-curl_gethostname.lo CC libcurl_la-curl_gssapi.lo CC libcurl_la-curl_memrchr.lo CC libcurl_la-curl_ntlm_core.lo CC libcurl_la-curl_range.lo CC libcurl_la-curl_rtmp.lo CC libcurl_la-curl_sasl.lo CC libcurl_la-curl_sha512_256.lo CC libcurl_la-curl_sspi.lo CC libcurl_la-curl_threads.lo CC libcurl_la-curl_trc.lo CC libcurl_la-cw-out.lo CC libcurl_la-cw-pause.lo CC libcurl_la-dict.lo CC libcurl_la-doh.lo CC libcurl_la-dynhds.lo CC libcurl_la-easy.lo CC libcurl_la-easygetopt.lo CC libcurl_la-easyoptions.lo CC libcurl_la-escape.lo CC libcurl_la-fake_addrinfo.lo CC libcurl_la-file.lo CC libcurl_la-fileinfo.lo CC libcurl_la-fopen.lo CC libcurl_la-formdata.lo CC libcurl_la-ftp.lo CC libcurl_la-ftplistparser.lo CC libcurl_la-getenv.lo CC libcurl_la-getinfo.lo CC libcurl_la-gopher.lo CC libcurl_la-hash.lo CC libcurl_la-headers.lo CC libcurl_la-hmac.lo CC libcurl_la-hostip.lo CC libcurl_la-hostip4.lo CC libcurl_la-hostip6.lo CC libcurl_la-hsts.lo CC libcurl_la-http.lo CC libcurl_la-http1.lo CC libcurl_la-http2.lo CC libcurl_la-http_aws_sigv4.lo CC libcurl_la-http_chunks.lo [command output truncated] CC curl-tool_stderr.o CC curl-tool_strdup.o CC curl-tool_urlglob.o CC curl-tool_util.o CC curl-tool_vms.o CC curl-tool_writeout.o CC curl-tool_writeout_json.o CC curl-tool_xattr.o CC curl-var.o HUGE tool_hugehelp.c echo '/* !checksrc! disable COPYRIGHT all */' > tool_ca_embed.c echo 'extern const void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c CC curlinfo.o CC libcurltool_la-config2setopts.lo CC libcurltool_la-slist_wc.lo CC libcurltool_la-terminal.lo CC libcurltool_la-tool_bname.lo CC libcurltool_la-tool_cb_dbg.lo CC libcurltool_la-tool_cb_hdr.lo CC libcurltool_la-tool_cb_prg.lo CC libcurltool_la-tool_cb_rea.lo CC libcurltool_la-tool_cb_see.lo CC libcurltool_la-tool_cb_soc.lo CC libcurltool_la-tool_cb_wrt.lo CC libcurltool_la-tool_cfgable.lo CC libcurltool_la-tool_dirhie.lo CC libcurltool_la-tool_doswin.lo CC libcurltool_la-tool_easysrc.lo CC libcurltool_la-tool_filetime.lo CC libcurltool_la-tool_findfile.lo CC libcurltool_la-tool_formparse.lo CC libcurltool_la-tool_getparam.lo CC libcurltool_la-tool_getpass.lo CC libcurltool_la-tool_help.lo CC libcurltool_la-tool_helpers.lo CC libcurltool_la-tool_ipfs.lo CC libcurltool_la-tool_libinfo.lo CC libcurltool_la-tool_listhelp.lo CC libcurltool_la-tool_main.lo CC libcurltool_la-tool_msgs.lo CC libcurltool_la-tool_operate.lo CC libcurltool_la-tool_operhlp.lo CC libcurltool_la-tool_paramhlp.lo CC libcurltool_la-tool_parsecfg.lo CC libcurltool_la-tool_progress.lo CC libcurltool_la-tool_setopt.lo CC libcurltool_la-tool_ssls.lo CC libcurltool_la-tool_stderr.lo CC libcurltool_la-tool_strdup.lo CC libcurltool_la-tool_urlglob.lo CC libcurltool_la-tool_util.lo CC libcurltool_la-tool_vms.lo CC libcurltool_la-tool_writeout.lo CC libcurltool_la-tool_writeout_json.lo CC libcurltool_la-tool_xattr.lo CC libcurltool_la-var.lo CC curl-tool_hugehelp.o CC curl-tool_ca_embed.o CCLD curlinfo CCLD curl CCLD libcurltool.la make[1]: Leaving directory '/home/peter/curl-8.16.0/src' Making all in scripts make[1]: Entering directory '/home/peter/curl-8.16.0/scripts' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/peter/curl-8.16.0/scripts' make[1]: Entering directory '/home/peter/curl-8.16.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/peter/curl-8.16.0'
Show reasoning
task failed: curl binary does not exist