Bug 252689 - editors/libreoffice: requires ELF feature tag to indicate W+X mappings required
Summary: editors/libreoffice: requires ELF feature tag to indicate W+X mappings required
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: FreeBSD Office Team (Nobody)
URL:
Keywords:
Depends on:
Blocks: 252629
  Show dependency treegraph
 
Reported: 2021-01-14 21:53 UTC by Ed Maste
Modified: 2021-01-14 21:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2021-01-14 21:53:47 UTC
Attempting to run libreoffice with W^X enabled results in this failure to start:

# sysctl kern.elf64.allow_wx=0
% libreoffice
LibreOffice 7.0 - Fatal Error: The application cannot be started. 
Extension Manager: exception in synchronize

elfctl(1) can be used to tag binaries that require W+X mappings; discussion about a canonical method of applying these tags is being discussed in PR252629