| Cost | $0.368 |
| Total elapsed time | 6m19s |
| LLM inference time | 5m4s |
| Command execution time | 1m15s |
| Commands executed | 48 |
All details >
| Attempt ID | prnksjucmv97u | Attempt group | run-23-09-21-48 |
| Revision | ad46875d9374 | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-23T20:02:33.741Z | End time | 2025-09-23T20:08:54.564Z |
| Task | curl-ssl-arm64-static | Environment | ubuntu-22.04-amd64-cross-arm64 |
| Model | | OpenRouter slug | openai/gpt-5-codex |
| 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.368 | Duration | 6m19s |
| LLM inference time | 5m4s | Command execution time | 1m15s |
| Final context tokens | 38,234 | Total output tokens | 13,386 |
| Output reasoning tokens | 11,072 | Messages | 99 |
| Assistant messages | 49 | User messages | 1 |
| System messages | 1 | Commands executed | 48 |
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
Outlining cross-compilation plan for static arm64 curl binary
I'll map out a detailed plan to cross-compile curl with dependencies statically linked for arm64, including setting up multiarch support, installing cross toolchains and dev libs, configuring environment variables like PKG_CONFIG paths, and strategizing configure flags to produce a fully static binary in the desired output directory. The plan considers potential issues with static linking, pkg-config, and dependency resolutions on Ubuntu with multiarch.
[empty output]
Show reasoning
Updating package lists
compile-bench> sudo apt-get update
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Connecting to security.ubuntu.com (185.125.190.83)]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
0% [2 InRelease 12.7 kB/128 kB 10%] [Connecting to security.ubuntu.com (185.125
0% [2 InRelease 30.1 kB/128 kB 24%] [Waiting for headers]
0% [Waiting for headers]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
0% [3 InRelease 5484 B/127 kB 4%] [Waiting for headers]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [3 InRelease 38.8 kB/127 kB 30%] [4 InRelease 6932 B/129 kB 5%]
0% [4 InRelease 14.2 kB/129 kB 11%]
0% [4 InRelease 14.2 kB/129 kB 11%]
Ign:5 http://archive.ubuntu.com/ubuntu jammy/universe arm64 Packages
0% [Waiting for headers] [4 InRelease 14.2 kB/129 kB 11%]
Ign:6 http://archive.ubuntu.com/ubuntu jammy/restricted arm64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu jammy/multiverse arm64 Packages
Ign:8 http://archive.ubuntu.com/ubuntu jammy/main arm64 Packages
0% [4 InRelease 14.2 kB/129 kB 11%]
0% [Waiting for headers] [4 InRelease 14.2 kB/129 kB 11%]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB]
0% [9 Packages 7002 B/69.1 kB 10%] [4 InRelease 14.2 kB/129 kB 11%]
0% [Waiting for headers] [4 InRelease 14.2 kB/129 kB 11%]
Ign:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages
Ign:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse arm64 Packages
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB]
0% [12 Packages 33.3 kB/1577 kB 2%] [4 InRelease 14.2 kB/129 kB 11%]
0% [9 Packages store 0 B] [12 Packages 33.3 kB/1577 kB 2%] [4 InRelease 14.2 kB
0% [12 Packages 59.3 kB/1577 kB 4%] [4 InRelease 14.2 kB/129 kB 11%]
0% [Waiting for headers] [4 InRelease 43.1 kB/129 kB 33%]
[command output truncated]
erse arm64 Packages
Ign:23 http://security.ubuntu.com/ubuntu jammy-security/main arm64 Packages
28% [Waiting for headers]
Ign:26 http://security.ubuntu.com/ubuntu jammy-security/restricted arm64 Packages
27% [Waiting for headers]
Ign:19 http://security.ubuntu.com/ubuntu jammy-security/universe arm64 Packages
Ign:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse arm64 Packages
27% [Waiting for headers]
Ign:23 http://security.ubuntu.com/ubuntu jammy-security/main arm64 Packages
27% [Waiting for headers]
Ign:26 http://security.ubuntu.com/ubuntu jammy-security/restricted arm64 Packages
Err:19 http://security.ubuntu.com/ubuntu jammy-security/universe arm64 Packages
404 Not Found [IP: 185.125.190.83 80]
27% [Waiting for headers]
Ign:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse arm64 Packages
27% [Waiting for headers]
Ign:23 http://security.ubuntu.com/ubuntu jammy-security/main arm64 Packages
Ign:26 http://security.ubuntu.com/ubuntu jammy-security/restricted arm64 Packages
28% [Working]
Fetched 21.7 MB in 2s (9106 kB/s)
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... 72%
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... 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
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/binary-arm64/Packages 404 Not Found [IP: 185.125.190.83 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
↓ 34 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Connecting to security.ubuntu.com (185.125.190.83)] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] 0% [2 InRelease 12.7 kB/128 kB 10%] [Connecting to security.ubuntu.com (185.125 0% [2 InRelease 30.1 kB/128 kB 24%] [Waiting for headers] 0% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] 0% [3 InRelease 5484 B/127 kB 4%] [Waiting for headers] Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [3 InRelease 38.8 kB/127 kB 30%] [4 InRelease 6932 B/129 kB 5%] 0% [4 InRelease 14.2 kB/129 kB 11%] 0% [4 InRelease 14.2 kB/129 kB 11%] Ign:5 http://archive.ubuntu.com/ubuntu jammy/universe arm64 Packages 0% [Waiting for headers] [4 InRelease 14.2 kB/129 kB 11%] Ign:6 http://archive.ubuntu.com/ubuntu jammy/restricted arm64 Packages Ign:7 http://archive.ubuntu.com/ubuntu jammy/multiverse arm64 Packages Ign:8 http://archive.ubuntu.com/ubuntu jammy/main arm64 Packages 0% [4 InRelease 14.2 kB/129 kB 11%] 0% [Waiting for headers] [4 InRelease 14.2 kB/129 kB 11%] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB] 0% [9 Packages 7002 B/69.1 kB 10%] [4 InRelease 14.2 kB/129 kB 11%] 0% [Waiting for headers] [4 InRelease 14.2 kB/129 kB 11%] Ign:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages Ign:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse arm64 Packages Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB] 0% [12 Packages 33.3 kB/1577 kB 2%] [4 InRelease 14.2 kB/129 kB 11%] 0% [9 Packages store 0 B] [12 Packages 33.3 kB/1577 kB 2%] [4 InRelease 14.2 kB 0% [12 Packages 59.3 kB/1577 kB 4%] [4 InRelease 14.2 kB/129 kB 11%] 0% [Waiting for headers] [4 InRelease 43.1 kB/129 kB 33%] [command output truncated] erse arm64 Packages Ign:23 http://security.ubuntu.com/ubuntu jammy-security/main arm64 Packages 28% [Waiting for headers] Ign:26 http://security.ubuntu.com/ubuntu jammy-security/restricted arm64 Packages 27% [Waiting for headers] Ign:19 http://security.ubuntu.com/ubuntu jammy-security/universe arm64 Packages Ign:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse arm64 Packages 27% [Waiting for headers] Ign:23 http://security.ubuntu.com/ubuntu jammy-security/main arm64 Packages 27% [Waiting for headers] Ign:26 http://security.ubuntu.com/ubuntu jammy-security/restricted arm64 Packages Err:19 http://security.ubuntu.com/ubuntu jammy-security/universe arm64 Packages 404 Not Found [IP: 185.125.190.83 80] 27% [Waiting for headers] Ign:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse arm64 Packages 27% [Waiting for headers] Ign:23 http://security.ubuntu.com/ubuntu jammy-security/main arm64 Packages Ign:26 http://security.ubuntu.com/ubuntu jammy-security/restricted arm64 Packages 28% [Working] Fetched 21.7 MB in 2s (9106 kB/s) 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... 72% 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... 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 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/binary-arm64/Packages 404 Not Found [IP: 185.125.190.83 80] E: Some index files failed to download. They have been ignored, or old ones used instead.
Show reasoning
Investigating apt multiarch 404 error
compile-bench> cat /etc/apt/sources.list # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy universe
deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted
deb http://security.ubuntu.com/ubuntu/ jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security universe
deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security multiverse
↓ 43 lines
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.ubuntu.com/ubuntu/ jammy main restricted # deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ jammy universe # deb-src http://archive.ubuntu.com/ubuntu/ jammy universe deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://archive.ubuntu.com/ubuntu/ jammy multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted # deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted deb http://security.ubuntu.com/ubuntu/ jammy-security universe # deb-src http://security.ubuntu.com/ubuntu/ jammy-security universe deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse # deb-src http://security.ubuntu.com/ubuntu/ jammy-security multiverse
Show reasoning
Investigating 404 on package fetch
[empty output]
Show reasoning
Checking directory listing response
compile-bench> wget -S --spider http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-arm64/Packages.xz Spider mode enabled. Check if remote file exists.
--2025-09-23 20:03:19-- http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-arm64/Packages.xz
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.81, 185.125.190.82, 185.125.190.81, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.81|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 404 Not Found
Date: Tue, 23 Sep 2025 20:03:19 GMT
Server: Apache/2.4.52 (Ubuntu)
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
Remote file does not exist -- broken link!!!
↓ 13 lines
Spider mode enabled. Check if remote file exists. --2025-09-23 20:03:19-- http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-arm64/Packages.xz Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.81, 185.125.190.82, 185.125.190.81, ... Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.81|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 404 Not Found Date: Tue, 23 Sep 2025 20:03:19 GMT Server: Apache/2.4.52 (Ubuntu) Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 Remote file does not exist -- broken link!!!
Show reasoning
Preparing ARM64 sources.list update
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
Show reasoning
Preparing updates and backports
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
Show reasoning
Adding security measures
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse
Show reasoning
Adding backports
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
Show reasoning
Running apt-get update again
compile-bench> sudo apt-get update
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers] [Connecting to security.ubuntu.com (185.125.190.39)] [
0% [Waiting for headers] [Waiting for headers] [Connecting to ports.ubuntu.com
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
0% [2 InRelease 9828 B/128 kB 8%] [Waiting for headers] [Connecting to ports.ub
0% [Waiting for headers] [Waiting for headers]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
0% [3 InRelease 6932 B/127 kB 5%] [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers]
Ign:4 http://archive.ubuntu.com/ubuntu jammy/main arm64 Packages
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Ign:5 http://archive.ubuntu.com/ubuntu jammy/restricted arm64 Packages
Ign:6 http://archive.ubuntu.com/ubuntu jammy/multiverse arm64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu jammy/universe arm64 Packages
0% [Waiting for headers] [Waiting for headers]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB]
0% [Waiting for headers] [Waiting for headers]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages [1589 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB]
0% [Waiting for headers] [11 InRelease 14.2 kB/270 kB 5%]
0% [8 Packages store 0 B] [Waiting for headers] [11 InRelease 14.2 kB/270 kB 5%
Get:12 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [8 Packages store 0 B] [12 InRelease 12.7 kB/129 kB 10%] [11 InRelease 14.2
0% [8 Packages store 0 B] [12 InRelease 12.7 kB/129 kB 10%] [11 InRelease 14.2
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages [1589 kB]
0% [8 Packages store 0 B] [12 InRelease 12.7 kB/129 kB 10%] [11 InRelease 14.2
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages [
[command output truncated]
tore 0 B]
40% [Working]
40% [39 Packages store 0 B]
40% [Working]
40% [40 Packages store 0 B]
40% [Working]
40% [41 Packages store 0 B]
40% [Working]
40% [42 Packages store 0 B]
40% [Working]
40% [43 Packages store 0 B]
41% [Working]
41% [44 Packages store 0 B]
41% [Working]
Fetched 40.2 MB in 3s (13.5 MB/s)
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 26%
Reading package lists... 26%
Reading package lists... 34%
Reading package lists... 34%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 50%
Reading package lists... 50%
Reading package lists... 50%
Reading package lists... 50%
Reading package lists... 52%
Reading package lists... 52%
Reading package lists... 52%
Reading package lists... 52%
Reading package lists... 57%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 76%
Reading package lists... 76%
Reading package lists... 84%
Reading package lists... 84%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 90%
Reading package lists... 90%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.83 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.83 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.83 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/binary-arm64/Packages 404 Not Found [IP: 185.125.190.39 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
↓ 22 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] [Connecting to security.ubuntu.com (185.125.190.39)] [ 0% [Waiting for headers] [Waiting for headers] [Connecting to ports.ubuntu.com Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] 0% [2 InRelease 9828 B/128 kB 8%] [Waiting for headers] [Connecting to ports.ub 0% [Waiting for headers] [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] 0% [3 InRelease 6932 B/127 kB 5%] [Waiting for headers] [Waiting for headers] 0% [Waiting for headers] [Waiting for headers] 0% [Waiting for headers] [Waiting for headers] Ign:4 http://archive.ubuntu.com/ubuntu jammy/main arm64 Packages 0% [Waiting for headers] [Waiting for headers] [Waiting for headers] Ign:5 http://archive.ubuntu.com/ubuntu jammy/restricted arm64 Packages Ign:6 http://archive.ubuntu.com/ubuntu jammy/multiverse arm64 Packages Ign:7 http://archive.ubuntu.com/ubuntu jammy/universe arm64 Packages 0% [Waiting for headers] [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB] 0% [Waiting for headers] [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages [1589 kB] Get:11 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB] 0% [Waiting for headers] [11 InRelease 14.2 kB/270 kB 5%] 0% [8 Packages store 0 B] [Waiting for headers] [11 InRelease 14.2 kB/270 kB 5% Get:12 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [8 Packages store 0 B] [12 InRelease 12.7 kB/129 kB 10%] [11 InRelease 14.2 0% [8 Packages store 0 B] [12 InRelease 12.7 kB/129 kB 10%] [11 InRelease 14.2 Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages [1589 kB] 0% [8 Packages store 0 B] [12 InRelease 12.7 kB/129 kB 10%] [11 InRelease 14.2 Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe arm64 Packages [ [command output truncated] tore 0 B] 40% [Working] 40% [39 Packages store 0 B] 40% [Working] 40% [40 Packages store 0 B] 40% [Working] 40% [41 Packages store 0 B] 40% [Working] 40% [42 Packages store 0 B] 40% [Working] 40% [43 Packages store 0 B] 41% [Working] 41% [44 Packages store 0 B] 41% [Working] Fetched 40.2 MB in 3s (13.5 MB/s) Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 2% Reading package lists... 2% Reading package lists... 21% Reading package lists... 21% Reading package lists... 21% Reading package lists... 21% Reading package lists... 26% Reading package lists... 26% Reading package lists... 34% Reading package lists... 34% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 37% Reading package lists... 37% Reading package lists... 41% Reading package lists... 41% Reading package lists... 49% Reading package lists... 49% Reading package lists... 50% Reading package lists... 50% Reading package lists... 50% Reading package lists... 50% Reading package lists... 52% Reading package lists... 52% Reading package lists... 52% Reading package lists... 52% Reading package lists... 57% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 76% Reading package lists... 76% Reading package lists... 84% Reading package lists... 84% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 90% Reading package lists... 90% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.83 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.83 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/binary-arm64/Packages 404 Not Found [IP: 91.189.91.83 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/binary-arm64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Some index files failed to download. They have been ignored, or old ones used instead.
Show reasoning
Restricting apt sources to amd64
[empty output]
Show reasoning
Reviewing security lines
[empty output]
Show reasoning
Verifying file contents
compile-bench> cat /etc/apt/sources.list # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy universe
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security universe
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
↓ 47 lines
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted # deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy universe # deb-src http://archive.ubuntu.com/ubuntu/ jammy universe deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates universe # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security main restricted # deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security universe # deb-src http://security.ubuntu.com/ubuntu/ jammy-security universe deb [arch=amd64] http://security.ubuntu.com/ubuntu/ jammy-security multiverse # deb-src http://security.ubuntu.com/ubuntu/ jammy-security multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
Show reasoning
Updating package lists
compile-bench> sudo apt-get update
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
0% [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [Waiting for headers] [4 InRelease 11.3 kB/129 kB 9%] [Waiting for headers]
0% [Waiting for headers] [4 InRelease 15.6 kB/129 kB 12%] [Waiting for headers]
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
0% [Waiting for headers] [4 InRelease 15.6 kB/129 kB 12%]
0% [Waiting for headers] [4 InRelease 30.1 kB/129 kB 23%] [Waiting for headers]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
0% [6 InRelease 9828 B/128 kB 8%] [4 InRelease 47.5 kB/129 kB 37%] [Waiting for
Hit:7 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
0% [6 InRelease 9828 B/128 kB 8%] [4 InRelease 47.5 kB/129 kB 37%]
0% [6 InRelease 18.5 kB/128 kB 14%] [4 InRelease 62.0 kB/129 kB 48%]
0% [6 InRelease 44.6 kB/128 kB 35%]
0% [6 InRelease 70.6 kB/128 kB 55%]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
0% [6 InRelease 76.4 kB/128 kB 60%]
0% [8 Packages store 0 B] [6 InRelease 76.4 kB/128 kB 60%]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5526 kB]
0% [8 Packages store 0 B] [6 InRelease 85.1 kB/128 kB 66%]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3336 kB]
0% [8 Packages store 0 B] [6 InRelease 90.9 kB/128 kB 71%]
Get:11 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [71.0 kB]
0% [8 Packages store 0 B] [6 InRelease 90.9 kB/128
[command output truncated]
InRelease 72.1 kB/127 kB 57%]
0% [10 Packages store 0 B]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5779 kB]
0% [10 Packages store 0 B]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3681 kB]
0% [10 Packages store 0 B]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB]
0% [10 Packages store 0 B]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB]
0% [10 Packages store 0 B]
98% [10 Packages store 0 B]
99% [Working]
99% [11 Packages store 0 B]
99% [Working]
99% [13 Packages store 0 B]
99% [Working]
99% [14 Packages store 6168 kB]
99% [Working]
99% [15 Packages store 0 B]
100% [Working]
100% [16 Packages store 0 B]
100% [Working]
Fetched 384 kB in 1s (291 kB/s)
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 26%
Reading package lists... 26%
Reading package lists... 34%
Reading package lists... 34%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 54%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 76%
Reading package lists... 76%
Reading package lists... 84%
Reading package lists... 84%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 90%
Reading package lists... 90%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
↓ 20 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] [Waiting for headers] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease 0% [Waiting for headers] [Waiting for headers] [Waiting for headers] 0% [Waiting for headers] [Waiting for headers] [Waiting for headers] Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease 0% [Waiting for headers] [Waiting for headers] 0% [Waiting for headers] [Waiting for headers] [Waiting for headers] Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [Waiting for headers] [4 InRelease 11.3 kB/129 kB 9%] [Waiting for headers] 0% [Waiting for headers] [4 InRelease 15.6 kB/129 kB 12%] [Waiting for headers] Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease 0% [Waiting for headers] [4 InRelease 15.6 kB/129 kB 12%] 0% [Waiting for headers] [4 InRelease 30.1 kB/129 kB 23%] [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] 0% [6 InRelease 9828 B/128 kB 8%] [4 InRelease 47.5 kB/129 kB 37%] [Waiting for Hit:7 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease 0% [6 InRelease 9828 B/128 kB 8%] [4 InRelease 47.5 kB/129 kB 37%] 0% [6 InRelease 18.5 kB/128 kB 14%] [4 InRelease 62.0 kB/129 kB 48%] 0% [6 InRelease 44.6 kB/128 kB 35%] 0% [6 InRelease 70.6 kB/128 kB 55%] Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB] 0% [6 InRelease 76.4 kB/128 kB 60%] 0% [8 Packages store 0 B] [6 InRelease 76.4 kB/128 kB 60%] Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5526 kB] 0% [8 Packages store 0 B] [6 InRelease 85.1 kB/128 kB 66%] Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3336 kB] 0% [8 Packages store 0 B] [6 InRelease 90.9 kB/128 kB 71%] Get:11 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [71.0 kB] 0% [8 Packages store 0 B] [6 InRelease 90.9 kB/128 [command output truncated] InRelease 72.1 kB/127 kB 57%] 0% [10 Packages store 0 B] Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5779 kB] 0% [10 Packages store 0 B] Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3681 kB] 0% [10 Packages store 0 B] Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB] 0% [10 Packages store 0 B] Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB] 0% [10 Packages store 0 B] 98% [10 Packages store 0 B] 99% [Working] 99% [11 Packages store 0 B] 99% [Working] 99% [13 Packages store 0 B] 99% [Working] 99% [14 Packages store 6168 kB] 99% [Working] 99% [15 Packages store 0 B] 100% [Working] 100% [16 Packages store 0 B] 100% [Working] Fetched 384 kB in 1s (291 kB/s) Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 2% Reading package lists... 2% Reading package lists... 21% Reading package lists... 21% Reading package lists... 21% Reading package lists... 21% Reading package lists... 26% Reading package lists... 26% Reading package lists... 34% Reading package lists... 34% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 37% Reading package lists... 37% Reading package lists... 37% Reading package lists... 37% Reading package lists... 41% Reading package lists... 41% Reading package lists... 49% Reading package lists... 49% Reading package lists... 51% Reading package lists... 51% Reading package lists... 51% Reading package lists... 51% Reading package lists... 53% Reading package lists... 53% Reading package lists... 53% Reading package lists... 53% Reading package lists... 54% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 76% Reading package lists... 76% Reading package lists... 84% Reading package lists... 84% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 90% Reading package lists... 90% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done
Show reasoning
Preparing cross-compilation dependencies
compile-bench> sudo apt-get install -y build-essential pkg-config gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libssl-dev:arm64 zlib1g-dev:arm64 libzstd-dev:arm64 libbrotli-dev:arm64
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 21%
Reading package lists... 26%
Reading package lists... 26%
Reading package lists... 34%
Reading package lists... 34%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 36%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 37%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 53%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 76%
Reading package lists... 76%
Reading package lists... 84%
Reading package lists... 84%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 86%
Reading package lists... 90%
Reading package lists... 90%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
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... 64%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
The following additional packages will be installed:
binutils-aarch64-linux-gnu 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-base:arm64
gcc-12-cross-base krb5-locales libasan6-arm64-cross libatomic1-arm64-cross
libbrotli1:arm64 libc-dev-bin libc6 libc6:arm64 libc6-arm64-cross libc6-dev
libc6-dev:arm64 libc6-dev-arm64-cross libcom-err2:arm64 libcrypt-dev:arm64
libcrypt1:arm64 libgcc-11-dev-arm64-cross libgcc-s1:arm64
libgcc-s1-arm64-cross libglib2.0-0 libglib2.0-data libgomp1-arm64-cross
libgssapi-krb5-2:arm64 libhwasan0-arm64-cross libicu70 libidn2-0:arm64
libitm1-arm64-cross libk5crypto3:arm64 libkeyutils1:arm64 libkrb5-3:arm64
libkrb5support0:arm64 liblsan0-a
[command output truncated]
ross1) ...
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 libc6-dev:amd64 (2.35-0ubuntu3.11) ...
Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ...
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 shared-mime-info (2.1-2) ...
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) ...
Setting up libcrypt1:arm64 (1:4.4.27-1) ...
Setting up libgcc-s1:arm64 (12.3.0-1ubuntu1~22.04.2) ...
Setting up libc6:arm64 (2.35-0ubuntu3.11) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libcrypt-dev:arm64 (1:4.4.27-1) ...
Setting up libzstd1:arm64 (1.4.8+dfsg-3build1) ...
Setting up libkeyutils1:arm64 (1.6.1-2ubuntu3) ...
Setting up libzstd-dev:arm64 (1.4.8+dfsg-3build1) ...
Setting up libbrotli1:arm64 (1.0.9-2build6) ...
Setting up libssl3:arm64 (3.0.2-0ubuntu1.19) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libunistring2:arm64 (1.0-1) ...
Setting up zlib1g:arm64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libidn2-0:arm64 (2.3.2-2build1) ...
Setting up libcom-err2:arm64 (1.46.5-2ubuntu1.2) ...
Setting up libkrb5support0:arm64 (1.19.2-2ubuntu0.7) ...
Setting up libssl-dev:arm64 (3.0.2-0ubuntu1.19) ...
Setting up libk5crypto3:arm64 (1.19.2-2ubuntu0.7) ...
Setting up libkrb5-3:arm64 (1.19.2-2ubuntu0.7) ...
Setting up libbrotli-dev:arm64 (1.0.9-2build6) ...
Setting up libgssapi-krb5-2:arm64 (1.19.2-2ubuntu0.7) ...
Setting up libtirpc3:arm64 (1.3.2-2ubuntu0.1) ...
Setting up libtirpc-dev:arm64 (1.3.2-2ubuntu0.1) ...
Setting up libnsl2:arm64 (1.3.0-2build2) ...
Setting up libnss-nisplus:arm64 (1.3-0ubuntu6) ...
Setting up libnss-nis:arm64 (3.1-0ubuntu6) ...
Setting up libnsl-dev:arm64 (1.3.0-2build2) ...
Setting up libc6-dev:arm64 (2.35-0ubuntu3.11) ...
Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 72 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 2% Reading package lists... 2% Reading package lists... 21% Reading package lists... 21% Reading package lists... 21% Reading package lists... 21% Reading package lists... 26% Reading package lists... 26% Reading package lists... 34% Reading package lists... 34% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 36% Reading package lists... 37% Reading package lists... 37% Reading package lists... 37% Reading package lists... 37% Reading package lists... 41% Reading package lists... 41% Reading package lists... 49% Reading package lists... 49% Reading package lists... 51% Reading package lists... 51% Reading package lists... 51% Reading package lists... 51% Reading package lists... 53% Reading package lists... 53% Reading package lists... 53% Reading package lists... 53% Reading package lists... 53% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 76% Reading package lists... 76% Reading package lists... 84% Reading package lists... 84% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 90% Reading package lists... 90% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% 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... 64% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done build-essential is already the newest version (12.9ubuntu3). The following additional packages will be installed: binutils-aarch64-linux-gnu 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-base:arm64 gcc-12-cross-base krb5-locales libasan6-arm64-cross libatomic1-arm64-cross libbrotli1:arm64 libc-dev-bin libc6 libc6:arm64 libc6-arm64-cross libc6-dev libc6-dev:arm64 libc6-dev-arm64-cross libcom-err2:arm64 libcrypt-dev:arm64 libcrypt1:arm64 libgcc-11-dev-arm64-cross libgcc-s1:arm64 libgcc-s1-arm64-cross libglib2.0-0 libglib2.0-data libgomp1-arm64-cross libgssapi-krb5-2:arm64 libhwasan0-arm64-cross libicu70 libidn2-0:arm64 libitm1-arm64-cross libk5crypto3:arm64 libkeyutils1:arm64 libkrb5-3:arm64 libkrb5support0:arm64 liblsan0-a [command output truncated] ross1) ... 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 libc6-dev:amd64 (2.35-0ubuntu3.11) ... Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ... 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 shared-mime-info (2.1-2) ... 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) ... Setting up libcrypt1:arm64 (1:4.4.27-1) ... Setting up libgcc-s1:arm64 (12.3.0-1ubuntu1~22.04.2) ... Setting up libc6:arm64 (2.35-0ubuntu3.11) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Setting up libcrypt-dev:arm64 (1:4.4.27-1) ... Setting up libzstd1:arm64 (1.4.8+dfsg-3build1) ... Setting up libkeyutils1:arm64 (1.6.1-2ubuntu3) ... Setting up libzstd-dev:arm64 (1.4.8+dfsg-3build1) ... Setting up libbrotli1:arm64 (1.0.9-2build6) ... Setting up libssl3:arm64 (3.0.2-0ubuntu1.19) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Setting up libunistring2:arm64 (1.0-1) ... Setting up zlib1g:arm64 (1:1.2.11.dfsg-2ubuntu9.2) ... Setting up libidn2-0:arm64 (2.3.2-2build1) ... Setting up libcom-err2:arm64 (1.46.5-2ubuntu1.2) ... Setting up libkrb5support0:arm64 (1.19.2-2ubuntu0.7) ... Setting up libssl-dev:arm64 (3.0.2-0ubuntu1.19) ... Setting up libk5crypto3:arm64 (1.19.2-2ubuntu0.7) ... Setting up libkrb5-3:arm64 (1.19.2-2ubuntu0.7) ... Setting up libbrotli-dev:arm64 (1.0.9-2build6) ... Setting up libgssapi-krb5-2:arm64 (1.19.2-2ubuntu0.7) ... Setting up libtirpc3:arm64 (1.3.2-2ubuntu0.1) ... Setting up libtirpc-dev:arm64 (1.3.2-2ubuntu0.1) ... Setting up libnsl2:arm64 (1.3.0-2build2) ... Setting up libnss-nisplus:arm64 (1.3-0ubuntu6) ... Setting up libnss-nis:arm64 (3.1-0ubuntu6) ... Setting up libnsl-dev:arm64 (1.3.0-2build2) ... Setting up libc6-dev:arm64 (2.35-0ubuntu3.11) ... Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-2ubuntu9.2) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Show reasoning
Verifying libraries and tar command
compile-bench> tar tf /home/peter/curl.tar.gz | head curl-8.16.0/
curl-8.16.0/.editorconfig
curl-8.16.0/CHANGES.md
curl-8.16.0/CMake/
curl-8.16.0/CMake/CMakeConfigurableFile.in
curl-8.16.0/CMake/CurlSymbolHiding.cmake
curl-8.16.0/CMake/CurlTests.c
curl-8.16.0/CMake/FindBrotli.cmake
curl-8.16.0/CMake/FindCares.cmake
curl-8.16.0/CMake/FindGSS.cmake
↓ 11 lines
curl-8.16.0/ curl-8.16.0/.editorconfig curl-8.16.0/CHANGES.md curl-8.16.0/CMake/ curl-8.16.0/CMake/CMakeConfigurableFile.in curl-8.16.0/CMake/CurlSymbolHiding.cmake curl-8.16.0/CMake/CurlTests.c curl-8.16.0/CMake/FindBrotli.cmake curl-8.16.0/CMake/FindCares.cmake curl-8.16.0/CMake/FindGSS.cmake
Show reasoning
Extracting archive to working directory
[empty output]
Show reasoning
Preparing to build curl source
compile-bench> cd curl-8.16.0 && ls CHANGES.md README configure lib projects
CMake RELEASE-NOTES configure.ac libcurl.pc.in scripts
CMakeLists.txt acinclude.m4 curl-config.in ltmain.sh src
COPYING aclocal.m4 depcomp m4 tests
Dockerfile compile docs missing winbuild
Makefile.am config.guess include packages
Makefile.in config.sub install-sh plan9
↓ 8 lines
CHANGES.md README configure lib projects CMake RELEASE-NOTES configure.ac libcurl.pc.in scripts CMakeLists.txt acinclude.m4 curl-config.in ltmain.sh src COPYING aclocal.m4 depcomp m4 tests Dockerfile compile docs missing winbuild Makefile.am config.guess include packages Makefile.in config.sub install-sh plan9
Show reasoning
Configuring cross-compilation environment variables
/usr/lib/aarch64-linux-gnu/libssl.a
Show reasoning
Checking zlib presence
/usr/lib/aarch64-linux-gnu/libz.a
Show reasoning
Checking brotli usage
ls: cannot access '/usr/lib/aarch64-linux-gnu/libbrotlidec-static.a': No such file or directory
Show reasoning
Checking for brotlidec libraries
compile-bench> ls /usr/lib/aarch64-linux-gnu/libbrotli*.a /usr/lib/aarch64-linux-gnu/libbrotlicommon.a
/usr/lib/aarch64-linux-gnu/libbrotlidec.a
/usr/lib/aarch64-linux-gnu/libbrotlienc.a
↓ 4 lines
/usr/lib/aarch64-linux-gnu/libbrotlicommon.a /usr/lib/aarch64-linux-gnu/libbrotlidec.a /usr/lib/aarch64-linux-gnu/libbrotlienc.a
Show reasoning
Checking for static zstd library
/usr/lib/aarch64-linux-gnu/libzstd.a
Show reasoning
Preparing and running configure command
compile-bench> cd curl-8.16.0 && CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ AR=aarch64-linux-gnu-ar RANLIB=aarch64-linux-gnu-ranlib STRIP=aarch64-linux-gnu-strip PKG_CONFIG=pkg-config PKG_CONFIG_LIBDIR=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig PKG_CONFIG_SYSROOT_DIR=/ CPPFLAGS='-I/usr/include/aarch64-linux-gnu' LDFLAGS='-static -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu' ./configure --host=aarch64-linux-gnu --build=$(./config.guess) --prefix=/home/peter/result --with-openssl --with-zlib --with-zstd --with-brotli --disable-shared --enable-static --disable-ldap --disable-ldaps --without-libidn2 --without-libpsl --without-nghttp2 --without-nghttp3 --without-nquic configure: WARNING: unrecognized options: --without-nquic
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 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
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unkn
[command output truncated]
l.pc
config.status: creating curl-config
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-nquic
configure: Configured to build curl/libcurl:
Host setup: aarch64-unknown-linux-gnu
Install prefix: /home/peter/result
Compiler: aarch64-linux-gnu-gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE
LDFLAGS: -static -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu
curl-config: -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu
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
↓ 125 lines
configure: WARNING: unrecognized options: --without-nquic
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 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
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unkn
[command output truncated]
l.pc
config.status: creating curl-config
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-nquic
configure: Configured to build curl/libcurl:
Host setup: aarch64-unknown-linux-gnu
Install prefix: /home/peter/result
Compiler: aarch64-linux-gnu-gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE
LDFLAGS: -static -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu
curl-config: -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu
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
Running parallel make build
compile-bench> cd 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
Preparing for installation
compile-bench> cd curl-8.16.0 && make install Making install in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libcurl.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libcurl.lai /home/peter/result/lib/libcurl.la
libtool: install: /usr/bin/install -c .libs/libcurl.a /home/peter/result/lib/libcurl.a
libtool: install: chmod 644 /home/peter/result/lib/libcurl.a
libtool: install: aarch64-linux-gnu-ranlib /home/peter/result/lib/libcurl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making install in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making install in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl-config.1 wcurl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making install in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making install in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making install in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/
[command output truncated]
ng directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/aclocal'
/usr/bin/install -c -m 644 libcurl.m4 '/home/peter/result/share/aclocal'
/usr/bin/mkdir -p '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 curl_easy_getinfo.3 curl_easy_header.3 curl_easy_init.3 curl_easy_nextheader.3 curl_easy_option_by_id.3 curl_easy_option_by_name.3 curl_easy_option_next.3 curl_easy_pause.3 curl_easy_perform.3 curl_easy_recv.3 curl_easy_reset.3 curl_easy_send.3 curl_easy_setopt.3 curl_easy_ssls_export.3 curl_easy_ssls_import.3 curl_easy_strerror.3 curl_easy_unescape.3 curl_easy_upkeep.3 curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formget.3 curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 curl_global_init.3 curl_global_init_mem.3 curl_global_sslset.3 curl_global_trace.3 curl_mime_addpart.3 curl_mime_data.3 curl_mime_data_cb.3 curl_mime_encoder.3 curl_mime_filedata.3 curl_mime_filename.3 curl_mime_free.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_mime_headers.3 curl_mime_init.3 curl_mime_name.3 curl_mime_subparts.3 curl_mime_type.3 curl_mprintf.3 curl_multi_add_handle.3 curl_multi_assign.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_get_handles.3 curl_multi_get_offt.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_poll.3 curl_multi_remove_handle.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_socket_action.3 curl_multi_socket_all.3 curl_multi_strerror.3 curl_multi_timeout.3 curl_multi_wait.3 curl_multi_waitfds.3 curl_multi_wakeup.3 curl_pushheader_byname.3 curl_pushheader_bynum.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 curl_share_strerror.3 curl_slist_append.3 curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 curl_unescape.3 curl_url.3 curl_url_cleanup.3 curl_url_dup.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_url_get.3 curl_url_set.3 curl_url_strerror.3 curl_version.3 curl_version_info.3 curl_ws_meta.3 curl_ws_recv.3 curl_ws_send.3 curl_ws_start_frame.3 libcurl-easy.3 libcurl-env-dbg.3 libcurl-env.3 libcurl-errors.3 libcurl-multi.3 libcurl-security.3 libcurl-share.3 libcurl-symbols.3 libcurl-thread.3 libcurl-tutorial.3 libcurl-url.3 libcurl-ws.3 libcurl.3 '/home/peter/result/share/man/man3'
make[6]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[4]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[3]: Leaving directory '/home/peter/curl-8.16.0'
make[2]: Leaving directory '/home/peter/curl-8.16.0'
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 72 lines
Making install in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libcurl.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libcurl.lai /home/peter/result/lib/libcurl.la
libtool: install: /usr/bin/install -c .libs/libcurl.a /home/peter/result/lib/libcurl.a
libtool: install: chmod 644 /home/peter/result/lib/libcurl.a
libtool: install: aarch64-linux-gnu-ranlib /home/peter/result/lib/libcurl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making install in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making install in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl-config.1 wcurl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making install in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making install in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making install in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/
[command output truncated]
ng directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/aclocal'
/usr/bin/install -c -m 644 libcurl.m4 '/home/peter/result/share/aclocal'
/usr/bin/mkdir -p '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 curl_easy_getinfo.3 curl_easy_header.3 curl_easy_init.3 curl_easy_nextheader.3 curl_easy_option_by_id.3 curl_easy_option_by_name.3 curl_easy_option_next.3 curl_easy_pause.3 curl_easy_perform.3 curl_easy_recv.3 curl_easy_reset.3 curl_easy_send.3 curl_easy_setopt.3 curl_easy_ssls_export.3 curl_easy_ssls_import.3 curl_easy_strerror.3 curl_easy_unescape.3 curl_easy_upkeep.3 curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formget.3 curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 curl_global_init.3 curl_global_init_mem.3 curl_global_sslset.3 curl_global_trace.3 curl_mime_addpart.3 curl_mime_data.3 curl_mime_data_cb.3 curl_mime_encoder.3 curl_mime_filedata.3 curl_mime_filename.3 curl_mime_free.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_mime_headers.3 curl_mime_init.3 curl_mime_name.3 curl_mime_subparts.3 curl_mime_type.3 curl_mprintf.3 curl_multi_add_handle.3 curl_multi_assign.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_get_handles.3 curl_multi_get_offt.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_poll.3 curl_multi_remove_handle.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_socket_action.3 curl_multi_socket_all.3 curl_multi_strerror.3 curl_multi_timeout.3 curl_multi_wait.3 curl_multi_waitfds.3 curl_multi_wakeup.3 curl_pushheader_byname.3 curl_pushheader_bynum.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 curl_share_strerror.3 curl_slist_append.3 curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 curl_unescape.3 curl_url.3 curl_url_cleanup.3 curl_url_dup.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_url_get.3 curl_url_set.3 curl_url_strerror.3 curl_version.3 curl_version_info.3 curl_ws_meta.3 curl_ws_recv.3 curl_ws_send.3 curl_ws_start_frame.3 libcurl-easy.3 libcurl-env-dbg.3 libcurl-env.3 libcurl-errors.3 libcurl-multi.3 libcurl-security.3 libcurl-share.3 libcurl-symbols.3 libcurl-thread.3 libcurl-tutorial.3 libcurl-url.3 libcurl-ws.3 libcurl.3 '/home/peter/result/share/man/man3'
make[6]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[4]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[3]: Leaving directory '/home/peter/curl-8.16.0'
make[2]: Leaving directory '/home/peter/curl-8.16.0'
make[1]: Leaving directory '/home/peter/curl-8.16.0'
Show reasoning
Preparing symlink for binary
[empty output]
Show reasoning
Verifying binary architecture and static linking
/home/peter/result/bin/curl: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=62ef1606ca075853671103fdc81128f50fe73a3f, for GNU/Linux 3.7.0, not stripped
Show reasoning
Diagnosing static linking challenges
I’m puzzling over why the binary is dynamically linked despite setting LDFLAGS=-static. It seems libtool or configure scripts might be overriding or ignoring these flags, especially with glibc cross environments. I want to dig into the build logs and Makefile—especially curl_LDADD or curl_LDFLAGS—to see how linking is actually handled and explore if setting --disable-shared or passing flags differently can yield a fully static binary. Let’s grep to pinpoint where linker flags are defined or overridden.
compile-bench> cd curl-8.16.0 && grep -n 'curl_LDFLAGS' -n src/Makefile 344: $(curl_LDFLAGS) $(LDFLAGS) -o $@
861:curl_LDFLAGS = $(AM_LDFLAGS) $(CURL_LDFLAGS_BIN) $(UNICODEFLAG)
↓ 3 lines
344: $(curl_LDFLAGS) $(LDFLAGS) -o $@ 861:curl_LDFLAGS = $(AM_LDFLAGS) $(CURL_LDFLAGS_BIN) $(UNICODEFLAG)
Show reasoning
Checking environment variables
861:curl_LDFLAGS = $(AM_LDFLAGS) $(CURL_LDFLAGS_BIN) $(UNICODEFLAG)
Show reasoning
Inspecting Makefile for AM_LDFLAGS
compile-bench> cd curl-8.16.0 && sed -n '820,880p' src/Makefile tool_version.h \
tool_vms.h \
tool_writeout.h \
tool_writeout_json.h \
tool_xattr.h \
var.h
CURL_RCFILES = curl.rc
# Get CURL_CFILES, CURL_HFILES, CURLX_CFILES, CURLX_HFILES, CURL_RCFILES variables
EXTRA_DIST = CMakeLists.txt .checksrc mk-file-embed.pl mkhelp.pl $(CURL_RCFILES)
# Specify our include paths here, and do it relative to $(top_srcdir) and
# $(top_builddir), to ensure that these paths which belong to the library
# being currently built and tested are searched before the library which
# might possibly already be installed in the system.
#
# $(top_srcdir)/include is for libcurl's external include files
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
# $(top_srcdir)/lib for libcurl's lib/curl_setup.h and other "borrowed" files
# $(srcdir) for generated sources to find included sources
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/lib \
-I$(top_srcdir)/lib -I$(srcdir) $(am__append_1) \
$(am__append_2) $(am__append_3)
curlinfo_SOURCES = curlinfo.c
AM_LDFLAGS =
#UNICODEFLAG = -municode
curl_cfiles_gen = $(HUGE) $(CA_EMBED_CSOURCE)
curl_hfiles_gen = tool_hugehelp.h
CLEANFILES = $(am__append_4) $(am__append_6) $(HUGE) \
$(CA_EMBED_CSOURCE)
# These are part of the libcurl static lib. Add them here when linking shared.
#curlx_csrc = $(CURLX_CFILES)
curlx_csrc =
#curlx_hsrc = $(CURLX_HFILES)
curlx_hsrc =
#nodist_curl_SOURCES = curltool_unity.c
curl_SOURCES = $(CURL_CFILES) $(CURL_HFILES) \
$(curl_cfiles_gen) $(curl_hfiles_gen) \
$(curlx_csrc) $(curlx_hsrc) $(am__append_5)
#curl_SOURCES = $(am__append_5)
curl_LDFLAGS = $(AM_LDFLAGS) $(CURL_LDFLAGS_BIN) $(UNICODEFLAG)
curl_LDADD = $(top_builddir)/lib/libcurl.la -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz
# if unit tests are enabled, build a static library to link them with
noinst_LTLIBRARIES = libcurltool.la
libcurltool_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_STATICLIB -DUNITTESTS
libcurltool_la_CFLAGS =
libcurltool_la_LDFLAGS = -static $(LIBCURL_PC_LIBS_PRIVATE)
#nodist_libcurltool_la_SOURCES = libcurltool_unity.c
libcurltool_la_SOURCES = $(CURL_CFILES) $(CURL_HFILES) $(curlx_csrc) $(curlx_hsrc)
#libcurltool_la_SOURCES =
# Use absolute directory to disable VPATH
ASCIIPAGE = $(top_builddir)/docs/cmdline-opts/curl.txt
MKHELP = $(top_srcdir)/src/mkhelp.pl
HUGE = tool_hugehelp.c
HUGECMD = $(HUGEIT_$(V))
HUGEIT_0 = @echo " HUGE " $@;
HUGEIT_1 =
HUGEIT_ = $(HUGEIT_0)
↓ 62 lines
tool_version.h \ tool_vms.h \ tool_writeout.h \ tool_writeout_json.h \ tool_xattr.h \ var.h CURL_RCFILES = curl.rc # Get CURL_CFILES, CURL_HFILES, CURLX_CFILES, CURLX_HFILES, CURL_RCFILES variables EXTRA_DIST = CMakeLists.txt .checksrc mk-file-embed.pl mkhelp.pl $(CURL_RCFILES) # Specify our include paths here, and do it relative to $(top_srcdir) and # $(top_builddir), to ensure that these paths which belong to the library # being currently built and tested are searched before the library which # might possibly already be installed in the system. # # $(top_srcdir)/include is for libcurl's external include files # $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file # $(top_srcdir)/lib for libcurl's lib/curl_setup.h and other "borrowed" files # $(srcdir) for generated sources to find included sources AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/lib \ -I$(top_srcdir)/lib -I$(srcdir) $(am__append_1) \ $(am__append_2) $(am__append_3) curlinfo_SOURCES = curlinfo.c AM_LDFLAGS = #UNICODEFLAG = -municode curl_cfiles_gen = $(HUGE) $(CA_EMBED_CSOURCE) curl_hfiles_gen = tool_hugehelp.h CLEANFILES = $(am__append_4) $(am__append_6) $(HUGE) \ $(CA_EMBED_CSOURCE) # These are part of the libcurl static lib. Add them here when linking shared. #curlx_csrc = $(CURLX_CFILES) curlx_csrc = #curlx_hsrc = $(CURLX_HFILES) curlx_hsrc = #nodist_curl_SOURCES = curltool_unity.c curl_SOURCES = $(CURL_CFILES) $(CURL_HFILES) \ $(curl_cfiles_gen) $(curl_hfiles_gen) \ $(curlx_csrc) $(curlx_hsrc) $(am__append_5) #curl_SOURCES = $(am__append_5) curl_LDFLAGS = $(AM_LDFLAGS) $(CURL_LDFLAGS_BIN) $(UNICODEFLAG) curl_LDADD = $(top_builddir)/lib/libcurl.la -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz # if unit tests are enabled, build a static library to link them with noinst_LTLIBRARIES = libcurltool.la libcurltool_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_STATICLIB -DUNITTESTS libcurltool_la_CFLAGS = libcurltool_la_LDFLAGS = -static $(LIBCURL_PC_LIBS_PRIVATE) #nodist_libcurltool_la_SOURCES = libcurltool_unity.c libcurltool_la_SOURCES = $(CURL_CFILES) $(CURL_HFILES) $(curlx_csrc) $(curlx_hsrc) #libcurltool_la_SOURCES = # Use absolute directory to disable VPATH ASCIIPAGE = $(top_builddir)/docs/cmdline-opts/curl.txt MKHELP = $(top_srcdir)/src/mkhelp.pl HUGE = tool_hugehelp.c HUGECMD = $(HUGEIT_$(V)) HUGEIT_0 = @echo " HUGE " $@; HUGEIT_1 = HUGEIT_ = $(HUGEIT_0)
Show reasoning
Investigating static linking flags
[empty output]
Show reasoning
Analyzing static linking options and flags
I'm exploring how to enforce static linking during build by passing flags through make and configure. I want to test if setting AM_LDFLAGS=-static at make time will produce a fully static binary, since just LDFLAGS or configure options don’t seem to suffice. I’ll verify the actual linker commands with verbose make output next.
make: *** No rule to make target 'curl'. Stop.
Show reasoning
Testing curl target with make
compile-bench> cd curl-8.16.0 && make -C src V=1 curl make: Entering directory '/home/peter/curl-8.16.0/src'
make: 'curl' is up to date.
make: Leaving directory '/home/peter/curl-8.16.0/src'
↓ 4 lines
make: Entering directory '/home/peter/curl-8.16.0/src' make: 'curl' is up to date. make: Leaving directory '/home/peter/curl-8.16.0/src'
Show reasoning
Cleaning and rebuilding with verbose make
compile-bench> cd curl-8.16.0 && make -C src clean make: Entering directory '/home/peter/curl-8.16.0/src'
rm -f curl
test -z " tool_hugehelp.c tool_ca_embed.c" || rm -f tool_hugehelp.c tool_ca_embed.c
rm -rf .libs _libs
rm -rf ../lib/curlx/.libs ../lib/curlx/_libs
test -z "libcurltool.la" || rm -f libcurltool.la
rm -f ./so_locations
rm -f curlinfo
rm -f *.o
rm -f ../lib/curlx/*.o
rm -f ../lib/curlx/*.lo
rm -f *.lo
make: Leaving directory '/home/peter/curl-8.16.0/src'
↓ 14 lines
make: Entering directory '/home/peter/curl-8.16.0/src' rm -f curl test -z " tool_hugehelp.c tool_ca_embed.c" || rm -f tool_hugehelp.c tool_ca_embed.c rm -rf .libs _libs rm -rf ../lib/curlx/.libs ../lib/curlx/_libs test -z "libcurltool.la" || rm -f libcurltool.la rm -f ./so_locations rm -f curlinfo rm -f *.o rm -f ../lib/curlx/*.o rm -f ../lib/curlx/*.lo rm -f *.lo make: Leaving directory '/home/peter/curl-8.16.0/src'
Show reasoning
Rebuilding with verbose output
compile-bench> cd curl-8.16.0 && make -C src V=1 curl make: Entering directory '/home/peter/curl-8.16.0/src'
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-config2setopts.o -MD -MP -MF .deps/curl-config2setopts.Tpo -c -o curl-config2setopts.o `test -f 'config2setopts.c' || echo './'`config2setopts.c
mv -f .deps/curl-config2setopts.Tpo .deps/curl-config2setopts.Po
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-slist_wc.o -MD -MP -MF .deps/curl-slist_wc.Tpo -c -o curl-slist_wc.o `test -f 'slist_wc.c' || echo './'`slist_wc.c
mv -f .deps/curl-slist_wc.Tpo .deps/curl-slist_wc.Po
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-terminal.o -MD -MP -MF .deps/curl-terminal.Tpo -c -o curl-terminal.o `test -f 'terminal.c' || echo './'`terminal.c
mv -f .deps/curl-terminal.Tpo .deps/curl-terminal.Po
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_bname.o -MD -MP -MF .deps/curl-tool_bname.Tpo -c -o curl-tool_bname.o `test -f 'tool_bname.c' || echo './'`tool_bname.c
mv -f .deps/curl-tool_bname.Tpo .deps/curl-tool_bname.Po
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_cb_dbg.o -MD -MP -MF .deps/curl-tool_cb_dbg.Tpo -c -o curl-tool_cb_dbg.o `test -f 'tool_cb_dbg.c' || echo './'`tool_cb_dbg.c
mv -f .deps/curl-tool_cb_dbg.Tpo .deps/curl-tool_cb_dbg.Po
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_cb_hdr.o -MD -MP -MF .deps/curl-tool_cb_hdr.Tpo -c -o curl-tool_cb_hdr.o `test -f 'tool_cb_hdr.c' || echo './'`tool_cb_hdr.c
mv -f .deps/curl-tool_cb_hdr.Tpo .deps/curl-tool_cb_hdr.Po
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_cb_prg.o -MD -MP -MF .deps/curl-tool_cb_prg.Tpo -c -o curl-tool_cb_prg.o `test -f 'tool_cb_prg.c' || echo './'`tool_cb_prg.c
mv -f .deps/curl-tool_cb_prg.Tpo .deps/curl-tool_c
[command output truncated]
void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c
aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_ca_embed.o -MD -MP -MF .deps/curl-tool_ca_embed.Tpo -c -o curl-tool_ca_embed.o `test -f 'tool_ca_embed.c' || echo './'`tool_ca_embed.c
mv -f .deps/curl-tool_ca_embed.Tpo .deps/curl-tool_ca_embed.Po
/bin/bash ../libtool --tag=CC --mode=link aarch64-linux-gnu-gcc -Werror-implicit-function-declaration -O2 -Wno-system-headers -static -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -o curl curl-config2setopts.o curl-slist_wc.o curl-terminal.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_soc.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_filetime.o curl-tool_findfile.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_ipfs.o curl-tool_libinfo.o curl-tool_listhelp.o curl-tool_main.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_progress.o curl-tool_setopt.o curl-tool_ssls.o curl-tool_stderr.o curl-tool_strdup.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeout.o curl-tool_writeout_json.o curl-tool_xattr.o curl-var.o curl-tool_hugehelp.o curl-tool_ca_embed.o ../lib/libcurl.la -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz
libtool: link: aarch64-linux-gnu-gcc -Werror-implicit-function-declaration -O2 -Wno-system-headers -o curl curl-config2setopts.o curl-slist_wc.o curl-terminal.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_soc.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_filetime.o curl-tool_findfile.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_ipfs.o curl-tool_libinfo.o curl-tool_listhelp.o curl-tool_main.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_progress.o curl-tool_setopt.o curl-tool_ssls.o curl-tool_stderr.o curl-tool_strdup.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeout.o curl-tool_writeout_json.o curl-tool_xattr.o curl-var.o curl-tool_hugehelp.o curl-tool_ca_embed.o -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu ../lib/.libs/libcurl.a -lssl -lcrypto -lzstd -lbrotlidec -lbrotlicommon -lz
make: Leaving directory '/home/peter/curl-8.16.0/src'
↓ 23 lines
make: Entering directory '/home/peter/curl-8.16.0/src' aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-config2setopts.o -MD -MP -MF .deps/curl-config2setopts.Tpo -c -o curl-config2setopts.o `test -f 'config2setopts.c' || echo './'`config2setopts.c mv -f .deps/curl-config2setopts.Tpo .deps/curl-config2setopts.Po aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-slist_wc.o -MD -MP -MF .deps/curl-slist_wc.Tpo -c -o curl-slist_wc.o `test -f 'slist_wc.c' || echo './'`slist_wc.c mv -f .deps/curl-slist_wc.Tpo .deps/curl-slist_wc.Po aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-terminal.o -MD -MP -MF .deps/curl-terminal.Tpo -c -o curl-terminal.o `test -f 'terminal.c' || echo './'`terminal.c mv -f .deps/curl-terminal.Tpo .deps/curl-terminal.Po aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_bname.o -MD -MP -MF .deps/curl-tool_bname.Tpo -c -o curl-tool_bname.o `test -f 'tool_bname.c' || echo './'`tool_bname.c mv -f .deps/curl-tool_bname.Tpo .deps/curl-tool_bname.Po aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_cb_dbg.o -MD -MP -MF .deps/curl-tool_cb_dbg.Tpo -c -o curl-tool_cb_dbg.o `test -f 'tool_cb_dbg.c' || echo './'`tool_cb_dbg.c mv -f .deps/curl-tool_cb_dbg.Tpo .deps/curl-tool_cb_dbg.Po aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_cb_hdr.o -MD -MP -MF .deps/curl-tool_cb_hdr.Tpo -c -o curl-tool_cb_hdr.o `test -f 'tool_cb_hdr.c' || echo './'`tool_cb_hdr.c mv -f .deps/curl-tool_cb_hdr.Tpo .deps/curl-tool_cb_hdr.Po aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_cb_prg.o -MD -MP -MF .deps/curl-tool_cb_prg.Tpo -c -o curl-tool_cb_prg.o `test -f 'tool_cb_prg.c' || echo './'`tool_cb_prg.c mv -f .deps/curl-tool_cb_prg.Tpo .deps/curl-tool_c [command output truncated] void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I. -DCURL_STATICLIB -DUSE_MANUAL -isystem /usr/include/aarch64-linux-gnu -D_GNU_SOURCE -Werror-implicit-function-declaration -O2 -Wno-system-headers -MT curl-tool_ca_embed.o -MD -MP -MF .deps/curl-tool_ca_embed.Tpo -c -o curl-tool_ca_embed.o `test -f 'tool_ca_embed.c' || echo './'`tool_ca_embed.c mv -f .deps/curl-tool_ca_embed.Tpo .deps/curl-tool_ca_embed.Po /bin/bash ../libtool --tag=CC --mode=link aarch64-linux-gnu-gcc -Werror-implicit-function-declaration -O2 -Wno-system-headers -static -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu -o curl curl-config2setopts.o curl-slist_wc.o curl-terminal.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_soc.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_filetime.o curl-tool_findfile.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_ipfs.o curl-tool_libinfo.o curl-tool_listhelp.o curl-tool_main.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_progress.o curl-tool_setopt.o curl-tool_ssls.o curl-tool_stderr.o curl-tool_strdup.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeout.o curl-tool_writeout_json.o curl-tool_xattr.o curl-var.o curl-tool_hugehelp.o curl-tool_ca_embed.o ../lib/libcurl.la -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz libtool: link: aarch64-linux-gnu-gcc -Werror-implicit-function-declaration -O2 -Wno-system-headers -o curl curl-config2setopts.o curl-slist_wc.o curl-terminal.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_soc.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_filetime.o curl-tool_findfile.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_ipfs.o curl-tool_libinfo.o curl-tool_listhelp.o curl-tool_main.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_progress.o curl-tool_setopt.o curl-tool_ssls.o curl-tool_stderr.o curl-tool_strdup.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeout.o curl-tool_writeout_json.o curl-tool_xattr.o curl-var.o curl-tool_hugehelp.o curl-tool_ca_embed.o -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu -L//usr/lib/aarch64-linux-gnu ../lib/.libs/libcurl.a -lssl -lcrypto -lzstd -lbrotlidec -lbrotlicommon -lz make: Leaving directory '/home/peter/curl-8.16.0/src'
Show reasoning
Analyzing static linking flags for build
I'm investigating how to ensure libtool produces a fully static binary by passing -all-static instead of just -static. It looks like setting AM_LDFLAGS=-all-static before building and cleaning the entire tree will help preserve necessary flags while enforcing static linking. I'll plan to run make clean top-level and rebuild with make AM_LDFLAGS=-all-static to guarantee consistent static linking during build and install steps.
compile-bench> cd curl-8.16.0 && make clean Making clean in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
test -z "unitprotos.h" || rm -f unitprotos.h
test -z "libcurl.la" || rm -f libcurl.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf curlx/.libs curlx/_libs
rm -rf vauth/.libs vauth/_libs
rm -rf vquic/.libs vquic/_libs
rm -rf vssh/.libs vssh/_libs
rm -rf vtls/.libs vtls/_libs
test -z "libcurlu.la" || rm -f libcurlu.la
rm -f ./so_locations
rm -f *.o
rm -f curlx/*.o
rm -f curlx/*.lo
rm -f vauth/*.o
rm -f vauth/*.lo
rm -f vquic/*.o
rm -f vquic/*.lo
rm -f vssh/*.o
rm -f vssh/*.lo
rm -f vtls/*.o
rm -f vtls/*.lo
rm -f *.lo
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making clean in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making clean in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
test -z "mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1" || rm -f mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making clean in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
test -z "curl.1 curl.txt" || rm -f curl.1 curl.txt
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making clean in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making clean in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
test -z "CURLINFO_ACTIVESOCKET.3 CURLINFO_APPCONNECT_TIME.3 CURLINFO_APPCONNECT_TIME_T.3 CURLINFO_CAINFO.3 CURLINFO_CAPATH.3 CURLINFO_CERTINFO.3 CURLINFO_CONDITION_UNMET.3 CURLINFO_CONNECT_TIME.3 CURLINFO_CONN_ID.3 CURLINFO_CONNECT_TIME_T.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.3 CURLINFO_CONTENT_LENGTH_UPLOAD.3 CURLINFO_CONTENT_LENGTH_UPLOAD_T.3 CURLINFO_CONTENT_TYPE.3 CURLINFO_COOKIELIST.3 CURLINFO_EARLYDATA_SENT_T.3 CURLINFO_EFFECTIVE_METHOD.3 CURLINFO_EFFECTIVE_URL.3 CURLINFO_FILETIME.3 CURLINFO_FILETIME_T.3 CURLINFO_FTP_ENTRY_PATH.3 CURLINFO_HEADER_SIZE.3 CURLINFO_HTTP_CONNECTCODE.3 CURLINFO_HTTP_VERSION.3 CURLINFO_HTTPAUTH_AVAIL.3 CURLINFO_HTTPAUTH_USED.3 CURLINFO_LASTSOCKET.3 CURLINFO_LOCAL_IP.3 CURLINFO_LOCAL_PORT.3 CURLINFO_NAMELOOKUP_TIME.3 CURLINFO_NAMELOOKUP_TIME_T.3 CURLINFO_NUM_CONNECTS.3 CURLINFO_OS_ERRNO.3 CURLINFO_PRETRANSFER_TIME.3 CURLINFO_PRETRANSFER_TIME_T.3 CURLINFO_POSTTRANSFER_TIME_T.3 CURLINFO_PRIMARY_IP.3 CURLINFO_PRIMARY_PORT.3 CURLINFO_PRIVATE.3 CURLINFO_PROTOCOL.3 CURLINFO_PROXY_ERROR.3 CURLINFO_PROXY_SSL_VERIFYRESULT.3 CURLINFO_PROXYAUTH_AVAIL.3 CURLINFO_PROXYAUTH_USED.3 CURLINFO_QUEUE_TIME_T.3 CURLINFO_REDIRECT_COUNT.3 CURLINFO_REDIRECT_TIME.3 CURLINFO_REDIRECT_TIME_T.3 CURLINFO_REDIRECT_URL.3 CURLINFO_REFERER.3 CURLINFO_REQUEST_SIZE.3 CURLINFO_RESPONSE_CODE.3 CURLINFO_RETRY_AFTER.3 CURLINFO_RTSP_CLIENT_CSEQ.3 CURLINFO_RTSP_CSEQ_RECV.3 CURLINFO_RTSP_SERVER_CSEQ.3 CURLINFO_RTSP_SESSION_ID.3 CUR
[command output truncated]
rt test-ca.crt test-ca.key test-localhost.crl test-localhost.crt test-localhost.key test-localhost.pem test-localhost.pub.der test-localhost.pub.pem test-localhost.nn.crl test-localhost.nn.crt test-localhost.nn.key test-localhost.nn.pem test-localhost.nn.pub.der test-localhost.nn.pub.pem test-localhost0h.crl test-localhost0h.crt test-localhost0h.key test-localhost0h.pem test-localhost0h.pub.der test-localhost0h.pub.pem test-localhost-san-first.crl test-localhost-san-first.crt test-localhost-san-first.key test-localhost-san-first.pem test-localhost-san-first.pub.der test-localhost-san-first.pub.pem test-localhost-san-last.crl test-localhost-san-last.crt test-localhost-san-last.key test-localhost-san-last.pem test-localhost-san-last.pub.der test-localhost-san-last.pub.pem test-client-cert.crl test-client-cert.crt test-client-cert.key test-client-cert.pem test-client-cert.pub.der test-client-cert.pub.pem \
test-*.csr \
test-*.der \
test-*.keyenc \
test-ca.cnt* \
test-ca.db* \
test-ca.raw* \
test-ca.srl
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/certs'
Making clean in data
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/data'
rm -rf .libs _libs
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/data'
Making clean in server
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/server'
test -z "servers.c" || rm -f servers.c
rm -rf .libs _libs
rm -f servers
rm -f servers
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/server'
Making clean in libtest
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/libtest'
test -z "libtests.c lib1521.c" || rm -f libtests.c lib1521.c
rm -rf .libs _libs
rm -f libtests
rm -f libtests
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/libtest'
Making clean in http
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/http'
rm -rf .libs _libs
rm -rf *.pyc __pycache__
rm -rf gen
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/http'
Making clean in unit
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/unit'
test -z "units.c" || rm -f units.c
rm -rf .libs _libs
rm -f units
rm -f units
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/unit'
Making clean in tunit
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/tunit'
test -z "tunits.c" || rm -f tunits.c
rm -rf .libs _libs
rm -f tunits
rm -f tunits
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/tunit'
make[3]: Entering directory '/home/peter/curl-8.16.0/tests'
test -z ".http.pid .https.pid .ftp.pid .ftps.pid" || rm -f .http.pid .https.pid .ftp.pid .ftps.pid
rm -rf .libs _libs
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests'
make[2]: Leaving directory '/home/peter/curl-8.16.0/tests'
rm -f *.lo
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 113 lines
Making clean in lib make[1]: Entering directory '/home/peter/curl-8.16.0/lib' test -z "unitprotos.h" || rm -f unitprotos.h test -z "libcurl.la" || rm -f libcurl.la rm -f ./so_locations rm -rf .libs _libs rm -rf curlx/.libs curlx/_libs rm -rf vauth/.libs vauth/_libs rm -rf vquic/.libs vquic/_libs rm -rf vssh/.libs vssh/_libs rm -rf vtls/.libs vtls/_libs test -z "libcurlu.la" || rm -f libcurlu.la rm -f ./so_locations rm -f *.o rm -f curlx/*.o rm -f curlx/*.lo rm -f vauth/*.o rm -f vauth/*.lo rm -f vquic/*.o rm -f vquic/*.lo rm -f vssh/*.o rm -f vssh/*.lo rm -f vtls/*.o rm -f vtls/*.lo rm -f *.lo make[1]: Leaving directory '/home/peter/curl-8.16.0/lib' Making clean in docs make[1]: Entering directory '/home/peter/curl-8.16.0/docs' Making clean in . make[2]: Entering directory '/home/peter/curl-8.16.0/docs' test -z "mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1" || rm -f mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1 rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/peter/curl-8.16.0/docs' Making clean in cmdline-opts make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts' test -z "curl.1 curl.txt" || rm -f curl.1 curl.txt rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts' Making clean in libcurl make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl' Making clean in opts make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/opts' test -z "CURLINFO_ACTIVESOCKET.3 CURLINFO_APPCONNECT_TIME.3 CURLINFO_APPCONNECT_TIME_T.3 CURLINFO_CAINFO.3 CURLINFO_CAPATH.3 CURLINFO_CERTINFO.3 CURLINFO_CONDITION_UNMET.3 CURLINFO_CONNECT_TIME.3 CURLINFO_CONN_ID.3 CURLINFO_CONNECT_TIME_T.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.3 CURLINFO_CONTENT_LENGTH_UPLOAD.3 CURLINFO_CONTENT_LENGTH_UPLOAD_T.3 CURLINFO_CONTENT_TYPE.3 CURLINFO_COOKIELIST.3 CURLINFO_EARLYDATA_SENT_T.3 CURLINFO_EFFECTIVE_METHOD.3 CURLINFO_EFFECTIVE_URL.3 CURLINFO_FILETIME.3 CURLINFO_FILETIME_T.3 CURLINFO_FTP_ENTRY_PATH.3 CURLINFO_HEADER_SIZE.3 CURLINFO_HTTP_CONNECTCODE.3 CURLINFO_HTTP_VERSION.3 CURLINFO_HTTPAUTH_AVAIL.3 CURLINFO_HTTPAUTH_USED.3 CURLINFO_LASTSOCKET.3 CURLINFO_LOCAL_IP.3 CURLINFO_LOCAL_PORT.3 CURLINFO_NAMELOOKUP_TIME.3 CURLINFO_NAMELOOKUP_TIME_T.3 CURLINFO_NUM_CONNECTS.3 CURLINFO_OS_ERRNO.3 CURLINFO_PRETRANSFER_TIME.3 CURLINFO_PRETRANSFER_TIME_T.3 CURLINFO_POSTTRANSFER_TIME_T.3 CURLINFO_PRIMARY_IP.3 CURLINFO_PRIMARY_PORT.3 CURLINFO_PRIVATE.3 CURLINFO_PROTOCOL.3 CURLINFO_PROXY_ERROR.3 CURLINFO_PROXY_SSL_VERIFYRESULT.3 CURLINFO_PROXYAUTH_AVAIL.3 CURLINFO_PROXYAUTH_USED.3 CURLINFO_QUEUE_TIME_T.3 CURLINFO_REDIRECT_COUNT.3 CURLINFO_REDIRECT_TIME.3 CURLINFO_REDIRECT_TIME_T.3 CURLINFO_REDIRECT_URL.3 CURLINFO_REFERER.3 CURLINFO_REQUEST_SIZE.3 CURLINFO_RESPONSE_CODE.3 CURLINFO_RETRY_AFTER.3 CURLINFO_RTSP_CLIENT_CSEQ.3 CURLINFO_RTSP_CSEQ_RECV.3 CURLINFO_RTSP_SERVER_CSEQ.3 CURLINFO_RTSP_SESSION_ID.3 CUR [command output truncated] rt test-ca.crt test-ca.key test-localhost.crl test-localhost.crt test-localhost.key test-localhost.pem test-localhost.pub.der test-localhost.pub.pem test-localhost.nn.crl test-localhost.nn.crt test-localhost.nn.key test-localhost.nn.pem test-localhost.nn.pub.der test-localhost.nn.pub.pem test-localhost0h.crl test-localhost0h.crt test-localhost0h.key test-localhost0h.pem test-localhost0h.pub.der test-localhost0h.pub.pem test-localhost-san-first.crl test-localhost-san-first.crt test-localhost-san-first.key test-localhost-san-first.pem test-localhost-san-first.pub.der test-localhost-san-first.pub.pem test-localhost-san-last.crl test-localhost-san-last.crt test-localhost-san-last.key test-localhost-san-last.pem test-localhost-san-last.pub.der test-localhost-san-last.pub.pem test-client-cert.crl test-client-cert.crt test-client-cert.key test-client-cert.pem test-client-cert.pub.der test-client-cert.pub.pem \ test-*.csr \ test-*.der \ test-*.keyenc \ test-ca.cnt* \ test-ca.db* \ test-ca.raw* \ test-ca.srl rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/certs' Making clean in data make[3]: Entering directory '/home/peter/curl-8.16.0/tests/data' rm -rf .libs _libs rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/data' Making clean in server make[3]: Entering directory '/home/peter/curl-8.16.0/tests/server' test -z "servers.c" || rm -f servers.c rm -rf .libs _libs rm -f servers rm -f servers rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/server' Making clean in libtest make[3]: Entering directory '/home/peter/curl-8.16.0/tests/libtest' test -z "libtests.c lib1521.c" || rm -f libtests.c lib1521.c rm -rf .libs _libs rm -f libtests rm -f libtests rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/libtest' Making clean in http make[3]: Entering directory '/home/peter/curl-8.16.0/tests/http' rm -rf .libs _libs rm -rf *.pyc __pycache__ rm -rf gen rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/http' Making clean in unit make[3]: Entering directory '/home/peter/curl-8.16.0/tests/unit' test -z "units.c" || rm -f units.c rm -rf .libs _libs rm -f units rm -f units rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/unit' Making clean in tunit make[3]: Entering directory '/home/peter/curl-8.16.0/tests/tunit' test -z "tunits.c" || rm -f tunits.c rm -rf .libs _libs rm -f tunits rm -f tunits rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/tunit' make[3]: Entering directory '/home/peter/curl-8.16.0/tests' test -z ".http.pid .https.pid .ftp.pid .ftps.pid" || rm -f .http.pid .https.pid .ftp.pid .ftps.pid rm -rf .libs _libs rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests' make[2]: Leaving directory '/home/peter/curl-8.16.0/tests' rm -f *.lo make[1]: Leaving directory '/home/peter/curl-8.16.0'
Show reasoning
Preparing static build command
compile-bench> cd curl-8.16.0 && make AM_LDFLAGS=-all-static -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 vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-gsasl.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-vauth.lo
CC vtls/libcurl_la-cipher_suite.lo
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-hostcheck.lo
CC vtls/libcurl_la-keylog.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mbedtls_threadlock.lo
CC vtls/libcurl_la-openssl.lo
CC vtls/libcurl_la-rustls.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-vtls_scache.lo
CC vtls/libcurl_la-vtls_spack.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-x509asn1.lo
CC vquic/libcurl_la-curl_ngtcp2.lo
CC vquic/libcurl_la-curl_osslq.lo
CC vquic/libcurl_la-curl_quiche.lo
CC vquic/libcurl_la-vquic.lo
CC vquic/libcurl_la-vquic-tls.lo
CC vssh/libcurl_la-libssh.lo
CC vssh/libcurl_la-libssh2.lo
CC vssh/libcurl_la-curl_path.lo
CC vssh/libcurl_la-wolfssh.lo
CC curlx/libcurl_la-base64.lo
CC curlx/libcurl_la-dynbuf.lo
CC curlx/libcurl_la-inet_ntop.lo
CC curlx/libcurl_la-inet_pton.lo
CC curlx/libcurl_la-multibyte.lo
CC curlx/libcurl_la-nonblock.lo
CC curlx/libcurl_la-strparse.lo
CC curlx/libcurl_la-timediff.lo
CC curlx/libcurl_la-timeval.lo
CC curlx/libcurl_la-version_win32.lo
CC curlx/libcurl_la-wait.lo
CC curlx/libcurl_la-warnless.lo
CC curlx/libcurl_la-winapi.lo
CC libcurlu_la-altsvc.lo
CC libcurlu_la-amigaos.lo
CC libcurlu_la-asyn-ares.lo
CC libcurlu_la-asyn-base.lo
CC libcurlu_la-asyn-thrdd.lo
CC libcurlu_la-bufq.lo
CC libcurlu_la-bufref.lo
CC libcurlu_la-cf-h1-proxy.lo
CC libcurlu_la-cf-h2-proxy.lo
CC libcurlu_la-cf-haproxy.lo
CC libcurlu_la-cf-https-connect.lo
CC libcurlu_la-cf-ip-happy.lo
CC libcurlu_la-cf-socket.lo
CC libcurlu_la-cfilters.lo
CC libcurlu_la-conncache.lo
CC libcurlu_la-connect.lo
CC libcurlu_la-content_encoding.lo
CC libcurlu_la-cookie.lo
CC libcurlu_la-cshutdn.lo
CC libcurlu_la-curl_addrinfo.lo
CC libcurlu_la-curl_des.lo
CC libcurlu_la-cur
[command output truncated]
C 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
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/aarch64-linux-gnu/libcrypto.a(libcrypto-lib-dso_dlfcn.o): in function `dlfcn_globallookup':
(.text+0x1c): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: curl-tool_findfile.o: in function `findfile':
tool_findfile.c:(.text+0x214): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-netrc.o): in function `Curl_parsenetrc':
netrc.c:(.text+0x910): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-curl_addrinfo.o): in function `Curl_getaddrinfo_ex':
curl_addrinfo.c:(.text+0x74): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/aarch64-linux-gnu/libcrypto.a(libcrypto-lib-bio_sock.o): in function `BIO_gethostbyname':
(.text+0x70): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
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'
↓ 121 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 vauth/libcurl_la-cleartext.lo CC vauth/libcurl_la-cram.lo CC vauth/libcurl_la-digest.lo CC vauth/libcurl_la-digest_sspi.lo CC vauth/libcurl_la-gsasl.lo CC vauth/libcurl_la-krb5_gssapi.lo CC vauth/libcurl_la-krb5_sspi.lo CC vauth/libcurl_la-ntlm.lo CC vauth/libcurl_la-ntlm_sspi.lo CC vauth/libcurl_la-oauth2.lo CC vauth/libcurl_la-spnego_sspi.lo CC vauth/libcurl_la-spnego_gssapi.lo CC vauth/libcurl_la-vauth.lo CC vtls/libcurl_la-cipher_suite.lo CC vtls/libcurl_la-gtls.lo CC vtls/libcurl_la-hostcheck.lo CC vtls/libcurl_la-keylog.lo CC vtls/libcurl_la-mbedtls.lo CC vtls/libcurl_la-mbedtls_threadlock.lo CC vtls/libcurl_la-openssl.lo CC vtls/libcurl_la-rustls.lo CC vtls/libcurl_la-schannel.lo CC vtls/libcurl_la-schannel_verify.lo CC vtls/libcurl_la-vtls.lo CC vtls/libcurl_la-vtls_scache.lo CC vtls/libcurl_la-vtls_spack.lo CC vtls/libcurl_la-wolfssl.lo CC vtls/libcurl_la-x509asn1.lo CC vquic/libcurl_la-curl_ngtcp2.lo CC vquic/libcurl_la-curl_osslq.lo CC vquic/libcurl_la-curl_quiche.lo CC vquic/libcurl_la-vquic.lo CC vquic/libcurl_la-vquic-tls.lo CC vssh/libcurl_la-libssh.lo CC vssh/libcurl_la-libssh2.lo CC vssh/libcurl_la-curl_path.lo CC vssh/libcurl_la-wolfssh.lo CC curlx/libcurl_la-base64.lo CC curlx/libcurl_la-dynbuf.lo CC curlx/libcurl_la-inet_ntop.lo CC curlx/libcurl_la-inet_pton.lo CC curlx/libcurl_la-multibyte.lo CC curlx/libcurl_la-nonblock.lo CC curlx/libcurl_la-strparse.lo CC curlx/libcurl_la-timediff.lo CC curlx/libcurl_la-timeval.lo CC curlx/libcurl_la-version_win32.lo CC curlx/libcurl_la-wait.lo CC curlx/libcurl_la-warnless.lo CC curlx/libcurl_la-winapi.lo CC libcurlu_la-altsvc.lo CC libcurlu_la-amigaos.lo CC libcurlu_la-asyn-ares.lo CC libcurlu_la-asyn-base.lo CC libcurlu_la-asyn-thrdd.lo CC libcurlu_la-bufq.lo CC libcurlu_la-bufref.lo CC libcurlu_la-cf-h1-proxy.lo CC libcurlu_la-cf-h2-proxy.lo CC libcurlu_la-cf-haproxy.lo CC libcurlu_la-cf-https-connect.lo CC libcurlu_la-cf-ip-happy.lo CC libcurlu_la-cf-socket.lo CC libcurlu_la-cfilters.lo CC libcurlu_la-conncache.lo CC libcurlu_la-connect.lo CC libcurlu_la-content_encoding.lo CC libcurlu_la-cookie.lo CC libcurlu_la-cshutdn.lo CC libcurlu_la-curl_addrinfo.lo CC libcurlu_la-curl_des.lo CC libcurlu_la-cur [command output truncated] C 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 /usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/aarch64-linux-gnu/libcrypto.a(libcrypto-lib-dso_dlfcn.o): in function `dlfcn_globallookup': (.text+0x1c): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: curl-tool_findfile.o: in function `findfile': tool_findfile.c:(.text+0x214): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-netrc.o): in function `Curl_parsenetrc': netrc.c:(.text+0x910): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-curl_addrinfo.o): in function `Curl_getaddrinfo_ex': curl_addrinfo.c:(.text+0x74): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/aarch64-linux-gnu/libcrypto.a(libcrypto-lib-bio_sock.o): in function `BIO_gethostbyname': (.text+0x70): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 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
Preparing clean static install
I'll remove the previous installation directory to wipe out any dynamic binaries or leftover libs, then run the static install command to ensure the final binary is fully static and correctly installed. This avoids mixing old dynamic files with new static ones.
[empty output]
Show reasoning
Running make install command
compile-bench> cd curl-8.16.0 && make AM_LDFLAGS=-all-static install Making install in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libcurl.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libcurl.lai /home/peter/result/lib/libcurl.la
libtool: install: /usr/bin/install -c .libs/libcurl.a /home/peter/result/lib/libcurl.a
libtool: install: chmod 644 /home/peter/result/lib/libcurl.a
libtool: install: aarch64-linux-gnu-ranlib /home/peter/result/lib/libcurl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making install in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making install in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl-config.1 wcurl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making install in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making install in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making install in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/
[command output truncated]
ng directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/aclocal'
/usr/bin/install -c -m 644 libcurl.m4 '/home/peter/result/share/aclocal'
/usr/bin/mkdir -p '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 curl_easy_getinfo.3 curl_easy_header.3 curl_easy_init.3 curl_easy_nextheader.3 curl_easy_option_by_id.3 curl_easy_option_by_name.3 curl_easy_option_next.3 curl_easy_pause.3 curl_easy_perform.3 curl_easy_recv.3 curl_easy_reset.3 curl_easy_send.3 curl_easy_setopt.3 curl_easy_ssls_export.3 curl_easy_ssls_import.3 curl_easy_strerror.3 curl_easy_unescape.3 curl_easy_upkeep.3 curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formget.3 curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 curl_global_init.3 curl_global_init_mem.3 curl_global_sslset.3 curl_global_trace.3 curl_mime_addpart.3 curl_mime_data.3 curl_mime_data_cb.3 curl_mime_encoder.3 curl_mime_filedata.3 curl_mime_filename.3 curl_mime_free.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_mime_headers.3 curl_mime_init.3 curl_mime_name.3 curl_mime_subparts.3 curl_mime_type.3 curl_mprintf.3 curl_multi_add_handle.3 curl_multi_assign.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_get_handles.3 curl_multi_get_offt.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_poll.3 curl_multi_remove_handle.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_socket_action.3 curl_multi_socket_all.3 curl_multi_strerror.3 curl_multi_timeout.3 curl_multi_wait.3 curl_multi_waitfds.3 curl_multi_wakeup.3 curl_pushheader_byname.3 curl_pushheader_bynum.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 curl_share_strerror.3 curl_slist_append.3 curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 curl_unescape.3 curl_url.3 curl_url_cleanup.3 curl_url_dup.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_url_get.3 curl_url_set.3 curl_url_strerror.3 curl_version.3 curl_version_info.3 curl_ws_meta.3 curl_ws_recv.3 curl_ws_send.3 curl_ws_start_frame.3 libcurl-easy.3 libcurl-env-dbg.3 libcurl-env.3 libcurl-errors.3 libcurl-multi.3 libcurl-security.3 libcurl-share.3 libcurl-symbols.3 libcurl-thread.3 libcurl-tutorial.3 libcurl-url.3 libcurl-ws.3 libcurl.3 '/home/peter/result/share/man/man3'
make[6]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[4]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[3]: Leaving directory '/home/peter/curl-8.16.0'
make[2]: Leaving directory '/home/peter/curl-8.16.0'
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 72 lines
Making install in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libcurl.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libcurl.lai /home/peter/result/lib/libcurl.la
libtool: install: /usr/bin/install -c .libs/libcurl.a /home/peter/result/lib/libcurl.a
libtool: install: chmod 644 /home/peter/result/lib/libcurl.a
libtool: install: aarch64-linux-gnu-ranlib /home/peter/result/lib/libcurl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making install in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making install in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl-config.1 wcurl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making install in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making install in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making install in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/
[command output truncated]
ng directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/aclocal'
/usr/bin/install -c -m 644 libcurl.m4 '/home/peter/result/share/aclocal'
/usr/bin/mkdir -p '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 curl_easy_getinfo.3 curl_easy_header.3 curl_easy_init.3 curl_easy_nextheader.3 curl_easy_option_by_id.3 curl_easy_option_by_name.3 curl_easy_option_next.3 curl_easy_pause.3 curl_easy_perform.3 curl_easy_recv.3 curl_easy_reset.3 curl_easy_send.3 curl_easy_setopt.3 curl_easy_ssls_export.3 curl_easy_ssls_import.3 curl_easy_strerror.3 curl_easy_unescape.3 curl_easy_upkeep.3 curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formget.3 curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 curl_global_init.3 curl_global_init_mem.3 curl_global_sslset.3 curl_global_trace.3 curl_mime_addpart.3 curl_mime_data.3 curl_mime_data_cb.3 curl_mime_encoder.3 curl_mime_filedata.3 curl_mime_filename.3 curl_mime_free.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_mime_headers.3 curl_mime_init.3 curl_mime_name.3 curl_mime_subparts.3 curl_mime_type.3 curl_mprintf.3 curl_multi_add_handle.3 curl_multi_assign.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_get_handles.3 curl_multi_get_offt.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_poll.3 curl_multi_remove_handle.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_socket_action.3 curl_multi_socket_all.3 curl_multi_strerror.3 curl_multi_timeout.3 curl_multi_wait.3 curl_multi_waitfds.3 curl_multi_wakeup.3 curl_pushheader_byname.3 curl_pushheader_bynum.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 curl_share_strerror.3 curl_slist_append.3 curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 curl_unescape.3 curl_url.3 curl_url_cleanup.3 curl_url_dup.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_url_get.3 curl_url_set.3 curl_url_strerror.3 curl_version.3 curl_version_info.3 curl_ws_meta.3 curl_ws_recv.3 curl_ws_send.3 curl_ws_start_frame.3 libcurl-easy.3 libcurl-env-dbg.3 libcurl-env.3 libcurl-errors.3 libcurl-multi.3 libcurl-security.3 libcurl-share.3 libcurl-symbols.3 libcurl-thread.3 libcurl-tutorial.3 libcurl-url.3 libcurl-ws.3 libcurl.3 '/home/peter/result/share/man/man3'
make[6]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[4]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[3]: Leaving directory '/home/peter/curl-8.16.0'
make[2]: Leaving directory '/home/peter/curl-8.16.0'
make[1]: Leaving directory '/home/peter/curl-8.16.0'
Show reasoning
Recreating symbolic link
[empty output]
Show reasoning
Rechecking file contents
/home/peter/result/bin/curl: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=566900e335f54d9168404d6f1f7cc07f6811d61b, for GNU/Linux 3.7.0, not stripped
Show reasoning
Verifying library features in static build
compile-bench> ls -l /home/peter/result total 16
drwxr-xr-x 2 peter peter 4096 Sep 23 20:07 bin
lrwxrwxrwx 1 peter peter 27 Sep 23 20:07 curl -> /home/peter/result/bin/curl
drwxr-xr-x 3 peter peter 4096 Sep 23 20:07 include
drwxr-xr-x 3 peter peter 4096 Sep 23 20:07 lib
drwxr-xr-x 4 peter peter 4096 Sep 23 20:07 share
↓ 7 lines
total 16 drwxr-xr-x 2 peter peter 4096 Sep 23 20:07 bin lrwxrwxrwx 1 peter peter 27 Sep 23 20:07 curl -> /home/peter/result/bin/curl drwxr-xr-x 3 peter peter 4096 Sep 23 20:07 include drwxr-xr-x 3 peter peter 4096 Sep 23 20:07 lib drwxr-xr-x 4 peter peter 4096 Sep 23 20:07 share
Show reasoning
Verifying binary architecture
Machine: AArch64
Show reasoning
Verifying cURL features via curl-config script
compile-bench> /home/peter/result/bin/curl-config --features alt-svc
AsynchDNS
brotli
HSTS
HTTPS-proxy
IPv6
Largefile
libz
NTLM
SSL
threadsafe
TLS-SRP
UnixSockets
zstd
↓ 15 lines
alt-svc AsynchDNS brotli HSTS HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe TLS-SRP UnixSockets zstd
Show reasoning
Checking SSL backend support
OpenSSL v3+
Show reasoning
Verifying static binary and features
not a dynamic executable
Show reasoning
Summarizing build verification and usage
I'm wrapping up by confirming the built curl binary is fully static for the aarch64 architecture, highlighting linked libraries and compile features from curl-config. I'll include notes on the curl symlink, environment warnings about glibc dynamic dependencies despite static linking, and advise on running the binary on an ARM64 system. This final summary will also cover usage hints and verification steps for the user.
-L/home/peter/result/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz
Show reasoning
Preparing final summary message
Summary:
- Enabled arm64 multi-arch repositories, installed the aarch64 cross toolchain, and pulled in static development libraries for OpenSSL, zlib, brotli, and zstd.
- Configured curl 8.16.0 for an aarch64 target with OpenSSL (TLS 1.3 capable), brotli, zlib, and zstd, forcing static linkage via libtool’s -all-static.
- Built and installed curl into /home/peter/result, then created the requested symlink /home/peter/result/curl.
Verification:
- file /home/peter/result/bin/curl → ELF 64-bit LSB executable, ARM aarch64, statically linked.
- ldd /home/peter/result/bin/curl → not a dynamic executable.
- readelf -h /home/peter/result/bin/curl | grep 'Machine' → AArch64.
- /home/peter/result/bin/curl-config --features lists SSL, brotli, libz, and zstd, confirming the requested capabilities.
- Symlink present: ls -l /home/peter/result shows curl -> /home/peter/result/bin/curl.
task failed: curl HTTPS request to google.com did not return content-type: text/html but instead: } [2 bytes data] * SSL certificate problem: unable to get local issuer certificate 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 * closing connection #0 curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the webpage mentioned above.