Skip to content

Instantly share code, notes, and snippets.

@Lucretia
Created April 16, 2024 20:09
Show Gist options
  • Save Lucretia/b3ce2b45a2a40871d95bee9f17328761 to your computer and use it in GitHub Desktop.
Save Lucretia/b3ce2b45a2a40871d95bee9f17328761 to your computer and use it in GitHub Desktop.
The Meson build system
Version: 1.3.1
Source dir: /mnt/data/src/others/amiga-stuff/mesa/mesa
Build dir: /mnt/data/src/others/amiga-stuff/mesa/mesa/build
Build type: cross build
Project name: mesa
Project version: 24.1.0-devel
C compiler for the host machine: m68k-amigaos-gcc (gcc 13.1.1 "m68k-amigaos-gcc (GCC) 13.1.1 20230426")
C linker for the host machine: m68k-amigaos-gcc ld.bfd 2.39.0.230920-120626
C++ compiler for the host machine: m68k-amigaos-g++ (gcc 13.1.1 "m68k-amigaos-g++ (GCC) 13.1.1 20230426")
C++ linker for the host machine: m68k-amigaos-g++ ld.bfd 2.39.0.230920-120626
C compiler for the build machine: cc (gcc 12.3.1 "cc (Gentoo 12.3.1_p20230825 p2) 12.3.1 20230825")
C linker for the build machine: cc ld.bfd 2.41
C++ compiler for the build machine: c++ (gcc 12.3.1 "c++ (Gentoo 12.3.1_p20230825 p2) 12.3.1 20230825")
C++ linker for the build machine: c++ ld.bfd 2.41
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: m68k
Host machine cpu: 68030
Target machine cpu family: m68k
Target machine cpu: 68030
Checking for size of "void*" : 4
meson.build:520: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default
Dependency libglvnd skipped: feature glvnd disabled
Dependency vdpau skipped: feature gallium-vdpau disabled
Program glslangValidator found: YES (/usr/bin/glslangValidator)
Dependency libva skipped: feature gallium-va disabled
Program python3 found: YES (/usr/bin/python3)
Fetching value of define "ETIME" : 111
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Checking for function "types_compatible_p" : YES
Compiler for C supports function attribute const: YES
Compiler for C supports function attribute flatten: YES
Compiler for C supports function attribute malloc: YES
Compiler for C supports function attribute pure: YES
Compiler for C supports function attribute unused: YES
Compiler for C supports function attribute warn_unused_result: YES
Compiler for C supports function attribute weak: YES
Compiler for C supports function attribute format: YES
Compiler for C supports function attribute packed: YES
Compiler for C supports function attribute returns_nonnull: YES
Compiler for C supports function attribute alias: NO
Compiler for C supports function attribute noreturn: YES
Compiler for C supports function attribute visibility:hidden: YES
Checking if "__uint128_t" compiles: NO
Checking for function "reallocarray" : YES
Checking for function "fmemopen" : YES
Checking if "gc-sections" : links: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=empty-body: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=int-conversion: YES
Compiler for C supports arguments -Wimplicit-fallthrough: YES
Compiler for C supports arguments -Wmisleading-indentation: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-format-truncation: YES
Compiler for C supports arguments -Wno-nonnull-compare: YES
Compiler for C supports arguments -fno-math-errno: YES
Compiler for C supports arguments -fno-trapping-math: YES
Compiler for C supports arguments -Qunused-arguments: NO
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -Wno-unknown-pragmas: YES
Compiler for C supports arguments -Wno-microsoft-enum-value: NO
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Werror=format: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Werror=thread-safety: NO
Compiler for C supports arguments -ffunction-sections: YES
Compiler for C supports arguments -fdata-sections: YES
Compiler for C supports arguments -Wno-unused-variable: YES
Compiler for C supports arguments -Wno-unused-but-set-variable: YES
Compiler for C supports arguments /wd4189: NO
Compiler for C++ supports arguments -Werror=return-type: YES
Compiler for C++ supports arguments -Werror=empty-body: YES
Compiler for C++ supports arguments -Wmisleading-indentation: YES
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C++ supports arguments -Wno-format-truncation: YES
Compiler for C++ supports arguments -fno-math-errno: YES
Compiler for C++ supports arguments -fno-trapping-math: YES
Compiler for C++ supports arguments -Qunused-arguments: NO
Compiler for C++ supports arguments -flifetime-dse=1: YES
Compiler for C++ supports arguments -Wno-unknown-pragmas: YES
Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO
Compiler for C++ supports arguments -Werror=format: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -ffunction-sections: YES
Compiler for C++ supports arguments -fdata-sections: YES
Compiler for C++ supports arguments -Wno-unused-variable: YES
Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES
Compiler for C++ supports arguments /wd4189: NO
Compiler for C supports arguments -Wno-override-init: YES
Compiler for C supports arguments -Wno-initializer-overrides: NO
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C supports arguments -Werror=gnu-empty-initializer: NO
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO
Checking for function "__builtin_ia32_clflushopt" : NO
Checking if "GCC atomic builtins" compiles: YES
Checking if "GCC atomic builtins required -latomic" : links: NO
Library atomic found: YES
Checking if "GCC 64bit atomics" with dependency -latomic: links: NO
Library ws2_32 found: NO
Header "sys/sysmacros.h" has symbol "major" : NO
Header "sys/mkdev.h" has symbol "major" : NO
Check usable header "sched.h" : YES
Checking for function "sched_getaffinity" : NO
Check usable header "sys/sysctl.h" : NO
Check usable header "xlocale.h" : YES
Check usable header "linux/futex.h" : NO
Check usable header "endian.h" : NO
Check usable header "dlfcn.h" : YES
Check usable header "sys/shm.h" : NO
Check usable header "cet.h" : NO
Check usable header "pthread_np.h" : NO
Check usable header "renderdoc_app.h" : NO
Check usable header "sys/inotify.h" : NO
Checking for function "strtof" : YES
Checking for function "mkostemp" : NO
Checking for function "memfd_create" : NO
Checking for function "random_r" : NO
Checking for function "flock" : NO
Checking for function "strtok_r" : YES
Checking for function "getrandom" : NO
Checking for function "qsort_s" : NO
Checking for function "posix_fallocate" : NO
Checking for function "secure_getenv" : NO
Checking if "GNU qsort_r" : links: YES
Header "time.h" has symbol "struct timespec" : YES
Checking for function "thrd_create" : NO
Header "errno.h" has symbol "program_invocation_name" : NO
Header "math.h" has symbol "issignaling" : NO
Checking for function "posix_memalign" : YES
Checking whether type "struct dirent" has member "d_type" : NO
Checking if "strtod has locale support" : links: YES
Checking if "Bsymbolic" : links: YES
Checking if "version-script" : links: YES
Checking if "dynamic-list" : links: YES
Compiler for C supports link arguments -Wl,--build-id=sha1: NO
Checking for function "dlopen" : NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: NO
Checking for function "dl_iterate_phdr" : NO
Checking for function "clock_gettime" : NO
Library nix found: YES
Found pkg-config: NO
Found CMake: NO
Run-time dependency zlib found: YES 1.3.1
Dependency libzstd skipped: feature zstd disabled
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: NO
Run-time dependency expat found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency expat
Executing subproject expat
expat| Project name: expat
expat| Project version: 2.5.0
expat| C compiler for the host machine: m68k-amigaos-gcc (gcc 13.1.1 "m68k-amigaos-gcc (GCC) 13.1.1 20230426")
expat| C linker for the host machine: m68k-amigaos-gcc ld.bfd 2.39.0.230920-120626
expat| C compiler for the build machine: cc (gcc 12.3.1 "cc (Gentoo 12.3.1_p20230825 p2) 12.3.1 20230825")
expat| C linker for the build machine: cc ld.bfd 2.41
expat| Run-time dependency libbsd-overlay found: NO (tried pkgconfig and cmake)
expat| Checking for function "arc4random_buf" with dependency libbsd-overlay: NO
expat| Checking for function "arc4random" with dependency libbsd-overlay: NO
expat| Has header "dlfcn.h" : YES
expat| Has header "fcntl.h" : YES
expat| Has header "inttypes.h" : YES
expat| Has header "memory.h" : YES
expat| Has header "stdint.h" : YES
expat| Has header "stdlib.h" : YES
expat| Has header "strings.h" : YES
expat| Has header "string.h" : YES
expat| Has header "sys/stat.h" : YES
expat| Has header "sys/types.h" : YES
expat| Has header "unistd.h" : YES
expat| Has header "stdlib.h" : YES (cached)
expat| Has header "stdarg.h" : YES
expat| Has header "string.h" : YES (cached)
expat| Has header "float.h" : YES
expat| Checking for function "getpagesize" : NO
expat| Checking for function "mmap" : NO
expat| Checking for function "getrandom" : NO (cached)
expat| Header "sys/types.h" has symbol "off_t" : YES
expat| Header "sys/types.h" has symbol "size_t" : YES
expat| Header "sys/syscall.h" has symbol "SYS_getrandom" : NO
expat| Configuring expat_config.h using configuration
expat| Compiler for C supports arguments -fno-strict-aliasing: YES
expat| Configuring libexpat.def using configuration
expat| Build targets in project: 1
expat| Subproject expat finished.
Dependency expat from subproject subprojects/expat-2.5.0 found: YES 2.5.0
Library m found: YES
Run-time dependency libudev found: NO (tried pkgconfig and cmake)
Run-time dependency libelf found: NO (tried pkgconfig and cmake)
Library elf found: NO
Run-time dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/usr/bin/bison)
Program bison found: YES 3.8.2 3.8.2 (/usr/bin/bison)
Program flex found: YES (/usr/bin/flex)
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Library sensors found: NO
Program nm found: YES (/usr/bin/nm)
Program symbols-check.py found: YES (/usr/bin/python3.11 /mnt/data/src/others/amiga-stuff/mesa/mesa/bin/symbols-check.py)
Program install_megadrivers.py found: YES (/usr/bin/python3.11 /mnt/data/src/others/amiga-stuff/mesa/mesa/bin/install_megadrivers.py)
Compiler for C supports arguments -Wno-misleading-indentation: YES
Program decode.py found: YES (/mnt/data/src/others/amiga-stuff/mesa/mesa/src/compiler/isaspec/decode.py)
Program encode.py found: YES (/mnt/data/src/others/amiga-stuff/mesa/mesa/src/compiler/isaspec/encode.py)
Build targets in project: 110
mesa 24.1.0-devel
Directories
prefix : /usr/local
libdir : lib
includedir : include
Common C and C++ arguments
c_cpp_args :
OpenGL
OpenGL : YES
ES1 : NO
ES2 : NO
Shared glapi : NO
GLVND : NO
DRI
Platform : none
Driver dir : /usr/local/lib/dri
GLX
Enabled : NO
Provider : None
EGL
Enabled : NO
GBM
Enabled : NO
Vulkan
Drivers : NO
Video
APIs : NO
LLVM
Enabled : NO
Gallium
Enabled : YES
Drivers : swrast
Platforms : amigaos
Frontends : mesa
Off-screen rendering (OSMesa): libOSMesa
HUD lm-sensors : NO
Perfetto
Enabled : NO
Teflon (TensorFlow Lite delegate)
Enabled : NO
Subprojects
expat : YES
User defined options
Cross files : ./amigaos/m68k.ini
./amigaos/cross.ini
buildtype : debug
default_library : static
b_ndebug : true
bebbo-dir : /home/laguest/opt/amiga-gcc/
gallium-drivers : swrast
glx : disabled
llvm : disabled
osmesa : true
platforms : amigaos
shared-glapi : disabled
vulkan-drivers : []
xmlconfig : enabled
zlib : enabled
zstd : disabled
Found ninja-1.11.1 at /usr/bin/ninja
@Lucretia
Copy link
Author

[1/878] Compiling C object src/c11/impl/libmesa_util_c11.a.p/time.c.o
FAILED: src/c11/impl/libmesa_util_c11.a.p/time.c.o
m68k-amigaos-gcc -Isrc/c11/impl/libmesa_util_c11.a.p -Isrc/c11/impl -I../src/c11/impl -Isrc -I../src -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O0 -g -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="24.1.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=0 -DHAVE_OPENGL_ES_2=0 -DHAVE_SWRAST -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DVIDEO_CODEC_AV1DEC=1 -DVIDEO_CODEC_AV1ENC=1 -DVIDEO_CODEC_VP9DEC=1 -DHAVE_AMIGAOS_PLATFORM -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=0 -DALLOW_KCMP -DMESA_DEBUG=1 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DHAS_SCHED_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_STRTOK_R -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN -DHAVE_STRTOD_L -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DLLVM_AVAILABLE=0 -DDRAW_LLVM_AVAILABLE=0 -DTHREAD_SANITIZER=0 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-field-initializers -Wno-format-truncation -Wno-nonnull-compare -fno-math-errno -fno-trapping-math -fno-common -Wno-unknown-pragmas -Wno-unused-function -Werror=format -Wformat-security -ffunction-sections -fdata-sections -Wno-unused-variable -Wno-unused-but-set-variable -fPIC -Werror=pointer-arith -Werror=vla -MD -MQ src/c11/impl/libmesa_util_c11.a.p/time.c.o -MF src/c11/impl/libmesa_util_c11.a.p/time.c.o.d -o src/c11/impl/libmesa_util_c11.a.p/time.c.o -c ../src/c11/impl/time.c
../src/c11/impl/time.c: In function 'c23_timespec_get':
../src/c11/impl/time.c:104:13: error: implicit declaration of function 'clock_gettime' [-Werror=implicit-function-declaration]
104 | if (clock_gettime(CLOCK_REALTIME, ts) == 0)
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment