Bug 267932 - x11/nvidia-driver-340: debug symbols not installed WITH_DEBUG=yes
Summary: x11/nvidia-driver-340: debug symbols not installed WITH_DEBUG=yes
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-22 19:43 UTC by Marcin Cieślak
Modified: 2022-11-22 19:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Cieślak 2022-11-22 19:43:25 UTC
While I was researching if my kernel panic is the same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251015 or maybe https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258691 I noticed that submitters were asked to rebuild the driver with debug symbols and retry.

I have built the driver for FreeBSD-CURRENT 14 using WITH_DEBUG=yes and it seems that debug symbols are not installed anyway:

> pkg list nvidia-driver-340 | grep ko
/boot/modules/nvidia.ko

The symbols are being built, but probably not staged:

# find ${WRKDIRPREFIX}/usr/ports/x11/nvidia-driver-340 -name '*.ko*'
/big/ports/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/nvidia.ko.debug
/big/ports/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/nvidia.ko.full
/big/ports/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.108/src/nvidia.ko
/big/ports/usr/ports/x11/nvidia-driver-340/work/stage/boot/modules/nvidia.ko