Page MenuHomeFreeBSD

Disable fformat-extensions on RISC-V
ClosedPublic

Authored by br on Apr 10 2017, 4:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 21, 1:58 AM
Unknown Object (File)
Fri, Nov 21, 1:56 AM
Unknown Object (File)
Fri, Nov 21, 1:54 AM
Unknown Object (File)
Fri, Nov 21, 1:52 AM
Unknown Object (File)
Fri, Nov 21, 1:52 AM
Unknown Object (File)
Wed, Nov 19, 10:51 PM
Unknown Object (File)
Mon, Nov 17, 1:28 AM
Unknown Object (File)
Oct 27 2025, 12:49 PM
Subscribers
None

Details

Summary

riscv-gcc 6.1 does not support that option

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br added a reviewer: lwhsu.
sys/conf/kern.opts.mk
78 โ†—(On Diff #27313)

Does this work?

BROKEN_OPTIONS forces WITH_* options to off

sys/conf/kern.opts.mk
78 โ†—(On Diff #27313)

Yes it works. I also surprised.

Oh I think this is actually affecting the MK_FORMAT_EXTENSIONS in sys/conf/kern.opts.mk and sys/conf/kern.mk, not the FORMAT_EXTENSIONS in bsd.sys.mk. Other kernel-related BROKEN_OPTIONS are defined in sys/conf/kern.opts.mk so BROKEN_OPTIONS+=FORMAT_EXTENSIONS should be there too?

This revision was automatically updated to reflect the committed changes.