Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] nvidia340 fails to build on linux4.19-4.19.59_1
@ 2019-07-15  0:31 voidlinux-github
  2019-07-15  8:13 ` voidlinux-github
  2019-07-15  8:13 ` [ISSUE] [CLOSED] " voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-07-15  0:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

New issue by patoski on void-packages repository

https://github.com/void-linux/void-packages/issues/13128
Description: ### System

* xuname:  
Void 4.19.59_1 x86_64 GenuineIntel
* package:  
nvidia340-340.107_3

### Expected behavior
When updating system with xbps-install -Syu the nvidia DKMS should build.
 
### Actual behavior
While trying to build the nvidia module comes back with "... FAILED!" System will not reboot into X Windows unless using an old kernel.
### Steps to reproduce the behavior
Try to build nvidia340 module with linux4.19-4.19.59_1 and linux4.19-headers-4.19.59_1

### Notes to fix
Log in as root an run: `export IGNORE_CC_MISMATCH=1`
then run: `xbps-install -Sf linux4.19-*`
The nvidia dkms kernel module will compile successfully.

When trying to build the nvidia module manually in /var/lib/nvidia `make` complains that the current compiler version is different than that used to build the kernel or something like that. The error message advises to set IGNORE_CC_MISMATCH to 1

This issue has been happening for me for a few months or so.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nvidia340 fails to build on linux4.19-4.19.59_1
  2019-07-15  0:31 [ISSUE] nvidia340 fails to build on linux4.19-4.19.59_1 voidlinux-github
@ 2019-07-15  8:13 ` voidlinux-github
  2019-07-15  8:13 ` [ISSUE] [CLOSED] " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-07-15  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/issues/13128#issuecomment-511310593
Comment:
This only happens if the kernel is built with another gcc version than is currently installed. There was an issue about it a year ago or so and it was determined that the check put in place by upstream won't be changed. You can either wait after a gcc update until the kernel is rebuilt with the new version (usually 2-3 days, kernel updates happen rather often) or manually override the check.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] nvidia340 fails to build on linux4.19-4.19.59_1
  2019-07-15  0:31 [ISSUE] nvidia340 fails to build on linux4.19-4.19.59_1 voidlinux-github
  2019-07-15  8:13 ` voidlinux-github
@ 2019-07-15  8:13 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-07-15  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

Closed issue by patoski on void-packages repository

https://github.com/void-linux/void-packages/issues/13128
Description: ### System

* xuname:  
Void 4.19.59_1 x86_64 GenuineIntel
* package:  
nvidia340-340.107_3

### Expected behavior
When updating system with xbps-install -Syu the nvidia DKMS should build.
 
### Actual behavior
While trying to build the nvidia module comes back with "... FAILED!" System will not reboot into X Windows unless using an old kernel.
### Steps to reproduce the behavior
Try to build nvidia340 module with linux4.19-4.19.59_1 and linux4.19-headers-4.19.59_1

### Notes to fix
Log in as root an run: `export IGNORE_CC_MISMATCH=1`
then run: `xbps-install -Sf linux4.19-*`
The nvidia dkms kernel module will compile successfully.

When trying to build the nvidia module manually in /var/lib/nvidia `make` complains that the current compiler version is different than that used to build the kernel or something like that. The error message advises to set IGNORE_CC_MISMATCH to 1

This issue has been happening for me for a few months or so.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-15  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15  0:31 [ISSUE] nvidia340 fails to build on linux4.19-4.19.59_1 voidlinux-github
2019-07-15  8:13 ` voidlinux-github
2019-07-15  8:13 ` [ISSUE] [CLOSED] " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).