On 10/30/24 05:38, Fungal-net wrote:
I get the following error trying to build version 21.1.4
same build dependencies used for 21.1.3  (4/13/24) but different versions
gcc 14.2.1+r134
glibc  2.40+r16
binutils 2.43+r4
libtool 2.5.3

arch linux like system without systemd

../xorg-server/os/access.c: In function ‘siHostnameAddrMatch’:
../xorg-server/os/access.c:1873:27: error: assignment to ‘const char **’ from 
incompatible pointer type ‘char **’ [-Wincompatible-pointer-types]
  1873 |             for (addrlist = hp->h_addr_list; *addrlist; addrlist++)
       |                           ^

The easy fix is to stop disabling IPv6 support when building Xorg.

But yes, it appears we also should have backported the fix for this issue that
gcc 14 has made an error:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1572

--
        -Alan Coopersmith-                 alan.coopersm...@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/solaris

Reply via email to