Build started at 2025-04-28T09:03:50.094782
Main binary: /usr/bin/python3
Build Options: -Dlog_dir=/var/log -Dmodule_dir=/usr/lib64/xorg/modules -Dbuilder_addr=https://rosalinux.ru '-Dbuilder_string=Build ID: x11-server 1.20.14-13' -Dvendor_name=ROSA -Dos_vendor=ROSA -Dxorg=true -Dsuid_wrapper=true -Dxephyr=true -Dxcsecurity=true -Dsha1=libgcrypt -Dxwayland=false -Dxwayland_eglstream=false -Dvbe=false -Dint10=false -Dvendor_web=http://bugzilla.rosalinux.ru -Ddmx=true -Ddefault_font_path=catalogue:/etc/X11/fontpath.d,built-ins -Dprefix=/usr -Dbindir=/usr/bin -Ddatadir=/usr/share -Dincludedir=/usr/include -Dinfodir=/usr/share/info -Dlibdir=/usr/lib64 -Dlibexecdir=/usr/libexec -Dlocaledir=/usr/share/locale -Dlocalstatedir=/var -Dmandir=/usr/share/man -Dsbindir=/usr/sbin -Dsharedstatedir=/var/lib -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload
Python system: Linux
The Meson build system
Version: 0.63.0
Source dir: /builddir/build/BUILD/xorg-server-1.20.14
Build dir: /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu
Build type: native build
Project name: xserver
Project version: 1.20.14
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -Wl,-O2
Sanity check compile stdout:

-----
Sanity check compile stderr:
cc1: warning: command-line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C

-----
Running test binary command: /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 11.4.0 "cc (GCC) 11.4.0 20230528 (ROSA)")
C linker for the host machine: cc ld.bfd 2.38
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -Wl,-O2
Sanity check compile stdout:

-----
Sanity check compile stderr:
cc1: warning: command-line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C

-----
Running test binary command: /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 11.4.0 "cc (GCC) 11.4.0 20230528 (ROSA)")
C linker for the build machine: cc ld.bfd 2.38
Build machine cpu family: aarch64
Build machine cpu: aarch64
Host machine cpu family: aarch64
Host machine cpu: aarch64
Target machine cpu family: aarch64
Target machine cpu: aarch64
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeuxdnmgm
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeuxdnmgm/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeuxdnmgm/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wall 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wall: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpaw8vq4h8
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpaw8vq4h8/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpaw8vq4h8/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wpointer-arith 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wpointer-arith: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjcaapdy1
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjcaapdy1/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjcaapdy1/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-declarations 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wmissing-declarations: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpagckoyzx
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpagckoyzx/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpagckoyzx/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wformat=2 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wformat=2: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvl0w0m_y
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvl0w0m_y/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvl0w0m_y/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wstrict-prototypes 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wstrict-prototypes: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpzglp9zul
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpzglp9zul/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpzglp9zul/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-prototypes 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wmissing-prototypes: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpi8jw7io7
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpi8jw7io7/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpi8jw7io7/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wnested-externs 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wnested-externs: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpif42nm4v
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpif42nm4v/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpif42nm4v/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wbad-function-cast 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wbad-function-cast: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphzpmz4t6
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphzpmz4t6/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphzpmz4t6/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wold-style-definition 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wold-style-definition: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6du00so0
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6du00so0/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6du00so0/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wunused 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wunused: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuqxqpmet
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuqxqpmet/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuqxqpmet/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wuninitialized 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wuninitialized: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpyagqni20
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpyagqni20/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpyagqni20/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wshadow 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wshadow: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6kf5il3g
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6kf5il3g/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6kf5il3g/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-noreturn 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wmissing-noreturn: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkr4m9sbn
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkr4m9sbn/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkr4m9sbn/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-format-attribute 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wmissing-format-attribute: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcux_gfgb
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcux_gfgb/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcux_gfgb/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wredundant-decls 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Wredundant-decls: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpudih7431
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpudih7431/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpudih7431/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=implicit: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpc0zpgda9
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpc0zpgda9/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpc0zpgda9/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=nonnull 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=nonnull: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5ufm8fkq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5ufm8fkq/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5ufm8fkq/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=init-self 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=init-self: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjxsd40wy
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjxsd40wy/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjxsd40wy/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=main 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=main: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuof47s_8
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuof47s_8/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuof47s_8/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=missing-braces 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=missing-braces: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm1dcagxj
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm1dcagxj/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm1dcagxj/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=sequence-point 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=sequence-point: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppohbrieh
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppohbrieh/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppohbrieh/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=return-type 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=return-type: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3msyknqf
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3msyknqf/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3msyknqf/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=trigraphs 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=trigraphs: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpgpcwyfxx
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpgpcwyfxx/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpgpcwyfxx/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=array-bounds 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=array-bounds: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpb8ndkzb0
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpb8ndkzb0/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpb8ndkzb0/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=write-strings 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=write-strings: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpb4t930l0
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpb4t930l0/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpb4t930l0/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=address 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=address: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpzts2k7cp
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpzts2k7cp/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpzts2k7cp/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=int-to-pointer-cast 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=int-to-pointer-cast: NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkx0sw2e6
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkx0sw2e6/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkx0sw2e6/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Werror=pointer-to-int-cast 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Compiler for C supports arguments -Werror=pointer-to-int-cast: NO 
Pkg-config binary for 1 is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Determining dependency 'xproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xproto` -> 0
7.0.33
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xproto` -> 0

Run-time dependency xproto found: YES 7.0.33
Pkg-config binary for 1 is cached.
Determining dependency 'randrproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion randrproto` -> 0
1.6.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags randrproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs randrproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs randrproto` -> 0

Run-time dependency randrproto found: YES 1.6.0
Pkg-config binary for 1 is cached.
Determining dependency 'renderproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion renderproto` -> 0
0.11.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags renderproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs renderproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs renderproto` -> 0

Run-time dependency renderproto found: YES 0.11.1
Pkg-config binary for 1 is cached.
Determining dependency 'xextproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xextproto` -> 0
7.3.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xextproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xextproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xextproto` -> 0

Run-time dependency xextproto found: YES 7.3.0
Pkg-config binary for 1 is cached.
Determining dependency 'inputproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion inputproto` -> 0
2.3.99.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags inputproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs inputproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs inputproto` -> 0

Run-time dependency inputproto found: YES 2.3.99.2
Pkg-config binary for 1 is cached.
Determining dependency 'kbproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion kbproto` -> 0
1.0.7
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags kbproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs kbproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs kbproto` -> 0

Run-time dependency kbproto found: YES 1.0.7
Pkg-config binary for 1 is cached.
Determining dependency 'fontsproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion fontsproto` -> 0
2.1.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags fontsproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs fontsproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs fontsproto` -> 0

Run-time dependency fontsproto found: YES 2.1.3
Pkg-config binary for 1 is cached.
Determining dependency 'fixesproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion fixesproto` -> 0
6.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags fixesproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs fixesproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs fixesproto` -> 0

Run-time dependency fixesproto found: YES 6.1
Pkg-config binary for 1 is cached.
Determining dependency 'damageproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion damageproto` -> 0
1.2.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags damageproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs damageproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs damageproto` -> 0

Run-time dependency damageproto found: YES 1.2.1
Pkg-config binary for 1 is cached.
Determining dependency 'xcmiscproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcmiscproto` -> 0
1.2.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcmiscproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcmiscproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcmiscproto` -> 0

Run-time dependency xcmiscproto found: YES 1.2.2
Pkg-config binary for 1 is cached.
Determining dependency 'bigreqsproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion bigreqsproto` -> 0
1.1.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags bigreqsproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs bigreqsproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs bigreqsproto` -> 0

Run-time dependency bigreqsproto found: YES 1.1.2
Pkg-config binary for 1 is cached.
Determining dependency 'xtrans' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xtrans` -> 0
1.4.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xtrans` -> 0
-D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xtrans` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xtrans` -> 0

Run-time dependency xtrans found: YES 1.4.0
Pkg-config binary for 1 is cached.
Determining dependency 'videoproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion videoproto` -> 0
2.3.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags videoproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs videoproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs videoproto` -> 0

Run-time dependency videoproto found: YES 2.3.3
Pkg-config binary for 1 is cached.
Determining dependency 'compositeproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion compositeproto` -> 0
0.4.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags compositeproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs compositeproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs compositeproto` -> 0

Run-time dependency compositeproto found: YES 0.4.2
Pkg-config binary for 1 is cached.
Determining dependency 'recordproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion recordproto` -> 0
1.14.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags recordproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs recordproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs recordproto` -> 0

Run-time dependency recordproto found: YES 1.14.2
Pkg-config binary for 1 is cached.
Determining dependency 'scrnsaverproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion scrnsaverproto` -> 0
1.2.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags scrnsaverproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs scrnsaverproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs scrnsaverproto` -> 0

Run-time dependency scrnsaverproto found: YES 1.2.3
Pkg-config binary for 1 is cached.
Determining dependency 'resourceproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion resourceproto` -> 0
1.2.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags resourceproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs resourceproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs resourceproto` -> 0

Run-time dependency resourceproto found: YES 1.2.0
Pkg-config binary for 1 is cached.
Determining dependency 'xf86driproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xf86driproto` -> 0
2.1.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xf86driproto` -> 0
-I/usr/include/X11/dri
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xf86driproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xf86driproto` -> 0

Run-time dependency xf86driproto found: YES 2.1.1
Pkg-config binary for 1 is cached.
Determining dependency 'dri2proto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion dri2proto` -> 0
2.8
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags dri2proto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs dri2proto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs dri2proto` -> 0

Run-time dependency dri2proto found: YES 2.8
Pkg-config binary for 1 is cached.
Determining dependency 'dri3proto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion dri3proto` -> 0
1.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags dri3proto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs dri3proto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs dri3proto` -> 0

Run-time dependency dri3proto found: YES 1.3
Pkg-config binary for 1 is cached.
Determining dependency 'xineramaproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xineramaproto` -> 0
1.2.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xineramaproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xineramaproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xineramaproto` -> 0

Run-time dependency xineramaproto found: YES 1.2.1
Pkg-config binary for 1 is cached.
Determining dependency 'xf86bigfontproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xf86bigfontproto` -> 0
1.2.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xf86bigfontproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xf86bigfontproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xf86bigfontproto` -> 0

Run-time dependency xf86bigfontproto found: YES 1.2.0
Pkg-config binary for 1 is cached.
Determining dependency 'xf86vidmodeproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xf86vidmodeproto` -> 0
2.3.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xf86vidmodeproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xf86vidmodeproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xf86vidmodeproto` -> 0

Run-time dependency xf86vidmodeproto found: YES 2.3.1
Pkg-config binary for 1 is cached.
Determining dependency 'windowswmproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion windowswmproto` -> 0
1.0.4
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags windowswmproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs windowswmproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs windowswmproto` -> 0

Run-time dependency windowswmproto found: YES 1.0.4
Pkg-config binary for 1 is cached.
Determining dependency 'applewmproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion applewmproto` -> 0
1.4.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags applewmproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs applewmproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs applewmproto` -> 0

Run-time dependency applewmproto found: YES 1.4.2
Pkg-config binary for 1 is cached.
Determining dependency 'xshmfence' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xshmfence` -> 0
1.3.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xshmfence` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xshmfence` -> 0
-L/usr/lib64 -lxshmfence
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xshmfence` -> 0
-lxshmfence
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq_ewh2w0
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq_ewh2w0/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq_ewh2w0/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-O2 

Code:
 #include<stdio.h>
        
        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq_ewh2w0/testfile.c:1:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Program stdout:

8

Program stderr:


Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9ac01ie8
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9ac01ie8/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9ac01ie8/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs 

Code:
 
Compiler stdout:
 install: /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/
programs: =/usr/libexec/gcc/aarch64-rosa-linux-gnu/11.4.0/:/usr/libexec/gcc/aarch64-rosa-linux-gnu/11.4.0/:/usr/libexec/gcc/aarch64-rosa-linux-gnu/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../../aarch64-rosa-linux-gnu/bin/aarch64-rosa-linux-gnu/11.4.0/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../../aarch64-rosa-linux-gnu/bin/
libraries: =/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../../aarch64-rosa-linux-gnu/lib/aarch64-rosa-linux-gnu/11.4.0/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../../aarch64-rosa-linux-gnu/lib/../lib64/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../aarch64-rosa-linux-gnu/11.4.0/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../../lib64/:/lib/aarch64-rosa-linux-gnu/11.4.0/:/lib/../lib64/:/usr/lib/aarch64-rosa-linux-gnu/11.4.0/:/usr/lib/../lib64/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../../aarch64-rosa-linux-gnu/lib/:/usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/../../../:/lib/:/usr/lib/

Compiler stderr:
 
Run-time dependency xshmfence found: YES 1.3.2
Pkg-config binary for 1 is cached.
Determining dependency 'pixman-1' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion pixman-1` -> 0
0.38.4
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags pixman-1` -> 0
-I/usr/include/pixman-1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs pixman-1` -> 0
-L/usr/lib64 -lpixman-1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs pixman-1` -> 0
-lpixman-1
Run-time dependency pixman-1 found: YES 0.38.4
Pkg-config binary for 1 is cached.
Determining dependency 'libbsd' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion libbsd` -> 0
0.10.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags libbsd` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs libbsd` -> 0
-L/usr/lib64 -lbsd
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs libbsd` -> 0
-lbsd
Run-time dependency libbsd found: YES 0.10.0
Pkg-config binary for 1 is cached.
Determining dependency 'xkbcomp' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xkbcomp` -> 0
1.4.5
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xkbcomp` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xkbcomp` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xkbcomp` -> 0

Run-time dependency xkbcomp found: YES 1.4.5
Pkg-config binary for 1 is cached.
Determining dependency 'xkbfile' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xkbfile` -> 0
1.1.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xkbfile` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xkbfile` -> 0
-L/usr/lib64 -lxkbfile
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xkbfile` -> 0
-lxkbfile
Run-time dependency xkbfile found: YES 1.1.2
Pkg-config binary for 1 is cached.
Determining dependency 'xfont2' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xfont2` -> 0
2.0.5
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xfont2` -> 0
-I/usr/include/freetype2 -I/usr/include/libpng16
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xfont2` -> 0
-L/usr/lib64 -lXfont2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xfont2` -> 0
-lXfont2
Run-time dependency xfont2 found: YES 2.0.5
Pkg-config binary for 1 is cached.
Determining dependency 'dbus-1' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion dbus-1` -> 0
1.12.20
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags dbus-1` -> 0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs dbus-1` -> 0
-L/usr/lib64 -ldbus-1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs dbus-1` -> 0
-ldbus-1
Run-time dependency dbus-1 found: YES 1.12.20
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --variable=xkbconfigdir xkbcomp` -> 0
/usr/share/X11/xkb
Got pkgconfig variable xkbconfigdir : /usr/share/X11/xkb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --variable=bindir xkbcomp` -> 0
/usr/bin
Got pkgconfig variable bindir : /usr/bin
Pkg-config binary for 1 is cached.
Determining dependency 'xext' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xext` -> 0
1.3.5
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xext` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xext` -> 0
-L/usr/lib64 -lXext
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xext` -> 0
-lXext
Run-time dependency xext found: YES 1.3.5
Pkg-config binary for 1 is cached.
Determining dependency 'x11' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion x11` -> 0
1.8.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags x11` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs x11` -> 0
-L/usr/lib64 -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs x11` -> 0
-lX11
Run-time dependency x11 found: YES 1.8.1
Pkg-config binary for 1 is cached.
Determining dependency 'xau' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xau` -> 0
1.0.9
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xau` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xau` -> 0
-L/usr/lib64 -lXau
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xau` -> 0
-lXau
Run-time dependency xau found: YES 1.0.9
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqidpbgbz
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqidpbgbz/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqidpbgbz/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getaddrinfo meson_disable_define_of_getaddrinfo
        
        #include <limits.h>
        #undef getaddrinfo
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getaddrinfo (void);
        
        #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getaddrinfo ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqidpbgbz/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "getaddrinfo" : YES 
Pkg-config binary for 1 is cached.
Determining dependency 'libudev' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion libudev` -> 0
249
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags libudev` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs libudev` -> 0
-L/lib64 -ludev
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs libudev` -> 0
-L/lib64 -ludev
Run-time dependency libudev found: YES 249
Pkg-config binary for 1 is cached.
Determining dependency 'gbm' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion gbm` -> 0
23.3.6
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags gbm` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs gbm` -> 0
-L/usr/lib64 -lgbm
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs gbm` -> 0
-lgbm
Run-time dependency gbm found: YES 23.3.6
Pkg-config binary for 1 is cached.
Determining dependency 'epoxy' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion epoxy` -> 0
1.5.8
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags epoxy` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs epoxy` -> 0
-L/usr/lib64 -lepoxy
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs epoxy` -> 0
-lepoxy
Run-time dependency epoxy found: YES 1.5.8
Pkg-config binary for 1 is cached.
Determining dependency 'libgcrypt' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion libgcrypt` -> 0
1.9.4-unknown
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags libgcrypt` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs libgcrypt` -> 0
-L/usr/lib64 -lgcrypt
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs libgcrypt` -> 0
-lgcrypt
Run-time dependency libgcrypt found: YES 1.9.4-unknown
Message: Using libgcrypt SHA1 functions
Pkg-config binary for 1 is cached.
Determining dependency 'xdmcp' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xdmcp` -> 0
1.1.4
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xdmcp` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xdmcp` -> 0
-L/usr/lib64 -lXdmcp
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xdmcp` -> 0
-lXdmcp
Run-time dependency xdmcp found: YES 1.1.4
Pkg-config binary for 1 is cached.
Determining dependency 'libdrm' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion libdrm` -> 0
2.4.115
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags libdrm` -> 0
-I/usr/include/libdrm
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs libdrm` -> 0
-L/usr/lib64 -ldrm
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs libdrm` -> 0
-ldrm
Run-time dependency libdrm found: YES 2.4.115
Pkg-config binary for 1 is cached.
Determining dependency 'xf86dgaproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xf86dgaproto` -> 0
2.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xf86dgaproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xf86dgaproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xf86dgaproto` -> 0

Run-time dependency xf86dgaproto found: YES 2.1
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpauzqd6s3
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpauzqd6s3/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("linux/apm_bios.h")
          #error "Header 'linux/apm_bios.h' could not be found"
         #endif
        #else
         #include <linux/apm_bios.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "linux/apm_bios.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp01z7rlaq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp01z7rlaq/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/shm.h")
          #error "Header 'sys/shm.h' could not be found"
         #endif
        #else
         #include <sys/shm.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "sys/shm.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpni2eoc_t
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpni2eoc_t/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpni2eoc_t/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined -Wl,-O2 

Code:
 int main(void) { return 0; }

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Library m found: YES
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppunkqtm7
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppunkqtm7/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppunkqtm7/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -ldl -Wl,--end-group -Wl,--allow-shlib-undefined -Wl,-O2 

Code:
 int main(void) { return 0; }

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Library dl found: YES
Pkg-config binary for 1 is cached.
Determining dependency 'dri' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion dri` -> 0
23.3.6
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags dri` -> 0
-I/usr/include/libdrm
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs dri` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs dri` -> 0

Run-time dependency dri found: YES 23.3.6
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy0udkho6
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy0udkho6/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy0udkho6/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 
    int foo(int bar) { typeof(bar) baz = 1; return baz; }

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Checking if "typeof()" compiles: YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpul0vcmod
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpul0vcmod/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpul0vcmod/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 
    #define _POSIX_C_SOURCE 200112L
    #include <time.h>
    #include <unistd.h>
    #ifndef CLOCK_MONOTONIC
    #error CLOCK_MONOTONIC not defined
    #endif

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/time.h:25,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpul0vcmod/testfile.c:3:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking if "CLOCK_MONOTONIC" compiles: YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpxn3wxc7x
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpxn3wxc7x/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpxn3wxc7x/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 #include<stdio.h>
        
        int main(void) {
            printf("%ld\n", (long)(sizeof(unsigned long)));
            return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpxn3wxc7x/testfile.c:1:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Program stdout:

8

Program stderr:


Checking for size of "unsigned long" : 8
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpwjmqh56y
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpwjmqh56y/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("dlfcn.h")
          #error "Header 'dlfcn.h' could not be found"
         #endif
        #else
         #include <dlfcn.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "dlfcn.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6e_p0buq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6e_p0buq/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("execinfo.h")
          #error "Header 'execinfo.h' could not be found"
         #endif
        #else
         #include <execinfo.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "execinfo.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2d3j9sz_
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2d3j9sz_/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("fcntl.h")
          #error "Header 'fcntl.h' could not be found"
         #endif
        #else
         #include <fcntl.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "fcntl.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpr_mrjyzt
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpr_mrjyzt/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("fnmatch.h")
          #error "Header 'fnmatch.h' could not be found"
         #endif
        #else
         #include <fnmatch.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "fnmatch.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpmkpskd1e
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpmkpskd1e/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("linux/agpgart.h")
          #error "Header 'linux/agpgart.h' could not be found"
         #endif
        #else
         #include <linux/agpgart.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "linux/agpgart.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpc27tyin5
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpc27tyin5/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("stdlib.h")
          #error "Header 'stdlib.h' could not be found"
         #endif
        #else
         #include <stdlib.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "stdlib.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjy5omzti
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpjy5omzti/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("string.h")
          #error "Header 'string.h' could not be found"
         #endif
        #else
         #include <string.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "string.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdgnrff7f
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdgnrff7f/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("strings.h")
          #error "Header 'strings.h' could not be found"
         #endif
        #else
         #include <strings.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "strings.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp014ct4oe
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp014ct4oe/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("stropts.h")
          #error "Header 'stropts.h' could not be found"
         #endif
        #else
         #include <stropts.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp014ct4oe/testfile.c:4:12: error: #error "Header 'stropts.h' could not be found"
    4 |           #error "Header 'stropts.h' could not be found"
      |            ^~~~~

Has header "stropts.h" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp7ceq47em
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp7ceq47em/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/agpgart.h")
          #error "Header 'sys/agpgart.h' could not be found"
         #endif
        #else
         #include <sys/agpgart.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp7ceq47em/testfile.c:4:12: error: #error "Header 'sys/agpgart.h' could not be found"
    4 |           #error "Header 'sys/agpgart.h' could not be found"
      |            ^~~~~

Has header "sys/agpgart.h" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp64o41c50
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp64o41c50/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/agpio.h")
          #error "Header 'sys/agpio.h' could not be found"
         #endif
        #else
         #include <sys/agpio.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp64o41c50/testfile.c:4:12: error: #error "Header 'sys/agpio.h' could not be found"
    4 |           #error "Header 'sys/agpio.h' could not be found"
      |            ^~~~~

Has header "sys/agpio.h" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpby7pi86y
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpby7pi86y/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/utsname.h")
          #error "Header 'sys/utsname.h' could not be found"
         #endif
        #else
         #include <sys/utsname.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "sys/utsname.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpus8gczao
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpus8gczao/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("sys/sysmacros.h")
          #error "Header 'sys/sysmacros.h' could not be found"
         #endif
        #else
         #include <sys/sysmacros.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "sys/sysmacros.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpe3rdjjxd
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpe3rdjjxd/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("unistd.h")
          #error "Header 'unistd.h' could not be found"
         #endif
        #else
         #include <unistd.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "unistd.h" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphhlwzvk_
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphhlwzvk_/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphhlwzvk_/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,--start-group /usr/lib64/libbsd.so -Wl,--end-group -Wl,-O2 

Code:
 
        #define arc4random_buf meson_disable_define_of_arc4random_buf
        
        #include <limits.h>
        #undef arc4random_buf
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char arc4random_buf (void);
        
        #if defined __stub_arc4random_buf || defined __stub___arc4random_buf
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return arc4random_buf ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphhlwzvk_/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "arc4random_buf" with dependency libbsd: YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp4tff5odq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp4tff5odq/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp4tff5odq/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define backtrace meson_disable_define_of_backtrace
        
        #include <limits.h>
        #undef backtrace
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char backtrace (void);
        
        #if defined __stub_backtrace || defined __stub___backtrace
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return backtrace ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp4tff5odq/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "backtrace" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define cbrt meson_disable_define_of_cbrt
        
        #include <limits.h>
        #undef cbrt
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char cbrt (void);
        
        #if defined __stub_cbrt || defined __stub___cbrt
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return cbrt ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n/testfile.c:10:14: warning: conflicting types for built-in function 'cbrt'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
   10 |         char cbrt (void);
      |              ^~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n/testfile.c:5:1: note: 'cbrt' is declared in header '<math.h>'
    4 |         #include <limits.h>
  +++ |+#include <math.h>
    5 |         #undef cbrt
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/ccDtTAx2.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpm89zgv4n/testfile.c:17: undefined reference to `cbrt'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6amv1mve
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6amv1mve/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6amv1mve/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(cbrt) && !0
            #error "No definition for __builtin_cbrt found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_cbrt)
                #error "__builtin_cbrt not found"
            #endif
        #elif ! defined(cbrt)
            __builtin_cbrt;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Checking for function "cbrt" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpmfgqzj77
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpmfgqzj77/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpmfgqzj77/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define epoll_create1 meson_disable_define_of_epoll_create1
        
        #include <limits.h>
        #undef epoll_create1
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char epoll_create1 (void);
        
        #if defined __stub_epoll_create1 || defined __stub___epoll_create1
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return epoll_create1 ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpmfgqzj77/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "epoll_create1" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpnq4z4d7b
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpnq4z4d7b/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpnq4z4d7b/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getuid meson_disable_define_of_getuid
        
        #include <limits.h>
        #undef getuid
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getuid (void);
        
        #if defined __stub_getuid || defined __stub___getuid
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getuid ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpnq4z4d7b/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "getuid" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1kei7jzq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1kei7jzq/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1kei7jzq/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define geteuid meson_disable_define_of_geteuid
        
        #include <limits.h>
        #undef geteuid
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char geteuid (void);
        
        #if defined __stub_geteuid || defined __stub___geteuid
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return geteuid ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1kei7jzq/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "geteuid" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpezy18epu
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpezy18epu/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpezy18epu/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define isastream meson_disable_define_of_isastream
        
        #include <limits.h>
        #undef isastream
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char isastream (void);
        
        #if defined __stub_isastream || defined __stub___isastream
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return isastream ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpezy18epu/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cc21QprY.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpezy18epu/testfile.c:17: undefined reference to `isastream'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpffvt0dd5
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpffvt0dd5/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpffvt0dd5/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(isastream) && !0
            #error "No definition for __builtin_isastream found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_isastream)
                #error "__builtin_isastream not found"
            #endif
        #elif ! defined(isastream)
            __builtin_isastream;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpffvt0dd5/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpffvt0dd5/testfile.c:17:18: error: #error "__builtin_isastream not found"
   17 |                 #error "__builtin_isastream not found"
      |                  ^~~~~

Checking for function "isastream" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9fl570f2
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9fl570f2/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9fl570f2/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define issetugid meson_disable_define_of_issetugid
        
        #include <limits.h>
        #undef issetugid
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char issetugid (void);
        
        #if defined __stub_issetugid || defined __stub___issetugid
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return issetugid ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9fl570f2/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cc2A3VSD.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp9fl570f2/testfile.c:17: undefined reference to `issetugid'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpx0vi6g5m
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpx0vi6g5m/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpx0vi6g5m/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(issetugid) && !0
            #error "No definition for __builtin_issetugid found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_issetugid)
                #error "__builtin_issetugid not found"
            #endif
        #elif ! defined(issetugid)
            __builtin_issetugid;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpx0vi6g5m/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpx0vi6g5m/testfile.c:17:18: error: #error "__builtin_issetugid not found"
   17 |                 #error "__builtin_issetugid not found"
      |                  ^~~~~

Checking for function "issetugid" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmplbuzn_iu
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmplbuzn_iu/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmplbuzn_iu/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getifaddrs meson_disable_define_of_getifaddrs
        
        #include <limits.h>
        #undef getifaddrs
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getifaddrs (void);
        
        #if defined __stub_getifaddrs || defined __stub___getifaddrs
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getifaddrs ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmplbuzn_iu/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "getifaddrs" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmph8trodlv
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmph8trodlv/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmph8trodlv/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getpeereid meson_disable_define_of_getpeereid
        
        #include <limits.h>
        #undef getpeereid
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getpeereid (void);
        
        #if defined __stub_getpeereid || defined __stub___getpeereid
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getpeereid ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmph8trodlv/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cc5Sycjb.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmph8trodlv/testfile.c:17: undefined reference to `getpeereid'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp0eupz4z1
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp0eupz4z1/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp0eupz4z1/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(getpeereid) && !0
            #error "No definition for __builtin_getpeereid found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_getpeereid)
                #error "__builtin_getpeereid not found"
            #endif
        #elif ! defined(getpeereid)
            __builtin_getpeereid;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp0eupz4z1/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp0eupz4z1/testfile.c:17:18: error: #error "__builtin_getpeereid not found"
   17 |                 #error "__builtin_getpeereid not found"
      |                  ^~~~~

Checking for function "getpeereid" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp04stn9m0
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp04stn9m0/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp04stn9m0/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getpeerucred meson_disable_define_of_getpeerucred
        
        #include <limits.h>
        #undef getpeerucred
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getpeerucred (void);
        
        #if defined __stub_getpeerucred || defined __stub___getpeerucred
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getpeerucred ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp04stn9m0/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cchuevMc.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp04stn9m0/testfile.c:17: undefined reference to `getpeerucred'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkkhymkfx
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkkhymkfx/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkkhymkfx/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(getpeerucred) && !0
            #error "No definition for __builtin_getpeerucred found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_getpeerucred)
                #error "__builtin_getpeerucred not found"
            #endif
        #elif ! defined(getpeerucred)
            __builtin_getpeerucred;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkkhymkfx/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkkhymkfx/testfile.c:17:18: error: #error "__builtin_getpeerucred not found"
   17 |                 #error "__builtin_getpeerucred not found"
      |                  ^~~~~

Checking for function "getpeerucred" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuihpdzv1
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuihpdzv1/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuihpdzv1/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getprogname meson_disable_define_of_getprogname
        
        #include <limits.h>
        #undef getprogname
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getprogname (void);
        
        #if defined __stub_getprogname || defined __stub___getprogname
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getprogname ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuihpdzv1/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cc7qWpog.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpuihpdzv1/testfile.c:17: undefined reference to `getprogname'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5wr1k7aq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5wr1k7aq/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5wr1k7aq/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(getprogname) && !0
            #error "No definition for __builtin_getprogname found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_getprogname)
                #error "__builtin_getprogname not found"
            #endif
        #elif ! defined(getprogname)
            __builtin_getprogname;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5wr1k7aq/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5wr1k7aq/testfile.c:17:18: error: #error "__builtin_getprogname not found"
   17 |                 #error "__builtin_getprogname not found"
      |                  ^~~~~

Checking for function "getprogname" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkxabz8wb
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkxabz8wb/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkxabz8wb/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define getzoneid meson_disable_define_of_getzoneid
        
        #include <limits.h>
        #undef getzoneid
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char getzoneid (void);
        
        #if defined __stub_getzoneid || defined __stub___getzoneid
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return getzoneid ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkxabz8wb/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/ccYSpV1e.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkxabz8wb/testfile.c:17: undefined reference to `getzoneid'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpsdaatd27
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpsdaatd27/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpsdaatd27/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(getzoneid) && !0
            #error "No definition for __builtin_getzoneid found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_getzoneid)
                #error "__builtin_getzoneid not found"
            #endif
        #elif ! defined(getzoneid)
            __builtin_getzoneid;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpsdaatd27/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpsdaatd27/testfile.c:17:18: error: #error "__builtin_getzoneid not found"
   17 |                 #error "__builtin_getzoneid not found"
      |                  ^~~~~

Checking for function "getzoneid" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpohme1x1d
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpohme1x1d/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpohme1x1d/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define memfd_create meson_disable_define_of_memfd_create
        
        #include <limits.h>
        #undef memfd_create
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char memfd_create (void);
        
        #if defined __stub_memfd_create || defined __stub___memfd_create
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return memfd_create ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpohme1x1d/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "memfd_create" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphmw5zbz1
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphmw5zbz1/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphmw5zbz1/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define mkostemp meson_disable_define_of_mkostemp
        
        #include <limits.h>
        #undef mkostemp
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char mkostemp (void);
        
        #if defined __stub_mkostemp || defined __stub___mkostemp
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return mkostemp ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmphmw5zbz1/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "mkostemp" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvelmmycz
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvelmmycz/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvelmmycz/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define mmap meson_disable_define_of_mmap
        
        #include <limits.h>
        #undef mmap
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char mmap (void);
        
        #if defined __stub_mmap || defined __stub___mmap
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return mmap ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvelmmycz/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "mmap" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6dd5_p00
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6dd5_p00/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6dd5_p00/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define poll meson_disable_define_of_poll
        
        #include <limits.h>
        #undef poll
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char poll (void);
        
        #if defined __stub_poll || defined __stub___poll
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return poll ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp6dd5_p00/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "poll" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3q88fdth
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3q88fdth/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3q88fdth/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define pollset_create meson_disable_define_of_pollset_create
        
        #include <limits.h>
        #undef pollset_create
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char pollset_create (void);
        
        #if defined __stub_pollset_create || defined __stub___pollset_create
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return pollset_create ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3q88fdth/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cc16bKeb.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp3q88fdth/testfile.c:17: undefined reference to `pollset_create'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpufe42pwu
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpufe42pwu/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpufe42pwu/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(pollset_create) && !0
            #error "No definition for __builtin_pollset_create found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_pollset_create)
                #error "__builtin_pollset_create not found"
            #endif
        #elif ! defined(pollset_create)
            __builtin_pollset_create;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpufe42pwu/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpufe42pwu/testfile.c:17:18: error: #error "__builtin_pollset_create not found"
   17 |                 #error "__builtin_pollset_create not found"
      |                  ^~~~~

Checking for function "pollset_create" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcdr3359r
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcdr3359r/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcdr3359r/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define posix_fallocate meson_disable_define_of_posix_fallocate
        
        #include <limits.h>
        #undef posix_fallocate
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char posix_fallocate (void);
        
        #if defined __stub_posix_fallocate || defined __stub___posix_fallocate
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return posix_fallocate ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcdr3359r/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "posix_fallocate" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy4_s6cxv
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy4_s6cxv/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy4_s6cxv/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define port_create meson_disable_define_of_port_create
        
        #include <limits.h>
        #undef port_create
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char port_create (void);
        
        #if defined __stub_port_create || defined __stub___port_create
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return port_create ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy4_s6cxv/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/ccL4E9Gl.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpy4_s6cxv/testfile.c:17: undefined reference to `port_create'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcj0gsugx
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcj0gsugx/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcj0gsugx/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(port_create) && !0
            #error "No definition for __builtin_port_create found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_port_create)
                #error "__builtin_port_create not found"
            #endif
        #elif ! defined(port_create)
            __builtin_port_create;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcj0gsugx/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcj0gsugx/testfile.c:17:18: error: #error "__builtin_port_create not found"
   17 |                 #error "__builtin_port_create not found"
      |                  ^~~~~

Checking for function "port_create" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1ndyv9jm
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1ndyv9jm/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1ndyv9jm/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,--start-group /usr/lib64/libbsd.so -Wl,--end-group -Wl,-O2 

Code:
 
        #define reallocarray meson_disable_define_of_reallocarray
        
        #include <limits.h>
        #undef reallocarray
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char reallocarray (void);
        
        #if defined __stub_reallocarray || defined __stub___reallocarray
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return reallocarray ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1ndyv9jm/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "reallocarray" with dependency libbsd: YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkawp2e1c
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkawp2e1c/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkawp2e1c/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define seteuid meson_disable_define_of_seteuid
        
        #include <limits.h>
        #undef seteuid
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char seteuid (void);
        
        #if defined __stub_seteuid || defined __stub___seteuid
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return seteuid ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpkawp2e1c/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "seteuid" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmps2nzzmmf
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmps2nzzmmf/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmps2nzzmmf/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define setitimer meson_disable_define_of_setitimer
        
        #include <limits.h>
        #undef setitimer
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char setitimer (void);
        
        #if defined __stub_setitimer || defined __stub___setitimer
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return setitimer ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmps2nzzmmf/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "setitimer" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdkkssdjr
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdkkssdjr/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdkkssdjr/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define shmctl64 meson_disable_define_of_shmctl64
        
        #include <limits.h>
        #undef shmctl64
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char shmctl64 (void);
        
        #if defined __stub_shmctl64 || defined __stub___shmctl64
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return shmctl64 ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdkkssdjr/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/ccdPRXVA.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpdkkssdjr/testfile.c:17: undefined reference to `shmctl64'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2ewd1yoq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2ewd1yoq/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2ewd1yoq/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(shmctl64) && !0
            #error "No definition for __builtin_shmctl64 found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_shmctl64)
                #error "__builtin_shmctl64 not found"
            #endif
        #elif ! defined(shmctl64)
            __builtin_shmctl64;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2ewd1yoq/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp2ewd1yoq/testfile.c:17:18: error: #error "__builtin_shmctl64 not found"
   17 |                 #error "__builtin_shmctl64 not found"
      |                  ^~~~~

Checking for function "shmctl64" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvnbp0uua
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvnbp0uua/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvnbp0uua/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define sigaction meson_disable_define_of_sigaction
        
        #include <limits.h>
        #undef sigaction
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char sigaction (void);
        
        #if defined __stub_sigaction || defined __stub___sigaction
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return sigaction ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpvnbp0uua/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "sigaction" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpf5zetvu1
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpf5zetvu1/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpf5zetvu1/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define strcasecmp meson_disable_define_of_strcasecmp
        
        #include <limits.h>
        #undef strcasecmp
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char strcasecmp (void);
        
        #if defined __stub_strcasecmp || defined __stub___strcasecmp
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return strcasecmp ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpf5zetvu1/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpf5zetvu1/testfile.c:10:14: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
   10 |         char strcasecmp (void);
      |              ^~~~~~~~~~

Checking for function "strcasecmp" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5tyfdhcd
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5tyfdhcd/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5tyfdhcd/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define strcasestr meson_disable_define_of_strcasestr
        
        #include <limits.h>
        #undef strcasestr
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char strcasestr (void);
        
        #if defined __stub_strcasestr || defined __stub___strcasestr
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return strcasestr ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp5tyfdhcd/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "strcasestr" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq8gjpm2l
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq8gjpm2l/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq8gjpm2l/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,--start-group /usr/lib64/libbsd.so -Wl,--end-group -Wl,-O2 

Code:
 
        #define strlcat meson_disable_define_of_strlcat
        
        #include <limits.h>
        #undef strlcat
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char strlcat (void);
        
        #if defined __stub_strlcat || defined __stub___strlcat
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return strlcat ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpq8gjpm2l/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "strlcat" with dependency libbsd: YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppryrst8g
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppryrst8g/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppryrst8g/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,--start-group /usr/lib64/libbsd.so -Wl,--end-group -Wl,-O2 

Code:
 
        #define strlcpy meson_disable_define_of_strlcpy
        
        #include <limits.h>
        #undef strlcpy
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char strlcpy (void);
        
        #if defined __stub_strlcpy || defined __stub___strlcpy
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return strlcpy ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmppryrst8g/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "strlcpy" with dependency libbsd: YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn07i5llx
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn07i5llx/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn07i5llx/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define strncasecmp meson_disable_define_of_strncasecmp
        
        #include <limits.h>
        #undef strncasecmp
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char strncasecmp (void);
        
        #if defined __stub_strncasecmp || defined __stub___strncasecmp
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return strncasecmp ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn07i5llx/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn07i5llx/testfile.c:10:14: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
   10 |         char strncasecmp (void);
      |              ^~~~~~~~~~~

Checking for function "strncasecmp" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcpa6opv3
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcpa6opv3/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcpa6opv3/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define strndup meson_disable_define_of_strndup
        
        #include <limits.h>
        #undef strndup
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char strndup (void);
        
        #if defined __stub_strndup || defined __stub___strndup
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return strndup ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcpa6opv3/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpcpa6opv3/testfile.c:10:14: warning: conflicting types for built-in function 'strndup'; expected 'char *(const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
   10 |         char strndup (void);
      |              ^~~~~~~

Checking for function "strndup" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeda8slf9
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeda8slf9/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeda8slf9/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define timingsafe_memcmp meson_disable_define_of_timingsafe_memcmp
        
        #include <limits.h>
        #undef timingsafe_memcmp
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char timingsafe_memcmp (void);
        
        #if defined __stub_timingsafe_memcmp || defined __stub___timingsafe_memcmp
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return timingsafe_memcmp ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeda8slf9/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/cc4d021I.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpeda8slf9/testfile.c:17: undefined reference to `timingsafe_memcmp'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn3poqoi0
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn3poqoi0/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn3poqoi0/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(timingsafe_memcmp) && !0
            #error "No definition for __builtin_timingsafe_memcmp found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_timingsafe_memcmp)
                #error "__builtin_timingsafe_memcmp not found"
            #endif
        #elif ! defined(timingsafe_memcmp)
            __builtin_timingsafe_memcmp;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn3poqoi0/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpn3poqoi0/testfile.c:17:18: error: #error "__builtin_timingsafe_memcmp not found"
   17 |                 #error "__builtin_timingsafe_memcmp not found"
      |                  ^~~~~

Checking for function "timingsafe_memcmp" : NO 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqsylury3
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqsylury3/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqsylury3/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define vasprintf meson_disable_define_of_vasprintf
        
        #include <limits.h>
        #undef vasprintf
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char vasprintf (void);
        
        #if defined __stub_vasprintf || defined __stub___vasprintf
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return vasprintf ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpqsylury3/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Checking for function "vasprintf" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1z524wgq
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1z524wgq/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1z524wgq/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define vsnprintf meson_disable_define_of_vsnprintf
        
        #include <limits.h>
        #undef vsnprintf
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char vsnprintf (void);
        
        #if defined __stub_vsnprintf || defined __stub___vsnprintf
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return vsnprintf ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1z524wgq/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1z524wgq/testfile.c:10:14: warning: conflicting types for built-in function 'vsnprintf'; expected 'int(char *, long unsigned int,  const char *, __va_list)' [-Wbuiltin-declaration-mismatch]
   10 |         char vsnprintf (void);
      |              ^~~~~~~~~
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmp1z524wgq/testfile.c:5:1: note: 'vsnprintf' is declared in header '<stdio.h>'
    4 |         #include <limits.h>
  +++ |+#include <stdio.h>
    5 |         #undef vsnprintf

Checking for function "vsnprintf" : YES 
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpscvnq3it
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpscvnq3it/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpscvnq3it/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        #define walkcontext meson_disable_define_of_walkcontext
        
        #include <limits.h>
        #undef walkcontext
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char walkcontext (void);
        
        #if defined __stub_walkcontext || defined __stub___walkcontext
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return walkcontext ();
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:203,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/syslimits.h:7,
                 from /usr/lib64/gcc/aarch64-rosa-linux-gnu/11.4.0/include/limits.h:34,
                 from /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpscvnq3it/testfile.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/usr/bin/aarch64-rosa-linux-gnu-ld: /tmp/ccC8UJCF.o: in function `main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpscvnq3it/testfile.c:17: undefined reference to `walkcontext'
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpl2czlp37
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpl2czlp37/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpl2czlp37/output.exe -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 -Wl,-O2 

Code:
 
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(walkcontext) && !0
            #error "No definition for __builtin_walkcontext found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_walkcontext)
                #error "__builtin_walkcontext not found"
            #endif
        #elif ! defined(walkcontext)
            __builtin_walkcontext;
        #endif
        return 0;
        }
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpl2czlp37/testfile.c: In function 'main':
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpl2czlp37/testfile.c:17:18: error: #error "__builtin_walkcontext not found"
   17 |                 #error "__builtin_walkcontext not found"
      |                  ^~~~~

Checking for function "walkcontext" : NO 
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --variable=dridriverdir dri` -> 0
/usr/lib64/dri
Got pkgconfig variable dridriverdir : /usr/lib64/dri
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpetwvwk8l
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpetwvwk8l/testfile.c -o /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpetwvwk8l/output.obj -c -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99 

Code:
 #if !defined(SVR4) && !defined(__svr4__) && !defined(__SVR4)
#error "I am not SVR4"
#endif

Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C
/builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpetwvwk8l/testfile.c:2:2: error: #error "I am not SVR4"
    2 | #error "I am not SVR4"
      |  ^~~~~

Configuring dix-config.h using configuration
Configuring xorg-server.h using configuration
Configuring version-config.h using configuration
Configuring xkb-config.h using configuration
Configuring xorg-config.h using configuration
Configuring xwin-config.h using configuration
Configuring xwayland-config.h using configuration
Pkg-config binary for 1 is cached.
Determining dependency 'glproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion glproto` -> 0
1.4.17
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags glproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs glproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs glproto` -> 0

Run-time dependency glproto found: YES 1.4.17
Pkg-config binary for 1 is cached.
Determining dependency 'gl' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion gl` -> 0
1.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags gl` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs gl` -> 0
-L/usr/lib64 -lGL
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs gl` -> 0
-lGL
Run-time dependency gl found: YES 1.2
Dependency glproto found: YES 1.4.17 (cached)
Dependency gl found: YES 1.2 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'libtirpc' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion libtirpc` -> 0
1.3.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags libtirpc` -> 0
-I/usr/include/tirpc
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs libtirpc` -> 0
-L/lib64 -ltirpc
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs libtirpc` -> 0
-L/lib64 -ltirpc
Run-time dependency libtirpc found: YES 1.3.2
Dependency xau found: YES 1.0.9 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'presentproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion presentproto` -> 0
1.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags presentproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs presentproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs presentproto` -> 0

Run-time dependency presentproto found: YES 1.3
Dependency epoxy found: YES 1.5.8 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'xcb' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb` -> 0
-L/usr/lib64 -lxcb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb` -> 0
-lxcb
Run-time dependency xcb found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-shape' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-shape` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-shape` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-shape` -> 0
-L/usr/lib64 -lxcb-shape
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-shape` -> 0
-lxcb-shape
Run-time dependency xcb-shape found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-render' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-render` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-render` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-render` -> 0
-L/usr/lib64 -lxcb-render
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-render` -> 0
-lxcb-render
Run-time dependency xcb-render found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-renderutil' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-renderutil` -> 0
0.3.9
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-renderutil` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-renderutil` -> 0
-L/usr/lib64 -lxcb-render-util -lxcb -lxcb-render
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-renderutil` -> 0
-lxcb-render-util -lxcb -lxcb-render
Run-time dependency xcb-renderutil found: YES 0.3.9
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-aux' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-aux` -> 0
0.4.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-aux` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-aux` -> 0
-L/usr/lib64 -lxcb-util -lxcb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-aux` -> 0
-lxcb-util -lxcb
Run-time dependency xcb-aux found: YES 0.4.1
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-image' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-image` -> 0
0.4.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-image` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-image` -> 0
-L/usr/lib64 -lxcb-image -lxcb -lxcb-shm
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-image` -> 0
-lxcb-image -lxcb -lxcb-shm
Run-time dependency xcb-image found: YES 0.4.0
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-icccm' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-icccm` -> 0
0.4.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-icccm` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-icccm` -> 0
-L/usr/lib64 -lxcb-icccm -lxcb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-icccm` -> 0
-lxcb-icccm -lxcb
Run-time dependency xcb-icccm found: YES 0.4.1
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-shm' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-shm` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-shm` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-shm` -> 0
-L/usr/lib64 -lxcb-shm
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-shm` -> 0
-lxcb-shm
Run-time dependency xcb-shm found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-keysyms' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-keysyms` -> 0
0.4.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-keysyms` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-keysyms` -> 0
-L/usr/lib64 -lxcb-keysyms -lxcb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-keysyms` -> 0
-lxcb-keysyms -lxcb
Run-time dependency xcb-keysyms found: YES 0.4.0
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-randr' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-randr` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-randr` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-randr` -> 0
-L/usr/lib64 -lxcb-randr
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-randr` -> 0
-lxcb-randr
Run-time dependency xcb-randr found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-xkb' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-xkb` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-xkb` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-xkb` -> 0
-L/usr/lib64 -lxcb-xkb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-xkb` -> 0
-lxcb-xkb
Run-time dependency xcb-xkb found: YES 1.14
Pkg-config binary for 1 is cached.
Determining dependency 'x11-xcb' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion x11-xcb` -> 0
1.8.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags x11-xcb` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs x11-xcb` -> 0
-L/usr/lib64 -lX11-xcb -lX11 -lxcb
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs x11-xcb` -> 0
-lX11-xcb -lX11 -lxcb
Run-time dependency x11-xcb found: YES 1.8.1
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-xv' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-xv` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-xv` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-xv` -> 0
-L/usr/lib64 -lxcb-xv
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-xv` -> 0
-lxcb-xv
Run-time dependency xcb-xv found: YES 1.14
Configuring Xephyr.1 using configuration
Program flex found: YES (/usr/bin/flex)
Program bison found: YES (/usr/bin/bison)
Pkg-config binary for 1 is cached.
Determining dependency 'xaw7' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xaw7` -> 0
1.0.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xaw7` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xaw7` -> 0
-L/usr/lib64 -lXaw7 -lXt -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xaw7` -> 0
-lXaw7 -lXt -lX11
Run-time dependency xaw7 found: YES 1.0.14
Pkg-config binary for 1 is cached.
Determining dependency 'xmu' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xmu` -> 0
1.1.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xmu` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xmu` -> 0
-L/usr/lib64 -lXmu -lXt -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xmu` -> 0
-lXmu -lXt -lX11
Run-time dependency xmu found: YES 1.1.3
Pkg-config binary for 1 is cached.
Determining dependency 'xt' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xt` -> 0
1.2.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xt` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xt` -> 0
-L/usr/lib64 -lXt -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xt` -> 0
-lXt -lX11
Run-time dependency xt found: YES 1.2.1
Pkg-config binary for 1 is cached.
Determining dependency 'xpm' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xpm` -> 0
3.5.17
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xpm` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xpm` -> 0
-L/usr/lib64 -lXpm -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xpm` -> 0
-lXpm -lX11
Run-time dependency xpm found: YES 3.5.17
Dependency x11 found: YES 1.8.1 (cached)
Running compile:
Working directory:  /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpud99blen
Command line:  cc /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/meson-private/tmpud99blen/testfile.c -E -P -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++17 -D_FILE_OFFSET_BITS=64 -P -O0 -std=gnu99 

Code:
 
        #ifdef __has_include
         #if !__has_include("linux/input.h")
          #error "Header 'linux/input.h' could not be found"
         #endif
        #else
         #include <linux/input.h>
        #endif
Compiler stdout:
 
Compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "linux/input.h" : YES 
Dependency xext found: YES 1.3.5 (cached)
Dependency x11 found: YES 1.8.1 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'dmx' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion dmx` -> 0
1.1.4
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags dmx` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs dmx` -> 0
-L/usr/lib64 -ldmx
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs dmx` -> 0
-ldmx
Run-time dependency dmx found: YES 1.1.4
Dependency xmu found: YES 1.1.3 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'xi' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xi` -> 0
1.7.99.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xi` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xi` -> 0
-L/usr/lib64 -lXi
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xi` -> 0
-lXi
Run-time dependency xi found: YES 1.7.99.2
Pkg-config binary for 1 is cached.
Determining dependency 'xtst' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xtst` -> 0
1.2.4
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xtst` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xtst` -> 0
-L/usr/lib64 -lXtst
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xtst` -> 0
-lXtst
Run-time dependency xtst found: YES 1.2.4
Pkg-config binary for 1 is cached.
Determining dependency 'xres' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xres` -> 0
1.2.2
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xres` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xres` -> 0
-L/usr/lib64 -lXRes
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xres` -> 0
-lXRes
Run-time dependency xres found: YES 1.2.2
Using cached compile:
Cached command line:   

Code:
 
        #ifdef __has_include
         #if !__has_include("linux/input.h")
          #error "Header 'linux/input.h' could not be found"
         #endif
        #else
         #include <linux/input.h>
        #endif
Cached compiler stdout:
 
Cached compiler stderr:
 cc1: warning: command-line option '-std=c++17' is valid for C++/ObjC++ but not for C

Has header "linux/input.h" : YES (cached)
Configuring Xdmx.1 using configuration
Configuring dmxtodmx.1 using configuration
Configuring vdltodmx.1 using configuration
Configuring xdmxconfig.1 using configuration
Pkg-config binary for 1 is cached.
Determining dependency 'dmxproto' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion dmxproto` -> 0
2.3.1
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags dmxproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs dmxproto` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs dmxproto` -> 0

Run-time dependency dmxproto found: YES 2.3.1
Dependency xext found: YES 1.3.5 (cached)
Dependency xau found: YES 1.0.9 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'xmuu' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xmuu` -> 0
1.1.3
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xmuu` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xmuu` -> 0
-L/usr/lib64 -lXmuu -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xmuu` -> 0
-lXmuu -lX11
Run-time dependency xmuu found: YES 1.1.3
Pkg-config binary for 1 is cached.
Determining dependency 'xfixes' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xfixes` -> 0
6.0.0
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xfixes` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xfixes` -> 0
-L/usr/lib64 -lXfixes
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xfixes` -> 0
-lXfixes
Run-time dependency xfixes found: YES 6.0.0
Pkg-config binary for 1 is cached.
Determining dependency 'xrender' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xrender` -> 0
0.9.10
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xrender` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xrender` -> 0
-L/usr/lib64 -lXrender -lX11
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xrender` -> 0
-lXrender -lX11
Run-time dependency xrender found: YES 0.9.10
Dependency xi found: YES 1.7.99.2 (cached)
Configuring Xvfb.1 using configuration
Configuring Xnest.1 using configuration
Pkg-config binary for 1 is cached.
Determining dependency 'pciaccess' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion pciaccess` -> 0
0.16
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags pciaccess` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs pciaccess` -> 0
-L/usr/lib64 -lpciaccess
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs pciaccess` -> 0
-lpciaccess
Run-time dependency pciaccess found: YES 0.16
Configuring xf86Build.h with command
Running command: /usr/bin/sh /builddir/build/BUILD/xorg-server-1.20.14/hw/xfree86/common/xf86Build.sh /builddir/build/BUILD/xorg-server-1.20.14/aarch64-rosa-linux-gnu/hw/xfree86/common/xf86Build.h
--- stdout ---

--- stderr ---


Program awk found: YES (/usr/bin/awk)
Dependency xau found: YES 1.0.9 (cached)
DEPRECATION: target shadow links against shared module fb, which is incorrect.
             This will be an error in the future, so please use shared_library() for fb instead.
             If shared_module() was used for fb because it has references to undefined symbols,
             use shared_libary() with `override_options: ['b_lundef=false']` instead.
Configuring exa.4 using configuration
Configuring fbdevhw.4 using configuration
Dependency libdrm found: YES 2.4.115 (cached)
Configuring modesetting.4 using configuration
Adding test "modesetting symbol test"
Configuring Xorg using configuration
Configuring Xorg.1 using configuration
Configuring Xorg.wrap.1 using configuration
Configuring Xwrapper.config.5 using configuration
Configuring xorg.conf.5 using configuration
Configuring xorg.conf.d.5 using configuration
Configuring cvt.1 using configuration
Configuring gtf.1 using configuration
Program scripts/xvfb-piglit.sh found: YES (/builddir/build/BUILD/xorg-server-1.20.14/test/scripts/xvfb-piglit.sh)
Adding test "xvfb-piglit"
Program scripts/xephyr-glamor-piglit.sh found: YES (/builddir/build/BUILD/xorg-server-1.20.14/test/scripts/xephyr-glamor-piglit.sh)
Adding test "xephyr-glamor"
Dependency xcb found: YES 1.14 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-xinput' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-xinput` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-xinput` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-xinput` -> 0
-L/usr/lib64 -lxcb-xinput
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-xinput` -> 0
-lxcb-xinput
Run-time dependency xcb-xinput found: YES 1.14
Adding test "request-length"
Dependency xcb found: YES 1.14 (cached)
Pkg-config binary for 1 is cached.
Determining dependency 'xcb-sync' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --modversion xcb-sync` -> 0
1.14
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --cflags xcb-sync` -> 0

env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/usr/bin/pkg-config --libs xcb-sync` -> 0
-L/usr/lib64 -lxcb-sync
env[PKG_CONFIG_PATH]: /usr/lib64/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/pkg-config --libs xcb-sync` -> 0
-lxcb-sync
Run-time dependency xcb-sync found: YES 1.14
Adding test "sync"
Configuring Xserver.1 using configuration
Program awk found: YES (/usr/bin/awk)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Running command: /usr/bin/awk -F [(,)] /^#define ABI_ANSIC.*SET/ { printf "%d.%d", $2, $3 } /builddir/build/BUILD/xorg-server-1.20.14/hw/xfree86/common/xf86Module.h
--- stdout ---
0.4
--- stderr ---


Running command: /usr/bin/awk -F [(,)] /^#define ABI_VIDEODRV.*SET/ { printf "%d.%d", $2, $3 } /builddir/build/BUILD/xorg-server-1.20.14/hw/xfree86/common/xf86Module.h
--- stdout ---
24.1
--- stderr ---


Running command: /usr/bin/awk -F [(,)] /^#define ABI_XINPUT.*SET/ { printf "%d.%d", $2, $3 } /builddir/build/BUILD/xorg-server-1.20.14/hw/xfree86/common/xf86Module.h
--- stdout ---
24.1
--- stderr ---


Running command: /usr/bin/awk -F [(,)] /^#define ABI_EXTENSION.*SET/ { printf "%d.%d", $2, $3 } /builddir/build/BUILD/xorg-server-1.20.14/hw/xfree86/common/xf86Module.h
--- stdout ---
10.0
--- stderr ---


Configuring xorg-server.pc using configuration
Build targets in project: 88
NOTICE: Future-deprecated features used:
 * 0.56.0: {'dependency.get_pkgconfig_variable', 'meson.build_root', 'meson.source_root'}

xserver 1.20.14

  User defined options
    bindir            : /usr/bin
    buildtype         : plain
    datadir           : /usr/share
    includedir        : /usr/include
    infodir           : /usr/share/info
    libdir            : /usr/lib64
    libexecdir        : /usr/libexec
    localedir         : /usr/share/locale
    localstatedir     : /var
    mandir            : /usr/share/man
    prefix            : /usr
    sbindir           : /usr/sbin
    sharedstatedir    : /var/lib
    sysconfdir        : /etc
    wrap_mode         : nodownload
    builder_addr      : https://rosalinux.ru
    builder_string    : Build ID: x11-server 1.20.14-13
    default_font_path : catalogue:/etc/X11/fontpath.d,built-ins
    dmx               : true
    int10             : false
    log_dir           : /var/log
    module_dir        : /usr/lib64/xorg/modules
    os_vendor         : ROSA
    sha1              : libgcrypt
    suid_wrapper      : true
    vbe               : false
    vendor_name       : ROSA
    vendor_web        : http://bugzilla.rosalinux.ru
    xcsecurity        : true
    xephyr            : true
    xorg              : true
    xwayland          : false
    xwayland_eglstream: false

Found ninja-1.11.1 at /usr/bin/ninja
Failed to guess install tag for /usr/share/X11/xorg.conf.d/10-quirks.conf
Failed to guess install tag for /usr/lib64/xorg/protocol.txt
Failed to guess install tag for /usr/share/aclocal/xorg-server.m4
