Skip to content

Fix build

Lubomir Rintel requested to merge lr/el9-build into main

There seem to be a lot of linking failures on my el9 box. Here's my configure line:

$ ./configure \ 
    --build=x86_64-redhat-linux-gnu \ 
    --host=x86_64-redhat-linux-gnu \ 
    --program-prefix= \ 
    --disable-dependency-tracking \ 
    --prefix=/usr \ 
    --exec-prefix=/usr \ 
    --bindir=/usr/bin \ 
    --sbindir=/usr/sbin \ 
    --sysconfdir=/etc \ 
    --datadir=/usr/share \ 
    --includedir=/usr/include \ 
    --libdir=/usr/lib64 \ 
    --libexecdir=/usr/libexec \ 
    --localstatedir=/var \ 
    --sharedstatedir=/var/lib \ 
    --mandir=/usr/share/man \ 
    --infodir=/usr/share/info \ 
    --with-runstatedir=/run \ 
    --disable-silent-rules \ 
    --disable-static \ 
    --with-nft=/usr/sbin/nft \ 
    --with-iptables=/usr/sbin/iptables \ 
    --with-dhclient=yes \ 
    --with-dhcpcd=no \ 
    --with-dhcpcanon=no \ 
    --with-config-dhcp-default=internal \ 
    --with-crypto=gnutls \ 
    --with-address-sanitizer=no \ 
    --disable-undefined-sanitizer \ 
    --enable-more-logging \ 
    --with-more-asserts=10000 \ 
    --enable-ld-gc \ 
    --disable-lto \ 
    --with-libaudit=yes-disabled-by-default \ 
    --with-modem-manager-1=yes \ 
    --enable-wifi=yes \ 
    --with-wext=no \ 
    --with-iwd=no \ 
    --enable-bluez5-dun=yes \ 
    --with-nmtui=yes \ 
    --with-nm-cloud-setup=yes \ 
    --enable-vala=yes \ 
    --enable-introspection \ 
    --enable-gtk-doc \ 
    --enable-teamdctl=yes \ 
    --enable-ovs=yes \ 
    --with-selinux=yes \ 
    --enable-polkit=yes \ 
    --enable-modify-system=yes \ 
    --enable-concheck \ 
    --without-libpsl \ 
    --with-ebpf=no \ 
    --with-session-tracking=systemd \ 
    --with-suspend-resume=systemd \ 
    --with-system-ca-path=/etc/pki/tls/cert.pem \ 
    --with-dbus-sys-dir=/usr/share/dbus-1/system.d \ 
    --with-tests=yes \ 
    --enable-more-warnings=yes \ 
    --with-valgrind=no \ 
    --enable-ifcfg-rh=yes \ 
    --enable-ifupdown=no \ 
    --with-pppd-plugin-dir=/usr/lib64/pppd/2.4.9 \ 
    --enable-ppp=yes \ 
    --enable-firewalld-zone \ 
    --with-dist-version=1.39.2-30242.ee7240783a.el9 \ 
    --with-resolvconf=no \ 
    --with-netconfig=no \ 
    --with-config-dns-rc-manager-default=auto \ 
    --with-config-logging-backend-default=journal \ 
    build_alias=x86_64-redhat-linux-gnu \ 
    host_alias=x86_64-redhat-linux-gnu \ 
    CC=gcc \ 
    CFLAGS="-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" \ 
    LDFLAGS="-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 " \ 
    CXX=g++ \ 
    CXXFLAGS="-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" \ 
    LT_SYS_LIBRARY_PATH=/usr/lib64: \ 
    PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig \ 
    --no-create \ 
    --no-recursion

Merge request reports