Re: xfsprogs-5.2.0 FTBFS: ../libxfs/.libs/libxfs.so: undefined reference to `xfs_ag_geom_health'

Thomas Deutschmann
2019-08-11T23:30:58Z

[-- Attachment #1.1: Type: text/plain, Size: 1091 bytes --]

On 2019-08-12 00:53, Dave Chinner wrote:
> How did you configure this build? Can you run a clean build without
> configuring in any of the whacky compiler super-optimisations that
> you have and see if that builds cleanly?

Just add

--disable-static

and you should be able to reproduce. This option will cause that 3x
"-Wl,-O1 -Wl,--as-needed " will be passed to the linker.

Complete configure we are using and which worked fine with xfsprogs-5.1.0:

--prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib
--docdir=/usr/share/doc/xfsprogs-5.2.0
--htmldir=/usr/share/doc/xfsprogs-5.2.0/html --with-sysroot=/
--libdir=/usr/lib64 --disable-lto --enable-blkid
--with-crond-dir=/etc/cron.d --with-systemd-unit-dir=/lib/systemd/system
--disable-libicu --enable-gettext --enable-readline --disable-editline
--disable-static

--
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 618 bytes --]