-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Hi,
When trying to compile pak on openSUSE Tumbleweed during install, it fails due to an error linked to openSUSE policy about using LTO I would say. The error is the following :
gcc -shared -L/usr/lib64/R/lib -flto=auto -o keyring.so aes.o aesce.o aesni.o base64.o blake2b-compress-ref.o blake2b-ref.o core_hsalsa20_ref2.o core_salsa_ref.o crypto_generichash.o crypto_secretbox_easy.o generichash_blake2b.o init.o keyring_macos.o keyring_secret_service.o keyring_wincred.o onetimeauth_poly1305.o padlock.o platform_util.o poly1305_donna.o raes.o randombytes_sysrandom.o salsa20_ref.o sha256.o sodium-utils.o sodium.o stream_salsa20.o verify.o win-path.o -L/usr/lib64/R/lib -lR
mbedtls/platform.h:202:14: error: function ‘mbedtls_printf’ redeclared as variable
202 | extern int (*mbedtls_printf)(const char *format, ...);
| ^
raes.c:9:5: note: previously declared here
9 | int mbedtls_printf(const char *format, ...) {
| ^
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Operating System: openSUSE Tumbleweed 20251108
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 16 Gio of RAM (15.0 Gio usable)
R Version: 4.5
Metadata
Metadata
Assignees
Labels
No labels