Bug 268986 - emulators/wine-proton: not WITH_PIE safe
Summary: emulators/wine-proton: 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: Alexander Leidinger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-16 12:38 UTC by Alexander Leidinger
Modified: 2023-01-25 12:15 UTC (History)
1 user (show)

See Also:
iwtcex: maintainer-feedback+


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 12:38:22 UTC
Hi,

building the port with WITH_PIE makes it fail (strange error messages: undefined reference to 'main', local symbol 'environ' is referenced by DSO, bad value). Until this is fixed, the port should get PIE_UNSAFE=yes in the Makefile (this fixes the build for me).

Bye,
Alexander.
Comment 1 Alex S 2023-01-22 02:10:23 UTC
I don't disagree but what exactly do you expect me to do?
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2023-01-23 21:09:08 UTC
(In reply to Alex S from comment #1)

The positive maintainer feedback is enough, I will commit the change as time permits.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-01-25 12:03:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=383d05e4551d5967400d6793bd2199d93e349a22

commit 383d05e4551d5967400d6793bd2199d93e349a22
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2023-01-25 12:00:49 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2023-01-25 12:02:32 +0000

    emulators/wine-proton: mark as PIE_UNSAFE

    PR:             268986
    Approved by:    maintainer

 emulators/wine-proton/Makefile | 1 +
 1 file changed, 1 insertion(+)