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, May 11, 10:52 AM
Unknown Object (File)
Thu, May 9, 9:53 PM
Unknown Object (File)
Thu, May 9, 3:56 AM
Unknown Object (File)
Thu, May 9, 3:55 AM
Unknown Object (File)
Wed, May 8, 5:34 PM
Unknown Object (File)
Fri, Apr 26, 2:42 AM
Unknown Object (File)
Feb 1 2024, 10:52 PM
Unknown Object (File)
Dec 27 2023, 7:55 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