From owner-freebsd-current@FreeBSD.ORG Sat Sep 20 10:29:59 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8FE71065676 for ; Sat, 20 Sep 2008 10:29:59 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id C907D8FC1F for ; Sat, 20 Sep 2008 10:29:58 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so773236fkk.11 for ; Sat, 20 Sep 2008 03:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=iZKR0T9XhX//q7qvxFVgoL2Id32D3yM3sLmc61oo6Ls=; b=jaeWcnx4RB5HrKYGZmsa0lnv0I5KxykLAVxcFw8QzS28/x1efIO69PtWgszwgHzZ+G 1Gb06Po8/XSc+KKv2aSIws11eAydD7YPxsZjQXhbkudHtYcUNbTK+2EWktj9Ek0eWbrG SixKwTEkH6srxeEuu+b6PhjhaNVBcP2q/pBIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=i+H8qRNbKwOTTjF4A2XoB6hYU/LGhNz7HgXEaMCrUwvhsA3zrBOxB3n+HQqKfkJQSa ApOyCgQxf2nt0/YccGcm0xyjLMvrJJdQszgU6KlGgxoI3y4mhtw65XQg435+Qr8wjxgZ SUh1xBqkzjIrmpLjlVu0cK8vxhwKWJOnXe148= Received: by 10.103.218.19 with SMTP id v19mr901450muq.110.1221906596433; Sat, 20 Sep 2008 03:29:56 -0700 (PDT) Received: by 10.103.239.14 with HTTP; Sat, 20 Sep 2008 03:29:56 -0700 (PDT) Message-ID: <3bbf2fe10809200329g273400d5g20d61feb8dd6241d@mail.gmail.com> Date: Sat, 20 Sep 2008 12:29:56 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Diego Depaoli" In-Reply-To: <83e5fb980809200158h4650ad2ci55883ef93e69d1d8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <83e5fb980809200158h4650ad2ci55883ef93e69d1d8@mail.gmail.com> X-Google-Sender-Auth: ff3f639b0af834ef Cc: freebsd-current Subject: Re: Today build breaks nvidia driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 20 Sep 2008 10:30:00 -0000 2008/9/20, Diego Depaoli : > Hi all, > I've some trouble building nvidia driver after today world/kernel. > Here's the log: > ===> Configuring for nvidia-driver-173.14.12 > ===> Building for nvidia-driver-173.14.12 > ===> src (all) > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -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 > cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.12\" > -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -fstack-protector -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c nvidia_ctl.c > cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.12\" > -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -fstack-protector -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c nvidia_dev.c > cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.12\" > -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -fstack-protector -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c nvidia_linux.c > cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.12\" > -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector -fstack-protector -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c nvidia_os.c > cc1: warnings being treated as errors > nvidia_os.c: In function 'os_is_administrator': > nvidia_os.c:168: warning: implicit declaration of function 'suser' > nvidia_os.c:168: warning: nested extern declaration of 'suser' > *** Error code 1 > > Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12/src. > *** Error code 1 > > Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12. > *** Error code 1 > > Stop in /usr/ports/x11/nvidia-driver. > *** Error code 1 > > Stop in /usr/ports/x11/nvidia-driver. > > Thanks in advance This port needs to be fixed with switching to priv_check() privileges checking model. The __FreeBSD_version can be used in order to maintain old code for older version of FreeBSD, if the maintainer thinks it is necessary. The maintainer can work with me or Robert Watson in order to do that. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein