Bug#1131928: libvsqlitepp FTBFS on ppc64el with undefined symbol __parse_hwcap_and_convert_at_platform

Trupti <[email protected]> Thu, 26 Mar 2026 15:03:00 +0530
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <412846f22926ab3da15f212ed099d465__42420.2910436847$1774517733$gmane$org@linux.ibm.com>
Package: libvsqlitepp
Version: 0.3.13-4.2
Severity: important
Tags: ftbfs,sid, patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: ppc64el


Dear Maintainer,

libvsqlitepp fails to build from source on ppc64el with GCC 15.

Below is the error present in build log.

/usr/bin/powerpc64le-linux-gnu-ld.bfd: 
/usr/lib/gcc/powerpc64le-linux-gnu/15/libgcc.a(float128-ifunc.o):(.data+0x0): 
undefined reference to `__parse_hwcap_and_convert_at_platform'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:550: libvsqlitepp.la] Error 1
make[2]: Leaving directory 
'/build/reproducible-path/libvsqlitepp-0.3.13'
make[1]: *** [Makefile:700: all-recursive] Error 1
make[1]: Leaving directory 
'/build/reproducible-path/libvsqlitepp-0.3.13'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:23: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess failed 
with exit status 2

Build log for reference:
https://buildd.debian.org/status/fetch.php?pkg=libvsqlitepp&arch=ppc64el&ver=0.3.13-4.2&stamp=1770225714&raw=0


After adding the required libraries for the ppc64el architecture by 
modifying debian/rules as shown below,
the package now builds successfully.

ifeq ($(DEB_HOST_ARCH),ppc64el)
export DEB_LDFLAGS_MAINT_APPEND += -lgcc -lgcc_s -lc
endif


Thanks,
Trupti