Hi!

On Tue, 2026-02-03 at 09:46:33 +0100, Christoph Berg wrote:
> Package: liburing-dev
> Version: 2.9-1
> Severity: important
> X-Debbugs-Cc: [email protected]
> User: [email protected]
> Usertags: ppc64el

> pgagroal 2.0.0 has io_uring support now, but linking fails on ppc64el:
> 
> [ 83%] Linking C shared library libpgagroal.so
> cd /build/reproducible-path/pgagroal-2.0.0/obj-powerpc64le-linux-gnu/src && 
> /usr/bin/cmake -E cmake_link_script CMakeFiles/pgagroal.dir/link.txt 
> --verbose=1
> /usr/lib/powerpc64le-linux-gnu/liburing.a(setup.ol): in function 
> `__io_uring_queue_init_params':
> (.text+0xb68): call to `io_uring_queue_mmap' lacks nop, can't restore toc; 
> (plt call stub)
> /usr/bin/powerpc64le-linux-gnu-ld.bfd: final link failed: bad value
> collect2: error: ld returned 1 exit status
> 
> Full log: 
> https://buildd.debian.org/status/fetch.php?pkg=pgagroal&arch=ppc64el&ver=2.0.0-1&stamp=1769701137&raw=0
> 
> The same problem appears on trixie, forky and sid.

Given what I've seen around this specific error, I assume the problem
is that it is trying to link with the static liburing.a library which
is not compiled with PIC. Try linking against the dynamic liburing.so
instead?

Thanks,
Guillem

Reply via email to