Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2016 20:30:57 -0500
From:      Ultima <ultima1252@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   x11/nvidia-driver issues compiling on 9.X
Message-ID:  <CANJ8om4wCk5Wibftu4pQpAgs_L3Ek=xus3dD_MvXNSo9=WseZQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
 Working on updating nvidia-driver to the newest version (361.16) and stuck
with an issue building on 9.X. there is a new kernel module that calls a
function cap_rights_init, which does not exist on 9.X. It looks like it was
new code added in 10.X. The patch builds perfectly in 10.X and head. If
someone is willing to take a look at this It would be appreciated!

  The patch is on PR 201340 called nvidia-driver-test,not-ready.diff

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201340

Here is the build log

====>> Building x11/nvidia-driver
build started at Sun Jan 10 19:48:21 EST 2016
port directory: /usr/ports/x11/nvidia-driver
building for: FreeBSD 93amd64-test-job-01 9.3-RELEASE-p32 FreeBSD
9.3-RELEASE-p32 amd64
maintained by: danfe@FreeBSD.org
Makefile ident:      $FreeBSD: head/x11/nvidia-driver/Makefile 399346
2015-10-15 14:55:14Z mat $
Poudriere version: 3.1.10
Host OSVERSION: 1002502
Jail OSVERSION: 903000

---Begin Environment---
SHELL=/bin/csh
OSVERSION=903000
UNAME_v=FreeBSD 9.3-RELEASE-p32
UNAME_r=9.3-RELEASE-p32
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
WARNING_WAIT=0
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/93amd64-test/ref
NO_WARNING_PKG_INSTALL_EOL=yes
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=nvidia-driver-361.16
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/93amd64-test/ref/.p/pool
MASTERNAME=93amd64-test
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.10
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
DEV_WARNING_WAIT=0
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for
nvidia-driver-361.16:
     ACPI_PM=off: ACPI Power Management support
     DOCS=on: Build and/or install documentation
     LINUX=on: Linux compatibility support
     WBINVD=off: Flush CPU caches directly with WBINVD
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work
 XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work
 HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work TMPDIR="/tmp" SHELL=/bin/sh
CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NVIDIA_ROOT=/wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-361.16
X11BASE=/usr/local KMODDIR="/boot/modules" SYSDIR="/usr/src/sys"
NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work
 XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work
 HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work TMPDIR="/tmp" NO_PIE=yes
NO_DEBUG_FILES=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local
 LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe
-fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="c++"
CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install   -m 555"  BSD_INSTALL_LIB="install   -m 444"
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"
 BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
LINUXBASE=/compat/linux
SHLIB_VERSION=361.16
MODULESDIR=lib/xorg/modules
LINUX=""
KMODDIR="boot/modules"
OSREL=9.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/NVIDIA_GLX-1.0"
EXAMPLESDIR="share/examples/nvidia-driver"
DATADIR="share/nvidia-driver"
WWWDIR="www/nvidia-driver"
ETCDIR="etc/nvidia-driver"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/nvidia-driver
DOCSDIR=/usr/local/share/doc/NVIDIA_GLX-1.0
EXAMPLESDIR=/usr/local/share/examples/nvidia-driver
WWWDIR=/usr/local/www/nvidia-driver
ETCDIR=/usr/local/etc/nvidia-driver
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/102amd64-make.conf ####
DISABLE_LICENSES=yes
#DEFAULT_MYSQL_VER=101m
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nvidia-driver-361.16 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.6.2.txz
[93amd64-test-job-01] Installing pkg-1.6.2...
[93amd64-test-job-01] Extracting pkg-1.6.2: .......... done
Message from pkg-1.6.2:
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   nvidia-driver-361.16 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nvidia-driver-361.16
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   nvidia-driver-361.16 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nvidia-driver-361.16 for building
===========================================================================
=======================<phase: checksum       >============================
===>   nvidia-driver-361.16 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nvidia-driver-361.16 for building
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-361.16.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   nvidia-driver-361.16 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nvidia-driver-361.16 for building
===>  Extracting for nvidia-driver-361.16
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-361.16.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for nvidia-driver-361.16
===>  Applying extra patch
/usr/ports/x11/nvidia-driver/files/extra-patch-src_nvidia_Makefile
===>  Applying extra patch
/usr/ports/x11/nvidia-driver/files/extra-patch-src_nvidia_nv-freebsd.h
===>  Applying extra patch
/usr/ports/x11/nvidia-driver/files/extra-patch-src_nvidia_nv-misc.h
===>  Applying FreeBSD patches for nvidia-driver-361.16
===========================================================================
=======================<phase: build-depends  >============================
===>   nvidia-driver-361.16 depends on package: libGL>0 - not found
===>   Installing existing package /packages/All/libGL-11.0.8.txz
[93amd64-test-job-01] Installing libGL-11.0.8...
[93amd64-test-job-01] `-- Installing expat-2.1.0_3...
[93amd64-test-job-01] `-- Extracting expat-2.1.0_3: .......... done
[93amd64-test-job-01] `-- Installing dri2proto-2.8...
[93amd64-test-job-01] `-- Extracting dri2proto-2.8: .... done
[93amd64-test-job-01] `-- Installing libXdamage-1.1.4_3...
[93amd64-test-job-01] |   `-- Installing libXfixes-5.0.1_3...
[93amd64-test-job-01] |   | `-- Installing xproto-7.0.28...
[93amd64-test-job-01] |   | `-- Extracting xproto-7.0.28: .......... done
[93amd64-test-job-01] |   | `-- Installing fixesproto-5.0...
[93amd64-test-job-01] |   | `-- Extracting fixesproto-5.0: .... done
[93amd64-test-job-01] |   | `-- Installing libX11-1.6.3,1...
[93amd64-test-job-01] |   |   `-- Installing kbproto-1.0.7...
[93amd64-test-job-01] |   |   `-- Extracting kbproto-1.0.7: .......... done
[93amd64-test-job-01] |   |   `-- Installing libXdmcp-1.1.2...
[93amd64-test-job-01] |   |   `-- Extracting libXdmcp-1.1.2: ...... done
[93amd64-test-job-01] |   |   `-- Installing libxcb-1.11.1...
[93amd64-test-job-01] |   |   | `-- Installing libxml2-2.9.3...
[93amd64-test-job-01] |   |   |   `-- Installing libiconv-1.14_9...
[93amd64-test-job-01] |   |   |   `-- Extracting libiconv-1.14_9:
.......... done
[93amd64-test-job-01] |   |   | `-- Extracting libxml2-2.9.3: ..........
done
[93amd64-test-job-01] |   |   | `-- Installing libpthread-stubs-0.3_6...
[93amd64-test-job-01] |   |   | `-- Extracting libpthread-stubs-0.3_6:
..... done
[93amd64-test-job-01] |   |   | `-- Installing libXau-1.0.8_3...
[93amd64-test-job-01] |   |   | `-- Extracting libXau-1.0.8_3: ..........
done
[93amd64-test-job-01] |   |   `-- Extracting libxcb-1.11.1: .......... done
[93amd64-test-job-01] |   | `-- Extracting libX11-1.6.3,1: .......... done
[93amd64-test-job-01] |   `-- Extracting libXfixes-5.0.1_3: ....... done
[93amd64-test-job-01] |   `-- Installing damageproto-1.2.1...
[93amd64-test-job-01] |   `-- Extracting damageproto-1.2.1: .... done
[93amd64-test-job-01] `-- Extracting libXdamage-1.1.4_3: ...... done
[93amd64-test-job-01] `-- Installing libdevq-0.0.2_1...
[93amd64-test-job-01] `-- Extracting libdevq-0.0.2_1: ..... done
[93amd64-test-job-01] `-- Installing gcc-4.8.5_2...
[93amd64-test-job-01] |   `-- Installing indexinfo-0.2.4...
[93amd64-test-job-01] |   `-- Extracting indexinfo-0.2.4: . done
[93amd64-test-job-01] |   `-- Installing mpc-1.0.3...
[93amd64-test-job-01] |   | `-- Installing gmp-5.1.3_2...
[93amd64-test-job-01] |   | `-- Extracting gmp-5.1.3_2: .......... done
[93amd64-test-job-01] |   | `-- Installing mpfr-3.1.3...
[93amd64-test-job-01] |   | `-- Extracting mpfr-3.1.3: .......... done
[93amd64-test-job-01] |   `-- Extracting mpc-1.0.3: ...... done
[93amd64-test-job-01] |   `-- Installing gcc-ecj-4.5...
[93amd64-test-job-01] |   `-- Extracting gcc-ecj-4.5: . done
[93amd64-test-job-01] |   `-- Installing binutils-2.25.1...
[93amd64-test-job-01] |   | `-- Installing gettext-runtime-0.19.6...
[93amd64-test-job-01] |   | `-- Extracting gettext-runtime-0.19.6:
.......... done
[93amd64-test-job-01] |   `-- Extracting binutils-2.25.1: .......... done
[93amd64-test-job-01] `-- Extracting gcc-4.8.5_2: .......... done
[93amd64-test-job-01] `-- Installing libXxf86vm-1.1.4_1...
[93amd64-test-job-01] |   `-- Installing xf86vidmodeproto-2.3.1...
[93amd64-test-job-01] |   `-- Extracting xf86vidmodeproto-2.3.1: .... done
[93amd64-test-job-01] |   `-- Installing libXext-1.3.3_1,1...
[93amd64-test-job-01] |   | `-- Installing xextproto-7.3.0...
[93amd64-test-job-01] |   | `-- Extracting xextproto-7.3.0: .......... done
[93amd64-test-job-01] |   `-- Extracting libXext-1.3.3_1,1: .......... done
[93amd64-test-job-01] `-- Extracting libXxf86vm-1.1.4_1: .......... done
[93amd64-test-job-01] `-- Installing libdrm-2.4.65_1,1...
[93amd64-test-job-01] |   `-- Installing libpciaccess-0.13.4...
[93amd64-test-job-01] |   | `-- Installing pciids-20151224...
[93amd64-test-job-01] |   | `-- Extracting pciids-20151224: . done
[93amd64-test-job-01] |   `-- Extracting libpciaccess-0.13.4: ...... done
[93amd64-test-job-01] `-- Extracting libdrm-2.4.65_1,1: .......... done
[93amd64-test-job-01] `-- Installing libxshmfence-1.2...
[93amd64-test-job-01] `-- Extracting libxshmfence-1.2: ...... done
[93amd64-test-job-01] `-- Installing libglapi-11.0.8...
[93amd64-test-job-01] |   `-- Installing libXvMC-1.0.9...
[93amd64-test-job-01] |   | `-- Installing libXv-1.0.10_3,1...
[93amd64-test-job-01] |   |   `-- Installing videoproto-2.3.2...
[93amd64-test-job-01] |   |   `-- Extracting videoproto-2.3.2: ...... done
[93amd64-test-job-01] |   | `-- Extracting libXv-1.0.10_3,1: .......... done
[93amd64-test-job-01] |   `-- Extracting libXvMC-1.0.9: .......... done
[93amd64-test-job-01] `-- Extracting libglapi-11.0.8: ... done
[93amd64-test-job-01] Extracting libGL-11.0.8: .......... done
Message from gcc-4.8.5_2:
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc48

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   nvidia-driver-361.16 depends on package: libGL>0 - found
===>   Returning to build of nvidia-driver-361.16
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/glproto.pc - not found
===>   Installing existing package /packages/All/glproto-1.4.17.txz
[93amd64-test-job-01] Installing glproto-1.4.17...
[93amd64-test-job-01] Extracting glproto-1.4.17: ...... done
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/glproto.pc - found
===>   Returning to build of nvidia-driver-361.16
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/xorg-server.pc - not found
===>   Installing existing package /packages/All/xorg-server-1.17.4,1.txz
[93amd64-test-job-01] Installing xorg-server-1.17.4,1...
[93amd64-test-job-01] `-- Installing font-util-1.3.1...
[93amd64-test-job-01] `-- Extracting font-util-1.3.1: .......... done
[93amd64-test-job-01] `-- Installing libepoxy-1.3.1...
[93amd64-test-job-01] |   `-- Installing libglesv2-11.0.8...
[93amd64-test-job-01] |   `-- Extracting libglesv2-11.0.8: .......... done
[93amd64-test-job-01] |   `-- Installing libEGL-11.0.8...
[93amd64-test-job-01] |   | `-- Installing gbm-11.0.8...
[93amd64-test-job-01] |   | `-- Extracting gbm-11.0.8: ..... done
[93amd64-test-job-01] |   | `-- Installing llvm36-3.6.2_2...
[93amd64-test-job-01] |   |   `-- Installing libedit-3.1.20150325_1...
[93amd64-test-job-01] |   |   `-- Extracting libedit-3.1.20150325_1:
.......... done
[93amd64-test-job-01] |   |   `-- Installing python27-2.7.11_1...
[93amd64-test-job-01] |   |   | `-- Installing libffi-3.2.1...
[93amd64-test-job-01] |   |   | `-- Extracting libffi-3.2.1: .......... done
[93amd64-test-job-01] |   |   `-- Extracting python27-2.7.11_1: ..........
done
[93amd64-test-job-01] |   |   `-- Installing libexecinfo-1.1_3...
[93amd64-test-job-01] |   |   `-- Extracting libexecinfo-1.1_3: ..... done
[93amd64-test-job-01] |   |   `-- Installing perl5-5.20.3_8...
[93amd64-test-job-01] |   |   `-- Extracting perl5-5.20.3_8: .......... done
[93amd64-test-job-01] |   | `-- Extracting llvm36-3.6.2_2: .......... done
[93amd64-test-job-01] |   `-- Extracting libEGL-11.0.8: .......... done
[93amd64-test-job-01] `-- Extracting libepoxy-1.3.1: .......... done
[93amd64-test-job-01] `-- Installing libXfont-1.5.1,2...
[93amd64-test-job-01] |   `-- Installing fontsproto-2.1.3,1...
[93amd64-test-job-01] |   `-- Extracting fontsproto-2.1.3,1: ........ done
[93amd64-test-job-01] |   `-- Installing freetype2-2.6.2...
[93amd64-test-job-01] |   `-- Extracting freetype2-2.6.2: .......... done
[93amd64-test-job-01] |   `-- Installing libfontenc-1.1.3...
[93amd64-test-job-01] |   `-- Extracting libfontenc-1.1.3: ...... done
[93amd64-test-job-01] `-- Extracting libXfont-1.5.1,2: .......... done
[93amd64-test-job-01] `-- Installing libXxf86misc-1.0.3_3...
[93amd64-test-job-01] |   `-- Installing xf86miscproto-0.9.3...
[93amd64-test-job-01] |   `-- Extracting xf86miscproto-0.9.3: ... done
[93amd64-test-job-01] `-- Extracting libXxf86misc-1.0.3_3: .......... done
[93amd64-test-job-01] `-- Installing libXinerama-1.1.3_3,1...
[93amd64-test-job-01] |   `-- Installing xineramaproto-1.2.1...
[93amd64-test-job-01] |   `-- Extracting xineramaproto-1.2.1: .. done
[93amd64-test-job-01] `-- Extracting libXinerama-1.1.3_3,1: .......... done
[93amd64-test-job-01] `-- Installing pixman-0.32.8...
[93amd64-test-job-01] `-- Extracting pixman-0.32.8: ....... done
[93amd64-test-job-01] `-- Installing libXmu-1.1.2_3,1...
[93amd64-test-job-01] |   `-- Installing libXt-1.1.5,1...
[93amd64-test-job-01] |   | `-- Installing libSM-1.2.2_3,1...
[93amd64-test-job-01] |   |   `-- Installing libICE-1.0.9_1,1...
[93amd64-test-job-01] |   |   `-- Extracting libICE-1.0.9_1,1: ..........
done
[93amd64-test-job-01] |   | `-- Extracting libSM-1.2.2_3,1: ........ done
[93amd64-test-job-01] |   `-- Extracting libXt-1.1.5,1: .......... done
[93amd64-test-job-01] `-- Extracting libXmu-1.1.2_3,1: .......... done
[93amd64-test-job-01] `-- Installing dri-11.0.8,2...
[93amd64-test-job-01] `-- Extracting dri-11.0.8,2: .......... done
[93amd64-test-job-01] `-- Installing xkbcomp-1.3.1...
[93amd64-test-job-01] |   `-- Installing libxkbfile-1.0.9...
[93amd64-test-job-01] |   `-- Extracting libxkbfile-1.0.9: .......... done
[93amd64-test-job-01] `-- Extracting xkbcomp-1.3.1: ... done
[93amd64-test-job-01] `-- Installing libXaw-1.0.13,2...
[93amd64-test-job-01] |   `-- Installing libXpm-3.5.11_4...
[93amd64-test-job-01] |   `-- Extracting libXpm-3.5.11_4: .......... done
[93amd64-test-job-01] |   `-- Installing printproto-1.0.5...
[93amd64-test-job-01] |   `-- Extracting printproto-1.0.5: .... done
[93amd64-test-job-01] |   `-- Installing libXp-1.0.3,1...
[93amd64-test-job-01] |   `-- Extracting libXp-1.0.3,1: .......... done
[93amd64-test-job-01] `-- Extracting libXaw-1.0.13,2: .......... done
[93amd64-test-job-01] `-- Installing xkeyboard-config-2.16...
[93amd64-test-job-01] `-- Extracting xkeyboard-config-2.16: .......... done
[93amd64-test-job-01] `-- Installing libxkbui-1.0.2_4...
[93amd64-test-job-01] `-- Extracting libxkbui-1.0.2_4: ...... done
[93amd64-test-job-01] Extracting xorg-server-1.17.4,1: .......... done
Message from python27-2.7.11_1:
===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

===========================================================================
Message from perl5-5.20.3_8:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/xorg-server.pc - found
===>   Returning to build of nvidia-driver-361.16
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
====>> Recording filesystem state for prebuild... done
=======================<phase: configure      >============================
===>   nvidia-driver-361.16 depends on package: libGL>0 - found
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/glproto.pc - found
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   nvidia-driver-361.16 depends on file:
/usr/local/libdata/pkgconfig/xorg-server.pc - found
===>  Configuring for nvidia-driver-361.16
===========================================================================
=======================<phase: build          >============================
===>  Building for nvidia-driver-361.16
===> src (all)
===> src/nvidia (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/dev/acpica/acpi_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
:> opt_acpi.h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
:> opt_global.h
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_acpi.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_ctl.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_dev.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_i2c.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_linux.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_os.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_os_pci.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_os_registry.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_pci.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_subr.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_sysctl.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvidia_modeset_interface.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c nvlink_freebsd.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c ebridge_freebsd.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\"
-D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I. -I../common/inc -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c ibmnpu_freebsd.c
ld  -d -warn-common -r -d -o nvidia.ko nv-kernel.o nvidia_acpi.o
nvidia_ctl.o nvidia_dev.o nvidia_i2c.o nvidia_linux.o nvidia_os.o
nvidia_os_pci.o nvidia_os_registry.o nvidia_pci.o nvidia_subr.o
nvidia_sysctl.o nvidia_modeset_interface.o nvlink_freebsd.o
ebridge_freebsd.o ibmnpu_freebsd.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk nvidia.ko  export_syms | xargs -J%
objcopy % nvidia.ko
objcopy --strip-debug nvidia.ko
===> src/nvidia-modeset (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"361.16\" -Werror
-D_KERNEL -DKLD_MODULE -nostdinc  -Imachine -I/usr/src/sys/sys
-I../common/inc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 -fno-common
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
 -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-std=iso9899:1999  -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
 -Wmissing-include-dirs -fdiagnostics-show-option   -c
nvidia-modeset-freebsd.c
nvidia-modeset-freebsd.c:563:29: error: sys/caprights.h: No such file or
directory
cc1: warnings being treated as errors
nvidia-modeset-freebsd.c: In function 'nvkms_get_per_open_data':
nvidia-modeset-freebsd.c:593: warning: implicit declaration of function
'cap_rights_init'
nvidia-modeset-freebsd.c:593: warning: nested extern declaration of
'cap_rights_init' [-Wnested-externs]
*** [nvidia-modeset-freebsd.o] Error code 1

Stop in
/wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-361.16/src/nvidia-modeset.
*** [all] Error code 1

Stop in
/wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-361.16/src.
*** [all] Error code 1

Stop in
/wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-361.16.
*** [do-build] Error code 1

Stop in /usr/ports/x11/nvidia-driver.
====>> Cleaning up wrkdir
===>  Cleaning for nvidia-driver-361.16
build of x11/nvidia-driver ended at Sun Jan 10 19:49:26 EST 2016
build time: 00:01:05
!!! build failure encountered !!!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om4wCk5Wibftu4pQpAgs_L3Ek=xus3dD_MvXNSo9=WseZQ>