Re: x11/nvidia-driver no longer works under -current (r338323)

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sun, 26 Aug 2018 21:02:20 +0900
Hi, John.
It's broken again by r338318. (Previously broken by r338107.)

If your previous src rev is older, you could be bitten by these.
If so, update ports tree at latest rev and try the latest single patch
below [1]. The patch itself is [2], applicable on top of /usr/ports.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230780
[2] https://bz-attachments.freebsd.org/attachment.cgi?id=196559


On Sun, 26 Aug 2018 12:07:05 +0100
John <tech-lists_at_zyxst.net> wrote:

> Hello lists,
> 
> x11/nvidia-driver is broken again. 
> 
> Context: FreeBSD-12-ALPHA3 r338323 /  ports 478102 / amd64.
> 
> Tried to build with make distclean clean rmconfig && make MAKE_JOBS_UNSAFE=yes
> 
> It fails here:
> 
> =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_pci.o -MTnvidia_pci.o -mcmodel=kernel -mno-r
> ed-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy
> pes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unkn
> own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-nega
> tive-value -Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c nvidia_pci.c -o nvidia_pci.o
> 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-proto
> types -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-un
> known-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-ne
> gative-value -Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c nvidia_subr.c -o nvidia_subr.o
> *** 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.
> 
> Stop.
> make: stopped in /usr/ports/x11/nvidia-driver
> 
> I can post more output if you need it.
> 
> thanks,
> -- 
>  J.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 


-- 
Tomoaki AOKI    <junchoon_at_dec.sakura.ne.jp>
Received on Sun Aug 26 2018 - 10:02:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC