Hi, I have poudriere and port tree that is frozen in time for while now. That is done because I want a stable system without breakage till EOL. After moving from F13.2 -> F13.3 some stuff is no longer possible to compile. Linker errors apparently. Adding llvm=14 to DEFAULT_VERSIONS+= in make.conf did help. The same error after using linker from the new release:
At the moment the base version of LLVM is used for some reason
Any help, how to force llvm version and build failed packages with it?
Code:
--- whirlpool_sbox.o ---
cc -c -DOPENSSL_RUNTIME -DNDEBUG -pipe -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing whirlpool_sbox.c -o whirlpool_sbox.o
--- librhash.a ---
rm -f librhash.a
ar -cqs librhash.a algorithms.o byte_order.o plug_openssl.o rhash.o rhash_timing.o rhash_torrent.o aich.o blake2b.o blake2s.o crc32.o ed2k.o edonr.o hex.o md4.o md5.o sha1.o sha256.o sha512.o sha3.o ripemd-160.o gost12.o gost94.o has160.o snefru.o tiger.o tiger_sbox.o tth.o torrent.o util.o whirlpool.o whirlpool_sbox.o
--- librhash/librhash.so.0 ---
ld: error: version script assignment of 'global' to symbol 'rhash_wfile' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [librhash.so.0] Error code 1
make[2]: stopped in /wrkdirs/usr/ports/security/rhash/work/RHash-1.4.3/librhash
1 error
make[2]: stopped in /wrkdirs/usr/ports/security/rhash/work/RHash-1.4.3/librhash
*** [librhash/librhash.so.0] Error code 2
make[1]: stopped in /wrkdirs/usr/ports/security/rhash/work/RHash-1.4.3
1 error
make[1]: stopped in /wrkdirs/usr/ports/security/rhash/work/RHash-1.4.3
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/security/rhash
=>> Cleaning up wrkdir
===> Cleaning for rhash-1.4.3
build of security/rhash | rhash-1.4.3 ended at Sun Mar 17 02:28:43 +07 2024
At the moment the base version of LLVM is used for some reason
Code:
===> Configuring for rhash-1.4.3
Checking for target OS ... FreeBSD
Checking for cc version ... clang 17.0.6
Any help, how to force llvm version and build failed packages with it?