Bug 268983

Summary: x11/nvidia-driver-390: not WITH_PIE safe
Product: Ports & Packages Reporter: Alexander Leidinger <netchild>
Component: Individual Port(s)Assignee: Kevin Bowling <kbowling>
Status: Closed FIXED    
Severity: Affects Some People CC: grahamperrin, kbowling
Priority: --- Flags: bugzilla: maintainer-feedback? (danfe)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269129

Description Alexander Leidinger freebsd_committer freebsd_triage 2023-01-16 11:31:10 UTC
Hi,

building the port with WITH_PIE makes it fail (error message is "-r and -pie may not be used together"). Until this is fixed, the port should get PIE_UNSAFE=yes in the Makefile (this fixes the build for me).

I wouldn't be surprised if the other nvidia-driver ports behave similar, this is just the one port I tested (as I have a supported card).

Bye,
Alexander.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-02 09:16:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=105fcdb438740d018e368853a89865b4ef130c80

commit 105fcdb438740d018e368853a89865b4ef130c80
Author:     Bartek Jasicki <thindil@laeran.pl.eu.org>
AuthorDate: 2023-02-28 19:26:55 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-03-02 09:15:18 +0000

    x11/nvidia-driver, x11/linux-nvidia-libs: update to 515.86.01

    PR:             269129, 268983, 263475
    Approved by:    maintainer timeout

 x11/linux-nvidia-libs/Makefile | 2 +-
 x11/linux-nvidia-libs/distinfo | 6 +++---
 x11/nvidia-driver/Makefile     | 8 +++++++-
 x11/nvidia-driver/distinfo     | 6 +++---
 4 files changed, 14 insertions(+), 8 deletions(-)