Compiling libressl fails

I tried to compile a new build for my R7800 the other day and noticed that the build failed when it tried to compile libressl. Running make tools/libressl/compile V=sc causes the following error:

/usr/bin/ld: /home/michael/src/router_stuff/openwrt/build_dir/host/libressl-3.5.3/ssl/.libs/libssl.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status

I reverted the recent changes one by one, and the one that causes compilation to fail is the following that updates the version of libressl: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=5451b03b7ceb2315445c683fe174e28bbdd49c2f

1 Like