Bug 268983 - x11/nvidia-driver-390: not WITH_PIE safe
Summary: x11/nvidia-driver-390: not WITH_PIE safe
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kevin Bowling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-16 11:31 UTC by Alexander Leidinger
Modified: 2023-03-02 09:20 UTC (History)
2 users (show)

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 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(-)