nvidia-kernel-source-525 525.147.05-0ubuntu0.22.04.1: nvidia kernel module failed to build [cc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’]

Bug #2060435 reported by dariush roostaei
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-525 (Ubuntu)
New
Undecided
Unassigned

Bug Description

when start ubuntu i see this error report

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nvidia-kernel-source-525 (not installed)
ProcVersionSignature: Ubuntu 6.5.0-27.28~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
DKMSKernelVersion: 6.5.0-26-generic
Date: Mon Apr 1 10:53:03 2024
DuplicateSignature: dkms:nvidia-kernel-source-525:525.147.05-0ubuntu0.22.04.1:cc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
InstallationDate: Installed on 2024-03-31 (7 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageVersion: 525.147.05-0ubuntu0.22.04.1
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt 2.4.12
SourcePackage: nvidia-graphics-drivers-525
Title: nvidia-kernel-source-525 525.147.05-0ubuntu0.22.04.1: nvidia kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dariush roostaei (dariush+96) wrote :
affects: ubuntu → nvidia-graphics-drivers-525 (Ubuntu)
summary: nvidia-kernel-source-525 525.147.05-0ubuntu0.22.04.1: nvidia kernel
- module failed to build
+ module failed to build [cc: error: unrecognized command-line option
+ ‘-ftrivial-auto-var-init=zero’]
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.