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)
Wed, Nov 6, 12:00 AM
Unknown Object (File)
Sep 19 2024, 10:05 PM
Unknown Object (File)
Jul 29 2024, 8:17 AM
Unknown Object (File)
Jul 8 2024, 1:13 AM
Unknown Object (File)
Jul 6 2024, 8:44 AM
Unknown Object (File)
Jul 4 2024, 7:05 AM
Unknown Object (File)
Jun 7 2024, 1:14 AM
Unknown Object (File)
May 21 2024, 8:28 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