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)
Mon, Jul 6, 9:27 AM
Unknown Object (File)
Sat, Jul 4, 1:32 PM
Unknown Object (File)
Thu, Jun 25, 1:27 PM
Unknown Object (File)
Thu, Jun 25, 1:18 PM
Unknown Object (File)
Tue, Jun 23, 9:58 PM
Unknown Object (File)
Mon, Jun 22, 6:34 PM
Unknown Object (File)
Sun, Jun 21, 10:04 PM
Unknown Object (File)
Jun 18 2026, 1:45 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