Bug 252689

Summary: editors/libreoffice: requires ELF feature tag to indicate W+X mappings required
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: New ---    
Severity: Affects Only Me CC: Trond.Endrestol
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 252629    

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
Comment 1 Trond.Endrestol 2021-04-22 11:26:58 UTC
(In reply to Ed Maste from comment #0)
Sometimes the error message is even more ambiguous:

Application Error

Observed on recent 13.0-STABLE and 14.0-CURRENT.