curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Results for curl 7.80 with OpenSSL 3.0.0 on i386-minix 3.4.0

From: Nico Sonack via curl-library <>
Date: Mon, 15 Nov 2021 15:26:48 +0100


This might be something strange, but nevertheless nice to look into.

After building a rather recent version of Minix we get :

# uname -a
Minix minix 3.4.0 Minix 3.4.0 (GENERIC) i386
# cc --version
clang version 3.6 (branches/release_36 237755)
Target: i386-elf32-minix
Thread model: posix

This compiler is indeed a little old and Minix 3.4.0 is a version that
has not been released (yet?).

Then some walking in circles because most of the library dependencies
need to be built by hand:

# /usr/opt/sn/bin/openssl version
OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021)

Note, that I was unable to run the test suite of OpenSSL 3, because it
was not compilable at all.

After some more dependencies, this was the curl config command line :

minix# ./configure --prefix=/usr/opt/sn/ --with-nghttp2=/usr/opt/sn/ \
   --with-ca-bundle=/etc/ssl/cacert.pem --with-zlib=/usr/opt/sn/ \
   --with-openssl=/usr/opt/sn/ --with-libidn2=/usr/opt/sn/ \
   --enable-gopher --disable-silent-rules --disable-pthreads \
   --disable-threaded-resolver --enable-shared 2>&1 | tee \

Note that I hand-edited the configure script inspired by :;a=blob;f=www/curl/patches/patch-zz-minix-a;h=ae4197f5aea409ffd7db2474edf2e70f6f8e95f9;hb=refs/heads/3.4.0
Otherwise, it would generate static libraries only.
(See links for patch underneath)

Compilation and installation went fine, a simple smoke test succeeded
as well.

Time for the test suite :

********* System characteristics ********
* curl 7.80.0 (i386-pc-minix)
* libcurl/7.80.0 OpenSSL/3.0.0 zlib/1.2.11 libidn2/2.3.2 nghttp2/1.46.0
* Features: alt-svc HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM
* Disabled:
* Host: minix
* System: Minix minix 3.4.0 Minix 3.4.0 (GENERIC) i386
* OS: minix
* Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
* Seed: 233969


test 0247...
 247: protocol FAILED!
 There was no content at all in the file log/server.input.
 Server glitch? Total curl failure? Returned: 28
(a bunch more of these, leaving zombie processes)

[1] Killed ./server/sockfil...
TESTDONE: 1454 tests were considered during 4849 seconds.
TESTDONE: 1038 tests out of 1149 reported OK: 90%
     5083.06 real 51.06 user 16.68 sys

See links down below for complete log.

I don't know what the return code 28 is, but I suspect it is a timeout
since it takes quite some time for each of these to fail and leave a
zombie process behind.

configure command :
compile log :
test log :
configure patch :

I am unsure whether any of this is worth looking at, but having curl
properly working on this platform is definitely a good thing!
Please tell me if you need more information.
Note that debugging things on Minix with gdb is to my understanding not
possible, because bfd doesn't have any support for it. I haven't looked
at lldb yet, though I do not expect it to be very pleasant either.

Hints on where to start are appreciated :-)

Nico aka. herrhotzenplotz

Sent from triton / FreeBSD 13.0-RELEASE
Nico Sonack <>
Received on 2021-11-15