Hello! 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 \ ../curl-7.80.0.config.003.log Note that I hand-edited the configure script inspired by : https://git.minix3.org/index.cgi?p=pkgsrc-ng.git;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 NTLM_WB SSL TLS-SRP UnixSockets * 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 ***************************************** <snip> 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. Links: configure command : https://gist.githubusercontent.com/herrhotzenplotz/02d7a6adbd70ca0c190a3824a99c4a60/raw/e8d3fc71435991b5fc5b19084add73ba81b4f696/curl%255C-7.80.0.003.readme compile log : https://gist.githubusercontent.com/herrhotzenplotz/02d7a6adbd70ca0c190a3824a99c4a60/raw/e8d3fc71435991b5fc5b19084add73ba81b4f696/curl-7.80.0.compile.003.log test log : https://gist.githubusercontent.com/herrhotzenplotz/02d7a6adbd70ca0c190a3824a99c4a60/raw/e8d3fc71435991b5fc5b19084add73ba81b4f696/curl-7.80.0.test.003.log configure patch : https://gist.githubusercontent.com/herrhotzenplotz/02d7a6adbd70ca0c190a3824a99c4a60/raw/0292a660cf660f6abb540bf8ff782f81ea6d4f77/curl-7.80.0.configure.003.diff 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 :-) Regards, Nico aka. herrhotzenplotz -- Sent from triton / FreeBSD 13.0-RELEASE Nico Sonack <nson...@outlook.com> -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html