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)
Sat, Oct 3, 8:15 PM
Unknown Object (File)
Tue, Sep 29, 10:30 PM
Unknown Object (File)
Sun, Sep 27, 11:33 PM
Unknown Object (File)
Sat, Sep 19, 12:56 AM
Unknown Object (File)
Sep 11 2026, 1:14 AM
Unknown Object (File)
Sep 10 2026, 9:52 PM
Unknown Object (File)
Sep 9 2026, 4:21 PM
Unknown Object (File)
Aug 29 2026, 11:20 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
Lint Not Applicable
Unit
Tests Not Applicable