Page MenuHomeFreeBSD

textproc/jade: remove non-functional deoptimization
ClosedPublic

Authored by brooks on Dec 15 2023, 9:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 16, 4:55 PM
Unknown Object (File)
Tue, Nov 11, 1:03 AM
Unknown Object (File)
Sun, Oct 26, 7:37 AM
Unknown Object (File)
Sat, Oct 25, 2:11 AM
Unknown Object (File)
Fri, Oct 24, 12:54 PM
Unknown Object (File)
Fri, Oct 24, 12:54 PM
Unknown Object (File)
Fri, Oct 24, 3:24 AM
Unknown Object (File)
Oct 22 2025, 3:51 AM
Subscribers
None

Details

Summary

Long ago, this code was added to disable -O2 optimizations and
presumably remove -mcpu flags to avoid miscompilation. Somewhere along
the line it stopped working and code is being compiled with -O2 by
default and proably with -mcpu flags if set. The only place this seems
to be used is when checking if the compiler works early in configure.

Discovered on CheriBSD where removing -m* removed created an invalid
command line with two -Xclang flags in a row.

Sponsored by: DARPA

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 54968
Build 51857: arc lint + arc unit