From nobody Thu Dec 28 16:28:14 2023 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T1DTC0bttz5671F for ; Thu, 28 Dec 2023 16:28:15 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T1DTB48YPz3V4r for ; Thu, 28 Dec 2023 16:28:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703780894; a=rsa-sha256; cv=none; b=BjDKWNlHxkCyQ7DjR2kNMvoXtRsW3953mRHv0ufky52LaIKQJOvM3FoD2gBTDXm/mE8GeY ogBdiPasjlRzbgDt9drr+WqP2fhd5twiz6Vki4JrVeihtrBtzMSHJBPmiKueZhA++3gYKU 1ERiL8UGJnbIXUhI5EmKvAI4+EvHQHjACh1sMxwNV7Jpip8lVHiR31SHplJ4Y+QeSnRo0R qa5GKmopvLSeEkcmd4q51ttp1JOpou0VvQLR0i683PugsP2jhR2sxPzUOfM6T9BG7mETlm NKYFAgTMvtUegm/y7V0QnRRrolJshrtTan42tMmSAVlzJQ88claKqzKp3aPRuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703780894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=RrxAy/W/tWaZr6mRs6/ysHkCn7vyCgLYxOt3uA7Ke/Q=; b=nJrk7LwKyd6Z/pI+XLfykrfopYtuRRSJl64Zn3lDbgTC6LjkJb0Ol6j+Ll8YltKnmLDhz0 F7GRvmCqbdOA9KKxRwE2VAZNAi3Wl82U1R2XtG7uh+Bbraz1JQCqD3tjYrwyUve8SysJYh 9cMpurjnKtP0erbisAqJ3zEaCDft6CWBQ6pXWVsHxghiWXPA0xqtrapYxxVxA2z8rnMEtP kW9qezb+ldj8sKHE7BVMmiL1dN0xZpmeXO62HM6AnX5vWiBEya6x8GNdf8GJb6k3z2innn YamYt/QxIzSA12i4xLoDzABbRYcsPmrVAGkIWkD+/YxoAo7G87Mo0VLu+jAfzA== Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:21]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4T1DTB2sVPzVVT for ; Thu, 28 Dec 2023 16:28:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 290f by beefy18.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy18.nyi.freebsd.org); Thu, 28 Dec 2023 16:28:14 +0000 To: ashafer@badland.io Subject: [package - main-amd64-default][graphics/nvidia-drm-515-kmod] Failed for nvidia-drm-515-kmod-535.104.05_2 in build Cc: pkg-fallout@FreeBSD.org Date: Thu, 28 Dec 2023 16:28:14 +0000 Message-Id: <658da21e.290f.641fc6e4@beefy18.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: ashafer@badland.io Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p384f6f077a9c_s1ff41cad71/logs/nvidia-drm-515-kmod-535.104.05_2.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p384f6f077a9c_s1ff41cad71 Log: =>> Building graphics/nvidia-drm-515-kmod build started at Thu Dec 28 16:27:29 UTC 2023 port directory: /usr/ports/graphics/nvidia-drm-515-kmod package name: nvidia-drm-515-kmod-535.104.05_2 building for: FreeBSD main-amd64-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500008 amd64 maintained by: ashafer@badland.io Makefile datestamp: -rw-r--r-- 1 root wheel 333 Nov 9 01:01 /usr/ports/graphics/nvidia-drm-515-kmod/Makefile Ports top last git commit: 384f6f077a9 Ports top unclean checkout: no Port dir last git commit: b8c2854f2fe Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.0 Host OSVERSION: 1500006 Jail OSVERSION: 1500008 Job Id: 10 !!! Jail is newer than host. (Jail: 1500008, Host: 1500006) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500008 UNAME_v=FreeBSD 15.0-CURRENT 1500008 UNAME_r=15.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.0 MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/main-amd64-default/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.0 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ashafer@badland.io --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/.cache HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- DRMKMODDIR=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/ KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/.cache HOME=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing " MANP REFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- KMODDIR="boot/modules" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nvidia-drm-515-kmod" EXAMPLESDIR="share/examples/nvidia-drm-515-kmod" DATADIR="share/nvidia-drm-515-kmod" WWWDIR="www/nvidia-drm-515-kmod" ETCDIR="etc/nvidia-drm-515-kmod" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nvidia-drm-515-kmod DOCSDIR=/usr/local/share/doc/nvidia-drm-515-kmod EXAMPLESDIR=/usr/local/share/examples/nvidia-drm-515-kmod WWWDIR=/usr/local/www/nvidia-drm-515-kmod ETCDIR=/usr/local/etc/nvidia-drm-515-kmod --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nvidia-drm-515-kmod-535.104.05_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [main-amd64-default-job-10] Installing pkg-1.20.9... [main-amd64-default-job-10] Extracting pkg-1.20.9: .......... done ===> nvidia-drm-515-kmod-535.104.05_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nvidia-drm-515-kmod-535.104.05_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 => freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://codeload.github.com/freebsd/drm-kmod/tar.gz/drm_v5.15.118_4?dummy=/freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz fetch: https://codeload.github.com/freebsd/drm-kmod/tar.gz/drm_v5.15.118_4?dummy=/freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz: size unknown fetch: https://codeload.github.com/freebsd/drm-kmod/tar.gz/drm_v5.15.118_4?dummy=/freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz: size of remote file is not known freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz 24 MB 5381 kBps 05s ===> Fetching all distfiles required by nvidia-drm-515-kmod-535.104.05_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nvidia-drm-515-kmod-535.104.05_2 for building => SHA256 Checksum OK for amshafer-nvidia-driver-535.104.05-nvidia-drm-515-kmod-535.104.05_GH0.tar.gz. => SHA256 Checksum OK for freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nvidia-drm-515-kmod-535.104.05_2 for building ===> Extracting for nvidia-drm-515-kmod-535.104.05_2 => SHA256 Checksum OK for amshafer-nvidia-driver-535.104.05-nvidia-drm-515-kmod-535.104.05_GH0.tar.gz. => SHA256 Checksum OK for freebsd-drm-kmod-drm_v5.15.118_4_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for nvidia-drm-515-kmod-535.104.05_2 ===> Applying FreeBSD patches for nvidia-drm-515-kmod-535.104.05_2 from /usr/ports/graphics/nvidia-drm-515-kmod/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nvidia-drm-515-kmod-535.104.05_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nvidia-drm-515-kmod-535.104.05_2 --- machine --- --- x86 --- :> opt_drm.h --- opt_syscons.h --- :> opt_syscons.h --- opt_stack.h --- :> opt_stack.h --- conftest/headers.h --- mkdir -p conftest /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/conftest.sh 'cc' x86_64 /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/ this_arg_not_used_on_bsd test_kernel_headers '-I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/in clude -I. -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -DLINUXKPI_VERSION=51501' > conftest/headers.h --- opt_global.h --- --- bus_if.h --- --- opt_global.h --- touch opt_global.h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- usb_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h --- vnode_if.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h --- conftest/generic.h --- --- conftest/function.h --- --- conftest/type.h --- --- conftest/generic.h --- mkdir -p conftest --- conftest/function.h --- mkdir -p conftest --- conftest/type.h --- mkdir -p conftest --- conftest/generic.h --- /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/conftest.sh 'cc' x86_64 /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/ this_arg_not_used_on_bsd compile_tests '-I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -DLINUXKPI_VERSION=51501' drm_available drm_atomic_available is_export_symbol_gpl_refcount_inc is_export_symbol_gpl_refcount_dec_and_test drm_alpha_blending_available drm_gem_prime_fd_to_handle drm_gem_prime_handle_to_fd > conftest/generic.h --- conftest/function.h --- /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/conftest.sh 'cc' x86_64 /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/ this_arg_not_used_on_bsd compile_tests '-I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -DLINUXKPI_VERSION=51501' drm_dev_unref drm_reinit_primary_mode_group get_user_pages_remote get_user_pages pin_user_pages_remote pin_user_pages drm_gem_object_lookup drm_atomic_state_ref_counting drm_driver_has_gem_prime_res_obj drm_atomic_helper_connector_dpms drm_connector_funcs_have_mode_in_name drm_connector_has_vrr_capable_property vmf_insert_pfn drm_framebuffer_get drm_gem_object_get drm_dev_put drm_format_num_planes drm_connector_for_each_possible_encoder drm_rotation_available drm_vma_offset_exact_lookup_locked drm_gem_object_put_unlocked nvhost_dma_fence_unpack list_is_first timer_setup > conftest/function.h --- conftest/type.h --- /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/conftest.sh 'cc' x86_64 /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/ this_arg_not_used_on_bsd compile_tests '-I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -DLINUXKPI_VERSION=51501' drm_bus_present drm_bus_has_bus_type drm_bus_has_get_irq drm_bus_has_get_name drm_driver_has_device_list drm_driver_has_legacy_dev_list drm_driver_has_set_busid drm_crtc_state_has_connectors_changed drm_init_function_args drm_helper_mode_fill_fb_struct drm_master_drop_has_from_release_arg drm_driver_unload_has_int_return_type vm_fault_has_address vm_ops_fault_removed_vma_arg drm_atomic_helper_crtc_destroy_state_has_crtc_arg drm_atomic_helper_plane_destroy_state_has_plane_arg drm_mode_object_find_has_file_priv_arg dma_buf_owner drm_connector_list_iter drm_atomic_helper_swap_state_has_stall_arg drm_driver_prime_flag_present vm_fault_t drm_gem_object_has_resv drm_crtc_state_has_async_flip drm_crtc_state_has_pageflip_flags drm_crtc_state_has_vrr_enabled drm_format_modifiers_present mm_has_mmap_lock drm_vma_node_is_allowed_has_tag_arg drm_vma_offset_node_has_readonly dr m_display_mode_has_vrefresh drm_driver_master_set_has_int_return_type drm_driver_has_gem_free_object drm_prime_pages_to_sg_has_drm_device_arg drm_driver_has_gem_prime_callbacks drm_crtc_atomic_check_has_atomic_state_arg drm_gem_object_vmap_has_map_arg drm_plane_atomic_check_has_atomic_state_arg drm_device_has_pdev drm_crtc_state_has_no_vblank drm_mode_config_has_allow_fb_modifiers drm_has_hdr_output_metadata dma_resv_add_fence dma_resv_reserve_fences reservation_object_reserve_shared_has_num_fences_arg drm_connector_has_override_edid drm_master_has_leases drm_file_get_master drm_modeset_lock_all_end drm_connector_lookup drm_connector_put vm_area_struct_has_const_vm_flags drm_driver_has_dumb_destroy > conftest/type.h --- nvidia-drm-connector.o --- --- nvidia-drm-crtc.o --- --- nvidia-drm-drv.o --- --- nvidia-drm-connector.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-connector.o -MTnvidia-drm-connector.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freeb sd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-connector.c -o nvidia-drm-connector.o --- nvidia-drm-crtc.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-crtc.o -MTnvidia-drm-crtc.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf __ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-crtc.c -o nvidia-drm-crtc.o --- nvidia-drm-drv.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-drv.o -MTnvidia-drm-drv.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-drv.c -o nvidia-drm-drv.o --- nvidia-drm-crtc.o --- In file included from nvidia-drm-crtc.c:33: In file included from ./nvidia-drm-fb.h:38: In file included from ./nvidia-drm-gem-nvkms-memory.h:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ --- nvidia-drm-encoder.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-encoder.o -MTnvidia-drm-encoder.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_k printf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-encoder.c -o nvidia-drm-encoder.o --- nvidia-drm-crtc.o --- 2 warnings generated. --- nvidia-drm-fb.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-fb.o -MTnvidia-drm-fb.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ - Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-fb.c -o nvidia-drm-fb.o --- nvidia-drm-drv.o --- In file included from nvidia-drm-drv.c:32: In file included from ./nvidia-drm-fb.h:38: In file included from ./nvidia-drm-gem-nvkms-memory.h:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ nvidia-drm-drv.c:966:13: warning: unused function 'nv_drm_revoke_connector' [-Wunused-function] 966 | static bool nv_drm_revoke_connector(struct nv_drm_device *nv_dev, | ^~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. --- nvidia-drm-format.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-format.o -MTnvidia-drm-format.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kpr intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-format.c -o nvidia-drm-format.o --- nvidia-drm-fb.o --- In file included from nvidia-drm-fb.c:29: In file included from ./nvidia-drm-fb.h:38: In file included from ./nvidia-drm-gem-nvkms-memory.h:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ --- nvidia-drm-freebsd-lkpi.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-freebsd-lkpi.o -MTnvidia-drm-freebsd-lkpi.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=_ _freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-freebsd-lkpi.c -o nvidia-drm-freebsd-lkpi.o --- nvidia-drm-fb.o --- 2 warnings generated. --- nvidia-drm-gem-dma-buf.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-gem-dma-buf.o -MTnvidia-drm-gem-dma-buf.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__f reebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-gem-dma-buf.c -o nvidia-drm-gem-dma-buf.o --- nvidia-drm-gem-nvkms-memory.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-gem-nvkms-memory.o -MTnvidia-drm-gem-nvkms-memory.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__pr intf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-gem-nvkms-memory.c -o nvidia-drm-gem-nvkms-memory.o --- nvidia-drm-gem-dma-buf.o --- In file included from nvidia-drm-gem-dma-buf.c:39: In file included from ./nvidia-drm-gem-dma-buf.h:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ 2 warnings generated. --- nvidia-drm-gem-user-memory.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-gem-user-memory.o -MTnvidia-drm-gem-user-memory.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__prin tf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-gem-user-memory.c -o nvidia-drm-gem-user-memory.o --- nvidia-drm-gem.o --- cc -O2 -pipe -fno-strict-aliasing -g -O0 -Wno-visibility -Wno-error=unused-but-set-variable -Wno-error=missing-prototypes -Wno-error=pointer-arith -DNV_VERSION_STRING=\"535.104.05\" -Werror=undef -D_KERNEL -DKLD_MODULE -nostdinc -DLINUXKPI_VERSION=51501 -Wno-cast-qual -Wno-incompatible-pointer-types-discards-qualifiers -DLINUXKPI_VERSION=51501 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I/usr/include -I../common/inc -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/bsd/include -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/ -I/usr/src/sys/compat/linuxkpi/common/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/dummy/include/ -I/usr/src/sys/compat/linuxkpi/dummy/include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//include/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515 -kmod/work/drm-kmod-drm_v5.15.118_4//include/uapi/ -I/wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//drivers/gpu/ -I/usr/src/sys/contrib/ck/include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I../nvidia/ -include /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nvidia-drm-gem.o -MTnvidia-drm-gem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c nvidia-drm-gem.c -o nvidia-drm-gem.o --- nvidia-drm-gem-user-memory.o --- In file included from nvidia-drm-gem-user-memory.c:31: In file included from ./nvidia-drm-gem-user-memory.h:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ --- nvidia-drm-gem.o --- In file included from nvidia-drm-gem.c:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ nvidia-drm-gem.c:90:8: error: incomplete definition of type 'struct iosys_map' 90 | map->vaddr = vaddr; | ~~~^ nvidia-drm-gem.c:76:16: note: forward declaration of 'struct iosys_map' 76 | typedef struct iosys_map nv_sysio_map_t; | ^ nvidia-drm-gem.c:91:8: error: incomplete definition of type 'struct iosys_map' 91 | map->is_iomem = true; | ~~~^ nvidia-drm-gem.c:76:16: note: forward declaration of 'struct iosys_map' 76 | typedef struct iosys_map nv_sysio_map_t; | ^ nvidia-drm-gem.c:98:37: error: incomplete definition of type 'struct iosys_map' 98 | nv_drm_gem_prime_vunmap(gem, map->vaddr); | ~~~^ nvidia-drm-gem.c:76:16: note: forward declaration of 'struct iosys_map' 76 | typedef struct iosys_map nv_sysio_map_t; | ^ nvidia-drm-gem.c:99:8: error: incomplete definition of type 'struct iosys_map' 99 | map->vaddr = NULL; | ~~~^ nvidia-drm-gem.c:76:16: note: forward declaration of 'struct iosys_map' 76 | typedef struct iosys_map nv_sysio_map_t; | ^ nvidia-drm-gem.c:112:16: error: incompatible function pointer types initializing 'int (*)(struct drm_gem_object *, struct dma_buf_map *)' with an expression of type 'int (struct drm_gem_object *, nv_sysio_map_t *)' (aka 'int (struct drm_gem_object *, struct iosys_map *)') [-Wincompatible-function-pointer-types] 112 | .vmap = nv_drm_gem_vmap, | ^~~~~~~~~~~~~~~ nvidia-drm-gem.c:113:16: error: incompatible function pointer types initializing 'void (*)(struct drm_gem_object *, struct dma_buf_map *)' with an expression of type 'void (struct drm_gem_object *, nv_sysio_map_t *)' (aka 'void (struct drm_gem_object *, struct iosys_map *)') [-Wincompatible-function-pointer-types] 113 | .vunmap = nv_drm_gem_vunmap, | ^~~~~~~~~~~~~~~~~ 2 warnings and 6 errors generated. *** [nvidia-drm-gem.o] Error code 1 make[1]: stopped in /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm --- nvidia-drm-gem-user-memory.o --- 2 warnings generated. --- nvidia-drm-gem-nvkms-memory.o --- In file included from nvidia-drm-gem-nvkms-memory.c:27: In file included from ./nvidia-drm-gem-nvkms-memory.h:30: In file included from ./nvidia-drm-gem.h:48: In file included from /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/drm-kmod-drm_v5.15.118_4//linuxkpi/gplv2/include/linux/dma-buf.h:28: /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:21:20: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 21 | dbm->vaddr_iomem += n; | ~~~~~~~~~~~~~~~~ ^ /usr/src/sys/compat/linuxkpi/common/include/linux/dma-buf-map.h:23:14: warning: arithmetic on a pointer to void is a GNU extension [-Wgnu-pointer-arith] 23 | dbm->vaddr += n; | ~~~~~~~~~~ ^ nvidia-drm-gem-nvkms-memory.c:599:43: warning: variable 'nv_nvkms_memory_src' set but not used [-Wunused-but-set-variable] 599 | const struct nv_drm_gem_nvkms_memory *nv_nvkms_memory_src; | ^ 3 warnings generated. 1 error make[1]: stopped in /wrkdirs/usr/ports/graphics/nvidia-drm-515-kmod/work/nvidia-driver-nvidia-drm-515-kmod-535.104.05/nvidia/src/nvidia-drm ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/nvidia-drm-515-kmod