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, Oct 12, 7:52 AM
Unknown Object (File)
Tue, Sep 30, 6:15 PM
Unknown Object (File)
Sep 13 2025, 4:35 AM
Unknown Object (File)
Sep 3 2025, 8:13 AM
Unknown Object (File)
Sep 3 2025, 6:38 AM
Unknown Object (File)
Aug 31 2025, 1:28 PM
Unknown Object (File)
Aug 28 2025, 4:19 AM
Unknown Object (File)
Aug 20 2025, 5:20 PM
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
Lint Not Applicable
Unit
Tests Not Applicable