>>> xwayland 23.2.4 Extracting xzcat /home/buildroot/instance-0/dl/xwayland/xwayland-23.2.4.tar.xz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/xwayland-23.2.4 -xf - >>> xwayland 23.2.4 Patching >>> xwayland 23.2.4 Configuring rm -rf /home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build mkdir -p /home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/instance-0/output-1/host/bin/sh4-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/instance-0/output-1/host/bin/sh4-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/instance-0/output-1/host/bin/sh4-linux-strip%g" -e "s%@TARGET_ARCH@%sh4%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/host/lib/cmake -Ddri3=true -Dxwayland_eglstream=false -Dxvfb=false -Ddefault_font_path=/usr/share/fonts/X11/ -Ddtrace=false -Ddocs=false -Dglamor=false -Dglx=false -Dxdmcp=true -Dxdm-auth-1=true -Dsecure-rpc=true -Dxselinux=false -Dsha1=libcrypto -Dlibunwind=false /home/buildroot/instance-0/output-1/build/xwayland-23.2.4/ /home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build The Meson build system Version: 1.3.1 Source dir: /home/buildroot/instance-0/output-1/build/xwayland-23.2.4 Build dir: /home/buildroot/instance-0/output-1/build/xwayland-23.2.4/build Build type: cross build Project name: xwayland Project version: 23.2.4 C compiler for the host machine: /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc (gcc 12.3.0 "sh4-linux-gcc.br_real (Buildroot 2021.11-10014-g6257e8c) 12.3.0") C linker for the host machine: /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc ld.bfd 2.40 C compiler for the build machine: /usr/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /usr/bin/gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: sh4 Host machine cpu: Target machine cpu family: sh4 Target machine cpu: Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wbad-function-cast: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Werror=implicit: YES Compiler for C supports arguments -Werror=nonnull: YES Compiler for C supports arguments -Werror=init-self: YES Compiler for C supports arguments -Werror=main: YES Compiler for C supports arguments -Werror=missing-braces: YES Compiler for C supports arguments -Werror=sequence-point: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=trigraphs: YES Compiler for C supports arguments -Werror=array-bounds: YES Compiler for C supports arguments -Werror=write-strings: YES Compiler for C supports arguments -Werror=address: YES Compiler for C supports arguments -Werror=int-to-pointer-cast: YES Compiler for C supports arguments -Werror=pointer-to-int-cast: YES ../output-1/build/xwayland-23.2.4/meson.build:61: WARNING: Consider using the built-in warning_level option instead of using "-Wall". Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency xproto found: YES 7.0.33 Run-time dependency randrproto found: YES 1.6.0 Run-time dependency renderproto found: YES 0.11.1 Run-time dependency xextproto found: YES 7.3.0 Run-time dependency inputproto found: YES 2.3.99.2 Run-time dependency kbproto found: YES 1.0.7 Run-time dependency fontsproto found: YES 2.1.3 Run-time dependency fixesproto found: YES 6.1 Run-time dependency damageproto found: YES 1.2.1 Run-time dependency xcmiscproto found: YES 1.2.2 Run-time dependency bigreqsproto found: YES 1.1.2 Run-time dependency presentproto found: YES 1.3 Run-time dependency xtrans found: YES 1.5.0 Run-time dependency videoproto found: YES 2.3.3 Run-time dependency compositeproto found: YES 0.4.2 Run-time dependency recordproto found: YES 1.14.2 Run-time dependency scrnsaverproto found: YES 1.2.3 Run-time dependency resourceproto found: YES 1.2.0 Run-time dependency dri3proto found: YES 1.3 Run-time dependency xineramaproto found: YES 1.2.1 Run-time dependency xf86bigfontproto found: YES 1.2.0 Run-time dependency xf86vidmodeproto found: YES 2.3.1 Run-time dependency xshmfence found: YES 1.3.2 Run-time dependency xwaylandproto found: YES 1.0 Run-time dependency pixman-1 found: YES 0.42.2 Found CMake: /home/buildroot/instance-0/output-1/host/bin/cmake (3.28.3) Run-time dependency libbsd-overlay found: NO (tried pkgconfig and cmake) Run-time dependency xkbcomp found: NO (tried pkgconfig and cmake) Run-time dependency xkbfile found: YES 1.1.2 Run-time dependency xfont2 found: YES 2.0.6 Run-time dependency libsystemd found: NO (tried pkgconfig and cmake) Run-time dependency libsystemd-daemon found: NO (tried pkgconfig and cmake) Run-time dependency wayland-client found: YES 1.22.0 Run-time dependency wayland-protocols found: YES 1.32 Run-time dependency libxcvt found: YES 0.1.2 Checking for function "getaddrinfo" : YES Run-time dependency libdecor-0 found: NO (tried pkgconfig and cmake) Run-time dependency libei-1.0 found: NO (tried pkgconfig and cmake) Run-time dependency liboeffis-1.0 found: NO (tried pkgconfig and cmake) Library crypto found: YES Run-time dependency openssl found: YES 3.2.2 Message: Using libcrypto SHA1 functions Run-time dependency xdmcp found: YES 1.1.4 Run-time dependency libdrm found: YES 2.4.120 Has header "sys/shm.h" : YES Library m found: YES Library dl found: YES Run-time dependency xorg-sgml-doctools found: NO (tried pkgconfig and cmake) Program xmlto found: NO Program xsltproc found: YES (/home/buildroot/instance-0/output-1/host/bin/xsltproc) Program fop found: NO Run-time dependency dri found: NO (tried pkgconfig and cmake) Checking if "typeof()" compiles: YES Checking for function "clock_gettime" : YES Checking if "CLOCK_MONOTONIC" compiles: YES Checking for size of "unsigned long" : 4 Header "pthread.h" has symbol "PTHREAD_MUTEX_RECURSIVE" : YES Checking if "pthread_setname_np(tid, name)" compiles: YES Has header "dlfcn.h" : YES Has header "execinfo.h" : YES Has header "fnmatch.h" : YES Has header "stdlib.h" : YES Has header "string.h" : YES Has header "strings.h" : YES Has header "sys/ucred.h" : NO Has header "sys/utsname.h" : YES Has header "sys/sysmacros.h" : YES Checking for function "arc4random_buf" with dependency libbsd-overlay: NO Checking for function "backtrace" : NO Checking for function "cbrt" : YES Checking for function "epoll_create1" : YES Checking for function "getuid" : YES Checking for function "geteuid" : YES Checking for function "isastream" : NO Checking for function "issetugid" : YES Checking for function "getifaddrs" : YES Checking for function "getpeereid" : NO Checking for function "getpeerucred" : NO Checking for function "getprogname" : NO Checking for function "getzoneid" : NO Checking for function "memfd_create" : NO Checking for function "mkostemp" : YES Checking for function "mmap" : YES Checking for function "open_device" : NO Checking for function "poll" : YES Checking for function "pollset_create" : NO Checking for function "posix_fallocate" : YES Checking for function "port_create" : NO Checking for function "reallocarray" with dependency libbsd-overlay: NO Checking for function "seteuid" : YES Checking for function "setitimer" : YES Checking for function "shmctl64" : NO Checking for function "sigaction" : YES Checking for function "sigprocmask" : YES Checking for function "strcasecmp" : YES Checking for function "strcasestr" : YES Checking for function "strlcat" with dependency libbsd-overlay: YES Checking for function "strlcpy" with dependency libbsd-overlay: YES Checking for function "strncasecmp" : YES Checking for function "strndup" : YES Header "string.h" has symbol "strndup" : YES Checking for function "timingsafe_memcmp" : NO Checking for function "vasprintf" : YES Checking for function "vsnprintf" : YES Checking for function "walkcontext" : NO Checking whether type "struct xucred" has member "cr_pid" : NO Header "sys/socket.h" has symbol "SCM_RIGHTS" : YES Header "sys/socket.h" has symbol "SO_PEERCRED" : YES Configuring dix-config.h using configuration Configuring version-config.h using configuration Configuring xkb-config.h using configuration Configuring xwayland-config.h using configuration Run-time dependency libtirpc found: YES 1.3.4 Library pthread found: YES Run-time dependency xau found: YES 1.0.11 Dependency presentproto found: YES 1.3 (cached) Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkg-config) 1.6.3 Build-time dependency wayland-scanner found: YES 1.22.0 Program /home/buildroot/instance-0/output-1/host/bin/wayland-scanner found: YES (/home/buildroot/instance-0/output-1/host/bin/wayland-scanner) Dependency wayland-protocols found: YES 1.32 (cached) Configuring Xwayland.1 using configuration Program rendercheck found: NO Program scripts/xwayland-piglit.sh found: YES (/home/buildroot/instance-0/output-1/build/xwayland-23.2.4/test/scripts/xwayland-piglit.sh) Run-time dependency xcb found: YES 1.15 Run-time dependency xcb-xinput found: YES 1.15 Dependency xcb found: YES 1.15 (cached) Run-time dependency xcb-damage found: YES 1.15 Dependency xcb found: YES 1.15 (cached) Run-time dependency xcb-sync found: YES 1.15 Configuring Xserver.1 using configuration Build targets in project: 26 NOTICE: Future-deprecated features used: * 0.56.0: {'dependency.get_pkgconfig_variable', 'meson.build_root', 'meson.source_root'} xwayland 23.2.4 User defined options Cross files : /home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true default_font_path : /usr/share/fonts/X11/ docs : false dri3 : true dtrace : false glamor : false glx : false libunwind : false secure-rpc : true sha1 : libcrypto xdm-auth-1 : true xdmcp : true xselinux : false xvfb : false xwayland_eglstream : false Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/host/bin/ninja >>> xwayland 23.2.4 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/xwayland-23.2.4//build' [1/349] Compiling C object dix/liblibxserver_dix.a.p/glyphcurs.c.o FAILED: dix/liblibxserver_dix.a.p/glyphcurs.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/glyphcurs.c.o -MF dix/liblibxserver_dix.a.p/glyphcurs.c.o.d -o dix/liblibxserver_dix.a.p/glyphcurs.c.o -c ../dix/glyphcurs.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/glyphcurs.c:51: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [2/349] Compiling C object dix/liblibxserver_dix.a.p/atom.c.o FAILED: dix/liblibxserver_dix.a.p/atom.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/atom.c.o -MF dix/liblibxserver_dix.a.p/atom.c.o.d -o dix/liblibxserver_dix.a.p/atom.c.o -c ../dix/atom.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:23, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, from ../dix/atom.c:53: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [3/349] Compiling C object dix/liblibxserver_dix.a.p/cursor.c.o FAILED: dix/liblibxserver_dix.a.p/cursor.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/cursor.c.o -MF dix/liblibxserver_dix.a.p/cursor.c.o.d -o dix/liblibxserver_dix.a.p/cursor.c.o -c ../dix/cursor.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../include/screenint.h:50, from ../include/scrnintstr.h:50, from ../dix/cursor.c:54: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [4/349] Compiling C object dix/liblibxserver_dix.a.p/globals.c.o FAILED: dix/liblibxserver_dix.a.p/globals.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/globals.c.o -MF dix/liblibxserver_dix.a.p/globals.c.o.d -o dix/liblibxserver_dix.a.p/globals.c.o -c ../dix/globals.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/globals.c:53: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [5/349] Compiling C object dix/liblibxserver_dix.a.p/dixutils.c.o FAILED: dix/liblibxserver_dix.a.p/dixutils.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/dixutils.c.o -MF dix/liblibxserver_dix.a.p/dixutils.c.o.d -o dix/liblibxserver_dix.a.p/dixutils.c.o -c ../dix/dixutils.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/dixutils.c:89: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [6/349] Compiling C object dix/liblibxserver_dix.a.p/gestures.c.o FAILED: dix/liblibxserver_dix.a.p/gestures.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/gestures.c.o -MF dix/liblibxserver_dix.a.p/gestures.c.o.d -o dix/liblibxserver_dix.a.p/gestures.c.o -c ../dix/gestures.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../include/input.h:50, from ../include/inputstr.h:53, from ../dix/gestures.c:30: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [7/349] Compiling C object dix/liblibxserver_dix.a.p/gc.c.o FAILED: dix/liblibxserver_dix.a.p/gc.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/gc.c.o -MF dix/liblibxserver_dix.a.p/gc.c.o.d -o dix/liblibxserver_dix.a.p/gc.c.o -c ../dix/gc.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/gc.c:54: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [8/349] Compiling C object dix/liblibxserver_dix.a.p/eventconvert.c.o FAILED: dix/liblibxserver_dix.a.p/eventconvert.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/eventconvert.c.o -MF dix/liblibxserver_dix.a.p/eventconvert.c.o.d -o dix/liblibxserver_dix.a.p/eventconvert.c.o -c ../dix/eventconvert.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../include/screenint.h:50, from ../include/gc.h:53, from ../include/dix.h:51, from ../dix/eventconvert.c:42: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [9/349] Compiling C object dix/liblibxserver_dix.a.p/grabs.c.o FAILED: dix/liblibxserver_dix.a.p/grabs.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/grabs.c.o -MF dix/liblibxserver_dix.a.p/grabs.c.o.d -o dix/liblibxserver_dix.a.p/grabs.c.o -c ../dix/grabs.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/grabs.c:53: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [10/349] Compiling C object dix/liblibxserver_dix.a.p/enterleave.c.o FAILED: dix/liblibxserver_dix.a.p/enterleave.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/enterleave.c.o -MF dix/liblibxserver_dix.a.p/enterleave.c.o.d -o dix/liblibxserver_dix.a.p/enterleave.c.o -c ../dix/enterleave.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../include/input.h:50, from ../include/inputstr.h:53, from ../dix/enterleave.c:35: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [11/349] Compiling C object dix/liblibxserver_dix.a.p/colormap.c.o FAILED: dix/liblibxserver_dix.a.p/colormap.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/colormap.c.o -MF dix/liblibxserver_dix.a.p/colormap.c.o.d -o dix/liblibxserver_dix.a.p/colormap.c.o -c ../dix/colormap.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:23, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:114, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:71, from ../dix/colormap.c:53: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [12/349] Compiling C object dix/liblibxserver_dix.a.p/dixfonts.c.o FAILED: dix/liblibxserver_dix.a.p/dixfonts.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/dixfonts.c.o -MF dix/liblibxserver_dix.a.p/dixfonts.c.o.d -o dix/liblibxserver_dix.a.p/dixfonts.c.o -c ../dix/dixfonts.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../include/screenint.h:50, from ../include/scrnintstr.h:50, from ../dix/dixfonts.c:58: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [13/349] Compiling C object dix/liblibxserver_dix.a.p/getevents.c.o FAILED: dix/liblibxserver_dix.a.p/getevents.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/getevents.c.o -MF dix/liblibxserver_dix.a.p/getevents.c.o.d -o dix/liblibxserver_dix.a.p/getevents.c.o -c ../dix/getevents.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/getevents.c:40: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [14/349] Compiling C object dix/liblibxserver_dix.a.p/extension.c.o FAILED: dix/liblibxserver_dix.a.p/extension.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/extension.c.o -MF dix/liblibxserver_dix.a.p/extension.c.o.d -o dix/liblibxserver_dix.a.p/extension.c.o -c ../dix/extension.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/extension.c:53: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [15/349] Compiling C object dix/liblibxserver_dix.a.p/main.c.o FAILED: dix/liblibxserver_dix.a.p/main.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/main.c.o -MF dix/liblibxserver_dix.a.p/main.c.o.d -o dix/liblibxserver_dix.a.p/main.c.o -c ../dix/main.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/sys/types.h:216, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/X11/Xos.h:42, from ../dix/main.c:82: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [16/349] Compiling C object dix/liblibxserver_dix.a.p/devices.c.o FAILED: dix/liblibxserver_dix.a.p/devices.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/devices.c.o -MF dix/liblibxserver_dix.a.p/devices.c.o.d -o dix/liblibxserver_dix.a.p/devices.c.o -c ../dix/devices.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/devices.c:52: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [17/349] Compiling C object dix/liblibxserver_dix.a.p/dispatch.c.o FAILED: dix/liblibxserver_dix.a.p/dispatch.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/dispatch.c.o -MF dix/liblibxserver_dix.a.p/dispatch.c.o.d -o dix/liblibxserver_dix.a.p/dispatch.c.o -c ../dix/dispatch.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../include/window.h:50, from ../include/windowstr.h:50, from ../dix/dispatch.c:104: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ [18/349] Compiling C object dix/liblibxserver_dix.a.p/events.c.o FAILED: dix/liblibxserver_dix.a.p/events.c.o /home/buildroot/instance-0/output-1/host/bin/sh4-linux-gcc -Idix/liblibxserver_dix.a.p -Idix -I../dix -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Ifb -I../fb -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ dix/liblibxserver_dix.a.p/events.c.o -MF dix/liblibxserver_dix.a.p/events.c.o.d -o dix/liblibxserver_dix.a.p/events.c.o -c ../dix/events.c In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/sh4-buildroot-linux-uclibc/12.3.0/include-fixed/pthread.h:32, from ../include/misc.h:82, from ../dix/events.c:109: ../include/misc.h:302:1: error: redefinition of '__bswap_64' 302 | bswap_64(uint64_t x) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap.h:1, from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/byteswap.h:22: /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' with type '__uint64_t(__uint64_t)' {aka 'long long unsigned int(long long unsigned int)'} 75 | __bswap_64 (__uint64_t __bsx) | ^~~~~~~~~~ ../include/misc.h:321:1: error: redefinition of '__bswap_32' 321 | bswap_32(uint32_t x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:44:1: note: previous definition of '__bswap_32' with type 'unsigned int(unsigned int)' 44 | __bswap_32 (unsigned int __bsx) | ^~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:34: ../include/misc.h:365:1: error: expected identifier or '(' before '__extension__' 365 | bswap_16(uint16_t x) | ^~~~~~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/xwayland-23.2.4/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'