From owner-freebsd-current@freebsd.org Wed Aug 22 13:48:44 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3ED7108985E for ; Wed, 22 Aug 2018 13:48:44 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F15E74FA8; Wed, 22 Aug 2018 13:48:43 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DD4672D6; Wed, 22 Aug 2018 09:48:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 22 Aug 2018 09:48:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=2FoGBJVhAApc53ecZf1Vxwn4O9WA6 lP3zv7MO+/Dgl4=; b=UjpsMkbc9vzXPc/PiE791Ov7MnK46gLvlHj1aT94DlZ/q 5SQVVhnoBsaM3M53CwF+JOFR8fXabj2FboRg5+LQE1oFux9xneNMDcW0dk5sb8vd Ir4mO6cYBli5fEcIHrNa/X2mMn26ueaG8jACssmHELr+gCKTIPYkvgiwTGYM3JnX Y07BcN7eD2yVaOxWzgJor5z77yeczoze5Tfk6+nuXqg+z8g0xtAYwa2Xg8S1sPhV wG5lx8ayvvT/y3IgEg05MwkHgPWlnbTM1Xpq00dOuHMeoT4aVFFofTZ13V6vlg8z SLVbKf5qeHgDq07wDgKIdhcJm3oG1zzLKLqTfoV0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=2FoGBJ VhAApc53ecZf1Vxwn4O9WA6lP3zv7MO+/Dgl4=; b=fyataDV31N+euObxPeU2/O x7bcj21Xx3/MNwB2Rk/LXkMZfucCMW3TfnlHo7iKV7+nl8qFyeHaEkoxKSVPw6nx 4NvnTUff2fdw0Fk6ITkl1BDyc/41C+thLwGTfMBjOCpmyokvzacoFCifRKfnc8Kg wFR3EE+ou8uXkHoLI192EpsDoN+Goes4el4sggHT/JknO5pCK1YlBFqpT2Fspdjt FdB4XGhFGD8v/LyzbOon0o5cugV/gxrDDLsHCOVrmtNjNWZtYPLfal/eGoo1nn45 QRgcp3vx/bZU3CZFkxiupZp0o2QoNh+x+0uTN56jZ/Stn6jIMXZwdd0QFKgYKtaw == X-ME-Proxy: X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 7DE96E48A7; Wed, 22 Aug 2018 09:48:34 -0400 (EDT) Subject: Re: nvidia-driver build error (last ports, FreeBSD-HEAD) To: Manfred Antar , Alexey Dokuchaev Cc: "Alex V. Petrov" , freebsd-current , alc@freebsd.org References: <20180822022343.GA60855@FreeBSD.org> <4925AAFC-0D43-4DC3-9E41-61F44359255A@gmail.com> From: tech-lists Organization: none Message-ID: <60982d01-7d08-25b7-97c5-009a6be13b88@zyxst.net> Date: Wed, 22 Aug 2018 14:48:33 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <4925AAFC-0D43-4DC3-9E41-61F44359255A@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 13:48:45 -0000 On 22/08/2018 05:29, Manfred Antar wrote: > >> On Aug 21, 2018, at 7:23 PM, Alexey Dokuchaev wrote: >> >> On Tue, Aug 21, 2018 at 11:22:56PM +0700, Alex V. Petrov wrote: >>> -------- Перенаправленное сообщение -------- >>> Тема: nvidia-driver build error (last ports, FreeBSD-HEAD) >>> Дата: Tue, 21 Aug 2018 16:41:42 +0700 >>> От: Alex V. Petrov >>> Кому: FreeBSD Ports >> Should be fixed as of r477761. >> >> ./danfe It's not fixed, seems to error elsewhere now: context: 12.0-ALPHA1 #0 r337886 / ports r477782 / empty /etc/make.conf This is a bare metal installation. root@desktop:/usr/ports/x11/nvidia-driver# make distclean && make clean && make MAKE_JOBS_UNSAFE=yes [...] cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"390.77\" -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=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.nvidia_subr.o -MTnvidia_subr.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -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 -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_subr.c -o nvidia_subr.o nvidia_subr.c:1131:41: error: too many arguments to function call, expected 7, have 8 sc->dma_mask, PAGE_SIZE, 0, attr); ^~~~ /usr/src/sys/vm/vm_extern.h:61:1: note: 'kmem_alloc_contig' declared here vm_offset_t kmem_alloc_contig(vm_size_t size, int flags, ^ nvidia_subr.c:1269:45: error: too many arguments to function call, expected 7, have 8 sc->dma_mask, PAGE_SIZE, 0, attr); ^~~~ /usr/src/sys/vm/vm_extern.h:61:1: note: 'kmem_alloc_contig' declared here vm_offset_t kmem_alloc_contig(vm_size_t size, int flags, ^ 2 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src/nvidia *** Error code 1 Stop. make[3]: stopped in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77/src *** Error code 1 Stop. make[2]: stopped in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-390.77 *** Error code 1 Stop. make[1]: stopped in /usr/ports/x11/nvidia-driver *** Error code 1 Stop. make: stopped in /usr/ports/x11/nvidia-driver root@desktop:/usr/ports/x11/nvidia-driver# -- J.